Merge pull request #56 from xwiki-labs/soon

Soon
This commit is contained in:
ansuz 2016-11-07 12:11:34 +01:00 committed by GitHub
commit 65bc6f1a20

View File

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