update csslint

This commit is contained in:
nightwing 2013-03-10 17:39:53 +04:00
commit 78e6200e51
2 changed files with 782 additions and 96 deletions

File diff suppressed because it is too large Load diff

View file

@ -105,9 +105,8 @@ void function(){
if (!data)
return
if (x.name == "parser.js") {
console.log(data)
data = data.replace("var parser = (function(){", "")
.replace(/\nreturn parser[\x00-\uffff]*$/, "\n\nmodule.exports = parser;\n\n")
.replace(/\nreturn (new Parser)[\s\S]*$/, "\n\nmodule.exports = $1;\n\n")
} else {
data = data.replace("(function() {", "")
.replace(/}\).call\(this\);\s*$/, "")