File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,20 @@ riot.define('my-tag', {
84
84
85
85
Check for example [ this demo] ( https://jsfiddle.net/gianlucaguarini/ed31q3qk/ ) to see how it's going to work
86
86
87
+ ## New specs
88
+
89
+ - All the code in the ` <script> ` tag will be left untouched without adding any extra riot magic
90
+ - The tag templates must be wrapped into a ` <template> ` tag
91
+ - The relation ` riot tag => file.tag ` will be 1 to 1 so it will be not possible to define multiple tags in the same file
92
+ - It will be not possible to define multiple ` <script><template><style> ` tags in the same file
93
+
94
+ ## New feature
95
+
96
+ - The new compiler is per default async so it will always return a promise
97
+ - The source code will be simplified a lot avoiding to maintain different forks for the browser/node versions
98
+ - It will generate always sourcemaps
99
+ - It will be simpler to validate the riot tags syntax due to a cleaner and unambigous structure
100
+
87
101
[ travis-image ] : https://img.shields.io/travis/riot/compiler.svg?style=flat-square
88
102
[ travis-url ] : https://travis-ci.org/riot/compiler
89
103
[ license-image ] : https://img.shields.io/badge/license-MIT-000000.svg?style=flat-square
You can’t perform that action at this time.
0 commit comments