fix reference to undefined variable

pull/1/head
ansuz 8 years ago
parent 67bf41627d
commit b7d9998b9b

@ -253,6 +253,7 @@ define([
var clike = /^\s*(\/\*|\/\/)(.*)?(\*\/)*$/;
if (clike.test(line)) {
line.replace(clike, function (a, one, two) {
if (!two) { return; }
text = two.replace(/\*\/\s*$/, '').trim();
});
return true;

Loading…
Cancel
Save