fix syntax error in helpers/parse

This commit is contained in:
Sebastian McKenzie 2015-05-31 09:20:16 +01:00
parent f1e20cf6ff
commit eadf8ef799

View File

@ -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,