Comparing version 0.5.5 to 0.5.6
{ | ||
"name": "temple", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "A modern JavaScript view framework.", | ||
@@ -5,0 +5,0 @@ "repo": "BeneathTheInk/Temple", |
{ | ||
"name": "temple", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "A modern JavaScript view framework.", | ||
@@ -5,0 +5,0 @@ "repository": "BeneathTheInk/Temple", |
@@ -9,3 +9,3 @@ var _ = require("underscore"), | ||
var Temple = module.exports = _.defaults({ | ||
VERSION: "0.5.5", | ||
VERSION: "0.5.6", | ||
NODE_TYPE: NODE_TYPE, | ||
@@ -12,0 +12,0 @@ |
@@ -92,3 +92,11 @@ module.exports = (function() { | ||
value = value != null ? value[2] : ""; | ||
var args | ||
// could fail on complex attributes | ||
try { | ||
args = parse(value, _.extend({}, options, { startRule: "attrArguments" })); | ||
} catch(e) { | ||
args = [{ type: NODE_TYPE.LITERAL, value: value }]; | ||
} | ||
return { | ||
@@ -99,3 +107,3 @@ type: NODE_TYPE.ATTRIBUTE, | ||
children: parse(value, _.extend({}, options, { startRule: "attrValue" })), | ||
arguments: parse(value, _.extend({}, options, { startRule: "attrArguments" })) | ||
arguments: args | ||
} | ||
@@ -102,0 +110,0 @@ }, |
{ | ||
"name": "templejs", | ||
"version": "0.5.5", | ||
"version": "0.5.6", | ||
"description": "A reactive Mustache view framework.", | ||
@@ -27,3 +27,3 @@ "author": "Beneath the Ink <info@beneaththeink.com>", | ||
"trackr": "~1.0.3", | ||
"underscore": "~1.8.2" | ||
"underscore": "~1.8.3" | ||
}, | ||
@@ -30,0 +30,0 @@ "devDependencies": { |
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
99458
2842
Updatedunderscore@~1.8.3