Comparing version 0.27.1 to 0.27.2
@@ -23,3 +23,3 @@ /*! | ||
exports.version = '0.27.1'; | ||
exports.version = '0.27.2'; | ||
@@ -26,0 +26,0 @@ /** |
@@ -507,2 +507,8 @@ | ||
function interpolate(attr) { | ||
return attr.replace(/#\{([^}]+)\}/g, function(_, expr){ | ||
return quote + " + (" + expr + ") + " + quote; | ||
}); | ||
} | ||
this.consume(index + 1); | ||
@@ -535,3 +541,3 @@ tok.attrs = {}; | ||
? true | ||
: utils.interpolate(val); | ||
: interpolate(val); | ||
key = val = ''; | ||
@@ -538,0 +544,0 @@ } |
@@ -19,3 +19,3 @@ | ||
return escape | ||
? flag + "{" + code + "}" | ||
? str | ||
: "' + " | ||
@@ -22,0 +22,0 @@ + ('!' == flag ? '' : 'escape') |
{ | ||
"name": "jade", | ||
"description": "Jade template engine", | ||
"version": "0.27.1", | ||
"version": "0.27.2", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/visionmedia/jade", |
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
211440
6160