Comparing version 0.10.2 to 0.10.3
0.10.3 / 2011-03-30 | ||
================== | ||
* Fixed support for quoted attribute keys ex `rss("xmlns:atom"="atom")` | ||
0.10.2 / 2011-03-30 | ||
@@ -3,0 +8,0 @@ ================== |
@@ -22,3 +22,3 @@ | ||
exports.version = '0.10.2'; | ||
exports.version = '0.10.3'; | ||
@@ -25,0 +25,0 @@ /** |
@@ -328,2 +328,5 @@ | ||
switch (state()) { | ||
case 'key char': | ||
key += c; | ||
break; | ||
case 'val': | ||
@@ -366,7 +369,17 @@ case 'expr': | ||
case "'": | ||
if ('key' == state()) break; | ||
'string' == state() | ||
? states.pop() | ||
: states.push('string'); | ||
val += c; | ||
switch (state()) { | ||
case 'key': | ||
states.push('key char'); | ||
break; | ||
case 'key char': | ||
states.pop(); | ||
break; | ||
case 'string': | ||
states.pop(); | ||
val += c; | ||
break; | ||
default: | ||
states.push('string'); | ||
val += c; | ||
} | ||
break; | ||
@@ -376,6 +389,9 @@ case '': | ||
default: | ||
if ('key' == state()) { | ||
key += c; | ||
} else { | ||
val += c; | ||
switch (state()) { | ||
case 'key': | ||
case 'key char': | ||
key += c; | ||
break; | ||
default: | ||
val += c; | ||
} | ||
@@ -382,0 +398,0 @@ } |
{ | ||
"name": "jade", | ||
"description": "Jade template engine", | ||
"version": "0.10.2", | ||
"version": "0.10.3", | ||
"author": "TJ Holowaychuk <tj@vision-media.ca>", | ||
@@ -6,0 +6,0 @@ "repository": "git://github.com/visionmedia/jade", |
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
147844
3861