fix syntax error in helpers/parse
This commit is contained in:
parent
f1e20cf6ff
commit
eadf8ef799
@ -21,7 +21,7 @@ export default function (code, opts = {}) {
|
||||
ranges: true
|
||||
};
|
||||
|
||||
parseOpts.onComment = return function (block, text, start, end, startLoc, endLoc) {
|
||||
parseOpts.onComment = function (block, text, start, end, startLoc, endLoc) {
|
||||
var comment = {
|
||||
type: block ? "Block" : "Line",
|
||||
value: text,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user