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 CHANGED
@@ -6,7 +6,7 @@ const http = require('http')
6
6
  const { EtherCompiler } = require('./compiler')
7
7
  const { Watcher } = require('./watcher')
8
8
 
9
- const VERSION = '0.5.9'
9
+ const VERSION = '0.6.1'
10
10
 
11
11
  const COLORS = {
12
12
  reset: '\x1b[0m',
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 || lastType === TokenType.MINUS) {
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ether-code",
3
- "version": "0.5.9",
3
+ "version": "0.6.1",
4
4
  "description": "Ether - Le langage intentionnel",
5
5
  "main": "cli/compiler.js",
6
6
  "bin": {