Comparing version 0.2.4 to 0.2.5
@@ -29,3 +29,3 @@ // doT.js | ||
var global = (function(){ return this || (0||eval)('this'); }()); | ||
var global = (function(){ return this || (0,eval)('this'); }()); | ||
@@ -90,3 +90,3 @@ if (typeof module !== 'undefined' && module.exports) { | ||
str = ("var out='" + (c.strip ? str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g,' ') | ||
.replace(/\s*<!\[CDATA\[\s*|\s*\]\]>\s*|[\r\n\t]|(\/\*[\s\S]*?\*\/)/g,''): str) | ||
.replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,''): str) | ||
.replace(/'|\\/g, '\\$&') | ||
@@ -108,3 +108,3 @@ .replace(c.interpolate || skip, function(m, code) { | ||
sid+=1; indv=iname || "i"+sid; iterate=unescape(iterate); | ||
return "';var arr"+sid+"="+iterate+";if(arr"+sid+"){var "+indv+"=-1,l"+sid+"=arr"+sid+".length-1;while("+indv+"<l"+sid+"){" | ||
return "';var arr"+sid+"="+iterate+";if(arr"+sid+"){var "+vname+","+indv+"=-1,l"+sid+"=arr"+sid+".length-1;while("+indv+"<l"+sid+"){" | ||
+vname+"=arr"+sid+"["+indv+"+=1];out+='"; | ||
@@ -111,0 +111,0 @@ }) |
@@ -10,3 +10,3 @@ { | ||
], | ||
"version": "0.2.4", | ||
"version": "0.2.5", | ||
"main": "doT", | ||
@@ -13,0 +13,0 @@ "homepage": "http://github.com/olado/doT", |
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
7824