Comparing version 0.9.1 to 0.9.2
0.9.2 / 2011-03-23 | ||
================== | ||
* Added jade `--version` | ||
* Removed `${}` interpolation support, use `#{}` | ||
0.9.1 / 2011-03-16 | ||
@@ -3,0 +9,0 @@ ================== |
@@ -22,3 +22,3 @@ | ||
exports.version = '0.9.1'; | ||
exports.version = '0.9.2'; | ||
@@ -25,0 +25,0 @@ /** |
@@ -390,8 +390,2 @@ | ||
// Assume newline when tag followed by text | ||
if (this.peek().type === 'text') { | ||
if (tag.text) tag.text.push('\\n'); | ||
else tag.text = new nodes.Text('\\n'); | ||
} | ||
tag.textOnly = tag.textOnly || ~textOnly.indexOf(tag.name); | ||
@@ -398,0 +392,0 @@ |
@@ -17,3 +17,3 @@ | ||
var interpolate = exports.interpolate = function(str){ | ||
return str.replace(/(\\)?([#$!]){(.*?)}/g, function(str, escape, flag, code){ | ||
return str.replace(/(\\)?([#!]){(.*?)}/g, function(str, escape, flag, code){ | ||
return escape | ||
@@ -20,0 +20,0 @@ ? str |
{ | ||
"name": "jade", | ||
"description": "Jade template engine", | ||
"version": "0.9.1", | ||
"version": "0.9.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "main": "./index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
119702
3732