ether-code 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/ether.js +1 -1
- package/ether-parser.js +4 -0
- package/package.json +1 -1
package/cli/ether.js
CHANGED
package/ether-parser.js
CHANGED
|
@@ -278,6 +278,8 @@ class EtherParser {
|
|
|
278
278
|
const decl = this.parseCSSDeclaration()
|
|
279
279
|
if (decl) {
|
|
280
280
|
declarations.push(decl)
|
|
281
|
+
} else {
|
|
282
|
+
this.advance()
|
|
281
283
|
}
|
|
282
284
|
}
|
|
283
285
|
|
|
@@ -474,6 +476,8 @@ class EtherParser {
|
|
|
474
476
|
const decl = this.parseCSSDeclaration()
|
|
475
477
|
if (decl) {
|
|
476
478
|
declarations.push(decl)
|
|
479
|
+
} else {
|
|
480
|
+
this.advance()
|
|
477
481
|
}
|
|
478
482
|
}
|
|
479
483
|
|