Comparing version 1.3.0 to 1.4.0
@@ -7,7 +7,2 @@ if (typeof module === "object" && typeof module.exports === "object") module.exports = Lexer; | ||
Lexer.prototype.setInput = function (input) { | ||
this.input = input; | ||
return this; | ||
}; | ||
function Lexer(defunct) { | ||
@@ -41,2 +36,8 @@ if (typeof defunct !== "function") defunct = Lexer.defunct; | ||
this.setInput = function (input) { | ||
remove = 0; | ||
this.input = input; | ||
return this; | ||
}; | ||
this.lex = function () { | ||
@@ -43,0 +44,0 @@ this.reject = true; |
{ | ||
"name": "lex", | ||
"description": "An elegant armor-plated JavaScript lexer modelled after flex. Easily extensible to tailor to your need for perfection.", | ||
"version": "1.3.0", | ||
"version": "1.4.0", | ||
"keywords": ["lexer"], | ||
@@ -6,0 +6,0 @@ "author": "Aadit M Shah (http://aaditmshah.github.com/) <aaditmshah@myopera.com>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8374
100