Comparing version 0.31.1 to 0.31.2
@@ -5,3 +5,3 @@ { | ||
"description": "Jade template runtime", | ||
"version": "0.31.1", | ||
"version": "0.31.2", | ||
"keywords": [ | ||
@@ -8,0 +8,0 @@ "template" |
@@ -696,9 +696,8 @@ /*! | ||
if (tag.textOnly && !dot && !(tag.name == 'script' && tag.getAttribute('src'))) { | ||
console.warn('Implicit textOnly for `script` and `style` is deprecated. Use `script.` or `style.` instead.'); | ||
} | ||
// block? | ||
if ('indent' == this.peek().type) { | ||
if (tag.textOnly) { | ||
if (!dot) { | ||
console.warn('Implicit textOnly for `script` and `style` is deprecated. Use `script.` or `style.` instead.'); | ||
} | ||
this.lexer.pipeless = true; | ||
@@ -705,0 +704,0 @@ tag.block = this.parseTextBlock(); |
{ | ||
"name": "jade", | ||
"description": "Jade template engine", | ||
"version": "0.31.1", | ||
"version": "0.31.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -29,3 +29,4 @@ "repository": "git://github.com/visionmedia/jade", | ||
"uglify-js": "*", | ||
"browserify": "*" | ||
"browserify": "*", | ||
"win-spawn": "*" | ||
}, | ||
@@ -39,3 +40,3 @@ "component": { | ||
"test": "mocha -R spec", | ||
"prepublish": "npm prune", | ||
"prepublish": "npm prune && cd bin && win-line-endings && cd ..", | ||
"build": "npm run compile", | ||
@@ -42,0 +43,0 @@ "compile": "npm run compile-full && npm run compile-runtime", |
@@ -9,9 +9,9 @@ # Jade - template engine | ||
## Anouncment | ||
## Announcement | ||
Jade version 0.31.0 deprecated implicit text only support for scripts and styles. To fix this all you need to do is add a `.` character after the script or style tag. | ||
It is hoped that this change will make jade easier for newcommers to learn without affecting the power of the language or leading to excessive verboseness. | ||
It is hoped that this change will make Jade easier for newcomers to learn without affecting the power of the language or leading to excessive verboseness. | ||
If you have a lot of jade files that need fixing you can use [fix-jade](https://github.com/ForbesLindesay/fix-jade) to attempt to automate the process. | ||
If you have a lot of Jade files that need fixing you can use [fix-jade](https://github.com/ForbesLindesay/fix-jade) to attempt to automate the process. | ||
@@ -18,0 +18,0 @@ ## Test drive |
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
382419
10