12 lines
151 B
JavaScript
12 lines
151 B
JavaScript
|
"use strict";
|
||
|
|
||
|
function normalOpts (opts, syntax) {
|
||
|
if (!opts) {
|
||
|
opts = {};
|
||
|
}
|
||
|
opts.syntax = syntax;
|
||
|
return opts;
|
||
|
}
|
||
|
|
||
|
module.exports = normalOpts;
|