@danielx/civet 0.5.10 → 0.5.12
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 +3 -0
- package/dist/browser.js +736 -435
- package/dist/main.js +736 -435
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -195,6 +195,9 @@ Things Added that CoffeeScript didn't
|
|
|
195
195
|
- Const assignment shorthand: `a := b` → `const a = b`, `{a, b} := c` → `const {a, b} = c`
|
|
196
196
|
- `@#id` → `this.#id` shorthand for private identifiers
|
|
197
197
|
- `import` shorthand: `x from ./x` → `import x from "./x"`
|
|
198
|
+
- Dynamic `import` shorthand: `import './x'` not at top level
|
|
199
|
+
(e.g. `await import './x'` or inside a function) →
|
|
200
|
+
`import('./x')`
|
|
198
201
|
- `export` shorthand: `export x, y` → `export {x, y}`
|
|
199
202
|
- Triple backtick Template Strings remove leading indentation for clarity
|
|
200
203
|
- Class constructor shorthand `@( ... )`
|