Open evgenibir opened 3 years ago
@evgenibir This is really great. Shame it hasn't been merged into this main project.
Quick question, having issues using your forked project because ember-cli-emblem installs this older version in its own dependencies during npm install. How did you go about resolving this on your own project in the interim? thanks!
I did notice one compilation difference, but its minor. In the following example on 0.12.1 this would compile plain text, but in 0.13.4 it breaks and says that you cannot have the '[ ]' square brackets. This occurred only once in our code and was easily changed.
| some text [here]
Hey all! I noticed that #336 and 335 and fixed it. Please let me know your opinion.
like this live examples
also fixed
so that works now
Added angel bracket separator for
%comp>subcomp @value=foo
definitions converted to<comp.subcomp @value=foo>
(angel component definition) for issue 337 and 332will be parsed to
Support Template Literal 314
Added support for https://github.com/machty/emblem.js/issues/326 but removed workaround code with no dedenting close bracket in multi-line declarations because it leads to syntax glitches
now any non
dedent
bracket is invalid like thisclose bracket should be on the same line as open
Added support for https://github.com/machty/emblem.js/issues/339
Added test case for https://github.com/machty/emblem.js/issues/333 but actually that works
Added ability for defining inline shorthands in html-tags and glimmer components. also added ability to define block params in the start of blocked component instead of end but in the end definition also supported
Added destructuring to block params definition: inside glimmer components and mustache definitions
Added support for non-block components definitions with
%my-comp/ @value=foo
. Also glimmer component will be non-blocked if it's not contain nested nodes. resolved https://github.com/machty/emblem.js/issues/338Added syntax error suggester
So that It's not back compatible patch