fix reference to undefined variable

pull/1/head
ansuz 2016-11-07 12:10:00 +01:00
parent 67bf41627d
commit b7d9998b9b
1 changed files with 1 additions and 0 deletions

View File

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