ether-code 0.5.9 → 0.6.1
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 +5 -5
- package/package.json +1 -1
package/cli/ether.js
CHANGED
package/ether-parser.js
CHANGED
|
@@ -720,7 +720,7 @@ class EtherParser {
|
|
|
720
720
|
'decoupe': ['fond'],
|
|
721
721
|
'découpe': ['fond'],
|
|
722
722
|
'origine': ['transformation', 'perspective'],
|
|
723
|
-
'liste': ['style', 'ordonnee', 'description']
|
|
723
|
+
'liste': ['style', 'type', 'position', 'image', 'ordonnee', 'description']
|
|
724
724
|
}
|
|
725
725
|
|
|
726
726
|
let property = token.value
|
|
@@ -804,13 +804,13 @@ class EtherParser {
|
|
|
804
804
|
} else if (current.type === TokenType.MINUS) {
|
|
805
805
|
if (current.value === '--') {
|
|
806
806
|
valueParts.push('--')
|
|
807
|
-
} else if (lastType === TokenType.LPAREN
|
|
807
|
+
} else if (lastType === TokenType.LPAREN) {
|
|
808
808
|
valueParts.push(current.value)
|
|
809
|
-
} else if (needsSpace) {
|
|
810
|
-
valueParts.push(' ' + current.value)
|
|
811
809
|
} else {
|
|
812
|
-
valueParts.push(current.value)
|
|
810
|
+
valueParts.push(' ' + current.value)
|
|
813
811
|
}
|
|
812
|
+
} else if (current.type === TokenType.PLUS) {
|
|
813
|
+
valueParts.push(' +')
|
|
814
814
|
} else if (current.type === TokenType.COLON) {
|
|
815
815
|
valueParts.push(':')
|
|
816
816
|
} else if (current.type === TokenType.DOT) {
|