homunculus
Advanced tools
Comparing version 0.7.1 to 0.7.2-1
{ | ||
"name": "homunculus", | ||
"version": "0.7.1", | ||
"version": "0.7.2-1", | ||
"description": "A lexer&parser by Javascript", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -633,3 +633,7 @@ var IParser = require('../Parser'); | ||
node.add(k); | ||
name = k.first().token().content().toLowerCase(); | ||
var first = k.first(); | ||
if(first.token().type() == Token.HACK) { | ||
first = first.next(); | ||
} | ||
name = first.token().content().toLowerCase(); | ||
node.add(this.match(':')); | ||
@@ -768,3 +772,3 @@ node.add(this.value(name, noC)); | ||
} | ||
else if(name == 'font') { | ||
else if(name == 'font' || name == 'border-image') { | ||
node.add(this.addexpr(undefined, null, true)); | ||
@@ -882,3 +886,3 @@ } | ||
} | ||
else if(name == 'font') { | ||
else if(name == 'font' || name == 'border-image') { | ||
node.add(this.addexpr(undefined, null, true)); | ||
@@ -885,0 +889,0 @@ } |
@@ -633,3 +633,7 @@ define(function(require, exports, module) {var IParser = require('../Parser'); | ||
node.add(k); | ||
name = k.first().token().content().toLowerCase(); | ||
var first = k.first(); | ||
if(first.token().type() == Token.HACK) { | ||
first = first.next(); | ||
} | ||
name = first.token().content().toLowerCase(); | ||
node.add(this.match(':')); | ||
@@ -768,3 +772,3 @@ node.add(this.value(name, noC)); | ||
} | ||
else if(name == 'font') { | ||
else if(name == 'font' || name == 'border-image') { | ||
node.add(this.addexpr(undefined, null, true)); | ||
@@ -882,3 +886,3 @@ } | ||
} | ||
else if(name == 'font') { | ||
else if(name == 'font' || name == 'border-image') { | ||
node.add(this.addexpr(undefined, null, true)); | ||
@@ -885,0 +889,0 @@ } |
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
16711
566223