homunculus
Advanced tools
Comparing version 0.5.0 to 0.5.1
{ | ||
"name": "homunculus", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -64,2 +64,3 @@ var Rule = require('./Rule'); | ||
self.addMatch(new RegMatch(Token.SELECTOR, /^#\w[\w\-]*/i)); | ||
self.addMatch(new CompleteEqual(Token.SELECTOR, '&')); | ||
self.addMatch(new RegMatch(Token.VARS, /^var-[\w\-]+/i)); | ||
@@ -75,3 +76,3 @@ self.addMatch(new CompleteEqual(Token.KEYWORD, 'min--moz-device-pixel-ratio')); | ||
}); | ||
self.addMatch(new CharacterSet(Token.SIGN, '&{},:();-{}>+/[]=~*_')); | ||
self.addMatch(new CharacterSet(Token.SIGN, '{},:();-{}>+/[]=~*_')); | ||
@@ -78,0 +79,0 @@ var head = new RegMatch(Token.HEAD, /^@[\w-]+/); |
@@ -64,2 +64,3 @@ define(function(require, exports, module) {var Rule = require('./Rule'); | ||
self.addMatch(new RegMatch(Token.SELECTOR, /^#\w[\w\-]*/i)); | ||
self.addMatch(new CompleteEqual(Token.SELECTOR, '&')); | ||
self.addMatch(new RegMatch(Token.VARS, /^var-[\w\-]+/i)); | ||
@@ -75,3 +76,3 @@ self.addMatch(new CompleteEqual(Token.KEYWORD, 'min--moz-device-pixel-ratio')); | ||
}); | ||
self.addMatch(new CharacterSet(Token.SIGN, '&{},:();-{}>+/[]=~*_')); | ||
self.addMatch(new CharacterSet(Token.SIGN, '{},:();-{}>+/[]=~*_')); | ||
@@ -78,0 +79,0 @@ var head = new RegMatch(Token.HEAD, /^@[\w-]+/); |
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
504721
15121