Skip to content

Commit f455dfd

Browse files
author
amarcruz
committed
v2.3.23
- The parsers are moved to its own directory in the node version. The load is on first use. - Fix [riot#1325](riot/riot#1325) : Gulp + Browserify + Babelify + type="es6" error. - Fix [riot#1342](riot/riot#1342), [riot#1636](riot/riot#1636) and request from [dwyl/learn-riot#8](dwyl/learn-riot#8) : Server-Side Rendered Page Fails W3C Check. The new `data-is` attribute is used for scoped styles in addition to `riot-tag` (the later will be removed in compiler v3.x) - The keyword `defer` in `<script src=file>` avoids that the compiler loads the file, preserving the tag - Requested by [riot#1492](riot/riot#1492) : Stop script tags from being evaluated with serverside `riot.render`. It is removed in client-side compilation because browsers will not load scripts through innerHTML. - It has changed the character used to hide expressions during the compilation, maybe this fix [riot#1588](riot/riot#1588) : Syntax Error: Invalid character `\0129` (riot+compiler.min). - The option `debug` inserts newlines between the `riot.tag2` parameters and the call is prefixed with the source filename - Requested by [riot#1646](riot/riot#1646) : Split portions of generated html with newline instead of space - Removed the unused parameter with the compiled-time brackets from the call to `riot.tag2`. - Removed support for raw expressions. It is unlikely this feature will be implemented in v2.3.x - Updated the regex that is used to match tag names, more closer to the HTML5 specs. - Update devDependencies.
1 parent 952bdf0 commit f455dfd

File tree

5 files changed

+8
-28
lines changed

5 files changed

+8
-28
lines changed

dist/es6.compiler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**
22
* Compiler for riot custom tags
3-
* @version WIP
3+
* @version v2.3.23
44
*/
55

66
import { brackets } from 'riot-tmpl'
@@ -637,7 +637,7 @@ function compile (src, opts, url) {
637637
return src
638638
}
639639

640-
var version = 'WIP'
640+
var version = 'v2.3.23'
641641

642642
export default {
643643
compile,

dist/riot.compiler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ riot.parsers = parsers
9292

9393
/**
9494
* Compiler for riot custom tags
95-
* @version WIP
95+
* @version v2.3.23
9696
*/
9797
var compile = (function () {
9898

@@ -640,7 +640,7 @@ var compile = (function () {
640640
html: compileHTML,
641641
css: compileCSS,
642642
js: compileJS,
643-
version: 'WIP'
643+
version: 'v2.3.23'
644644
}
645645
return compile
646646

lib/compiler.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* The riot-compiler WIP
2+
* The riot-compiler v2.3.23
33
*
44
* @module compiler
5-
* @version WIP
5+
* @version v2.3.23
66
* @license MIT
77
* @copyright 2015 Muut Inc. + contributors
88
*/
@@ -971,5 +971,5 @@ module.exports = {
971971
css: compileCSS,
972972
js: compileJS,
973973
parsers: parsers,
974-
version: 'WIP'
974+
version: 'v2.3.23'
975975
}

lib/test.js

-20
This file was deleted.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
],
1818
"scripts": {
1919
"test": "make test",
20-
"prepublish": "make build && ./node_modules/.bin/riot-bump"
20+
"prepublish": "make build && ./node_modules/.bin/riot-bump && ./node_modules/.bin/riot-bump lib"
2121
},
2222
"repository": {
2323
"type": "git",

0 commit comments

Comments
 (0)