homunculus
Advanced tools
Comparing version 0.6.1 to 0.6.2
{ | ||
"name": "homunculus", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -266,2 +266,3 @@ var Lexer = require('./Lexer'); | ||
case Token.SIGN: | ||
this.number = false; | ||
switch(s) { | ||
@@ -291,2 +292,4 @@ case ':': | ||
this.var = false; | ||
//)之后可能跟单位,比如margin:(1+2)px | ||
this.number = true; | ||
break; | ||
@@ -394,3 +397,2 @@ case '[': | ||
} | ||
this.number = false; | ||
this.kw = false; | ||
@@ -397,0 +399,0 @@ this.page = false; |
@@ -266,2 +266,3 @@ define(function(require, exports, module) {var Lexer = require('./Lexer'); | ||
case Token.SIGN: | ||
this.number = false; | ||
switch(s) { | ||
@@ -291,2 +292,4 @@ case ':': | ||
this.var = false; | ||
//)之后可能跟单位,比如margin:(1+2)px | ||
this.number = true; | ||
break; | ||
@@ -394,3 +397,2 @@ case '[': | ||
} | ||
this.number = false; | ||
this.kw = false; | ||
@@ -397,0 +399,0 @@ this.page = false; |
Sorry, the diff of this file is not supported yet
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
544482
16119