fix reference to undefined variable

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

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

Loading…
Cancel
Save