Comparing version 2.3.18 to 2.3.19
# riot-tmpl Changes | ||
### v2.3.17 | ||
### v2.3.19 | ||
- Fixing issues with double quotes. | ||
### v2.3.18 | ||
- Regression of optimized regexes not working in IE9/10. | ||
@@ -18,5 +21,4 @@ - Fix [riot#1416](https://github.com/riot/riot/issues/1416) : Issue with space in expression of `each`. | ||
- Revision of devDependencies, including istanbul for npm 2/3 compatibility. | ||
- Preparation for recognize the raw-html flag `=` (can change in the final implementation). | ||
- Preparation for use as ES6 module through [rollup.js](http://rollupjs.org/) | ||
- Removed internal functions from the documentation. | ||
- Updated tests. |
/** | ||
* The riot template engine | ||
* @version v2.3.18 | ||
* @version v2.3.19 | ||
*/ | ||
@@ -249,3 +249,3 @@ | ||
return new Function('E', expr + ';') // eslint-disable-line indent | ||
return new Function('E', expr + ';') | ||
} | ||
@@ -261,3 +261,3 @@ | ||
expr, | ||
parts = brackets.split(str, 1) | ||
parts = brackets.split(str.replace(/\u2057/g, '"'), 1) | ||
@@ -412,5 +412,5 @@ if (parts.length > 2 || parts[0]) { | ||
tmpl.version = brackets.version = 'v2.3.18' | ||
tmpl.version = brackets.version = 'v2.3.19' | ||
export default {tmpl, brackets} | ||
/** | ||
* The riot template engine | ||
* @version v2.3.18 | ||
* @version v2.3.19 | ||
*/ | ||
@@ -249,3 +249,3 @@ | ||
return new Function('E', expr + ';') // eslint-disable-line indent | ||
return new Function('E', expr + ';') | ||
} | ||
@@ -261,3 +261,3 @@ | ||
expr, | ||
parts = brackets.split(str, 1) | ||
parts = brackets.split(str.replace(/\u2057/g, '"'), 1) | ||
@@ -412,3 +412,3 @@ if (parts.length > 2 || parts[0]) { | ||
tmpl.version = brackets.version = 'v2.3.18' | ||
tmpl.version = brackets.version = 'v2.3.19' | ||
@@ -1,2 +0,2 @@ | ||
/* riot-tmpl v2.3.18, @license MIT, (c) 2015 Muut Inc. + contributors */ | ||
/* riot-tmpl v2.3.19, @license MIT, (c) 2015 Muut Inc. + contributors */ | ||
;(function (window) { | ||
@@ -247,3 +247,3 @@ 'use strict' // eslint-disable-line | ||
return new Function('E', expr + ';') // eslint-disable-line indent | ||
return new Function('E', expr + ';') | ||
} | ||
@@ -259,3 +259,3 @@ | ||
expr, | ||
parts = brackets.split(str, 1) | ||
parts = brackets.split(str.replace(/\u2057/g, '"'), 1) | ||
@@ -410,3 +410,3 @@ if (parts.length > 2 || parts[0]) { | ||
tmpl.version = brackets.version = 'v2.3.18' | ||
tmpl.version = brackets.version = 'v2.3.19' | ||
@@ -419,3 +419,3 @@ /* istanbul ignore else */ | ||
} | ||
else if (typeof define === 'function' && define.amd) { | ||
else if (typeof define === 'function' && typeof define.amd !== 'undefined') { | ||
define(function () { | ||
@@ -422,0 +422,0 @@ return { |
@@ -28,3 +28,3 @@ //#if NODE | ||
} | ||
else if (typeof define === 'function' && define.amd) { | ||
else if (typeof define === 'function' && typeof define.amd !== 'undefined') { | ||
define(function () { | ||
@@ -31,0 +31,0 @@ return { |
@@ -143,3 +143,3 @@ /** | ||
return new Function('E', expr + ';') // eslint-disable-line indent | ||
return new Function('E', expr + ';') | ||
} | ||
@@ -168,3 +168,3 @@ // end _create() | ||
expr, | ||
parts = brackets.split(str, 1) // get text/expr parts | ||
parts = brackets.split(str.replace(/\u2057/g, '"'), 1) // get text/expr parts | ||
@@ -171,0 +171,0 @@ // We can have almost anything as expressions, except comments... hope |
{ | ||
"name": "riot-tmpl", | ||
"version": "2.3.18", | ||
"version": "2.3.19", | ||
"description": "The riot template engine", | ||
@@ -37,9 +37,9 @@ "main": "dist/tmpl.js", | ||
"jspreproc": "^0.2.5", | ||
"karma": "^0.13.14", | ||
"karma": "^0.13.15", | ||
"karma-browserstack-launcher": "^0.1.6", | ||
"karma-coverage": "^0.5.3", | ||
"karma-mocha": "^0.2.0", | ||
"karma-mocha": "^0.2.1", | ||
"karma-phantomjs-launcher": "^0.2.1", | ||
"mocha": "^2.3.4", | ||
"phantomjs": "^1.9.18" | ||
"phantomjs": "^1.9.19" | ||
}, | ||
@@ -46,0 +46,0 @@ "author": "Muut, Inc. and other contributors", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
118218