@danielx/civet 0.4.2 → 0.4.3
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/README.md +4 -1
- package/dist/browser.js +198 -116
- package/dist/main.js +198 -116
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,11 +90,12 @@ Things Kept from CoffeeScript
|
|
|
90
90
|
- `?=` null-coalescing assignment shorthand
|
|
91
91
|
- `@` `this` shorthand `@` -> `this`, `@id` -> `this.id`
|
|
92
92
|
- Prototype shorthand `X::` -> `X.prototype`, `X::a` -> `X.prototype.a`
|
|
93
|
+
- Class static shorthand `@`
|
|
93
94
|
- Postfix `if/unless`
|
|
94
95
|
- Block Strings `"""` / `'''`
|
|
96
|
+
- `#{exp}` interpolation in `"""` strings
|
|
95
97
|
- JSX 😿
|
|
96
98
|
- TODO
|
|
97
|
-
- [ ] `"""` String interpolation (for compatibility with existing .coffee code)
|
|
98
99
|
- [ ] Chained comparisons
|
|
99
100
|
|
|
100
101
|
Things Removed from CoffeeScript
|
|
@@ -167,6 +168,8 @@ Things Added that CoffeeScript didn't
|
|
|
167
168
|
- `<` as `extends` shorthand
|
|
168
169
|
- `@#id` -> `this.#id` shorthand for private identifiers
|
|
169
170
|
- `import` shorthand `x from ./x` -> `import x from "./x"`
|
|
171
|
+
- [ ] TODO `\`\`\`` Block Template Strings
|
|
172
|
+
- Class constructor shorthand `@( ... )`
|
|
170
173
|
- ClassStaticBlock
|
|
171
174
|
- `get`/`set` method definitions
|
|
172
175
|
- Private identifiers `#id`
|