hogan.js
Advanced tools
Comparing version 3.0.1 to 3.0.2
{ | ||
"name": "hogan.js" | ||
, "description": "A mustache compiler." | ||
, "version": "3.0.1" | ||
, "version": "3.0.2" | ||
, "keywords": ["mustache", "template"] | ||
@@ -24,5 +24,3 @@ , "main": "lib/hogan.js" | ||
, "ignore" : [ | ||
"test" | ||
,"tools" | ||
,"web" | ||
,"wrappers" | ||
@@ -29,0 +27,0 @@ ,".*" |
@@ -23,3 +23,5 @@ /* | ||
rCr = /\r/g, | ||
rSlash = /\\/g; | ||
rSlash = /\\/g, | ||
rLineSep = /\u2028/, | ||
rParagraphSep = /\u2029/; | ||
@@ -311,3 +313,5 @@ Hogan.tags = { | ||
.replace(rNewline, '\\n') | ||
.replace(rCr, '\\r'); | ||
.replace(rCr, '\\r') | ||
.replace(rLineSep, '\\u2028') | ||
.replace(rParagraphSep, '\\u2029'); | ||
} | ||
@@ -314,0 +318,0 @@ |
@@ -149,3 +149,3 @@ /* | ||
found = findInScope(names[i], val, doModelGet); | ||
if (found != null) { | ||
if (found !== undefined) { | ||
cx = val; | ||
@@ -182,3 +182,3 @@ val = found; | ||
val = findInScope(key, v, doModelGet); | ||
if (val != null) { | ||
if (val !== undefined) { | ||
found = true; | ||
@@ -267,7 +267,7 @@ break; | ||
function findInScope(key, scope, doModelGet) { | ||
var val, checkVal; | ||
var val; | ||
if (scope && typeof scope == 'object') { | ||
if (scope[key] != null) { | ||
if (scope[key] !== undefined) { | ||
val = scope[key]; | ||
@@ -274,0 +274,0 @@ |
{ | ||
"name": "hogan.js" | ||
, "description": "A mustache compiler." | ||
, "version": "3.0.1" | ||
, "version": "3.0.2" | ||
, "keywords": ["mustache", "template"] | ||
@@ -6,0 +6,0 @@ , "main": "./lib/hogan.js" |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1355826
147
29405