Comparing version 0.1.1 to 0.1.2
@@ -155,3 +155,3 @@ // Generated by CoffeeScript 1.3.3 | ||
walk = function(ast) { | ||
var a, ast2, base, condition, funcName, i, operation, params, property, seq, seqs, stats, unrollSeqs, value, variable, _j, _k, _l, _len1, _len2, _len3, _len4, _len5, _len6, _len7, _m, _n, _o, _p, _q, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8; | ||
var a, ast2, base, condition, funcName, i, operation, params, property, seq, seqs, stats, tmp, unrollSeqs, value, variable, _j, _k, _l, _len1, _len2, _len3, _len4, _len5, _len6, _m, _n, _o, _p, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7; | ||
if (Array.isArray(ast) && ast.length > 0) { | ||
@@ -294,7 +294,4 @@ type = ast[0]; | ||
} else if (type === 'function') { | ||
_ref7 = ast[3]; | ||
for (i = _p = 0, _len6 = _ref7.length; _p < _len6; i = ++_p) { | ||
ast2 = _ref7[i]; | ||
ast[3][i] = walk(ast2); | ||
} | ||
tmp = walk(['block', ast[3]]); | ||
ast[3] = tmp[1]; | ||
} else if (type === 'stat') { | ||
@@ -317,5 +314,5 @@ ast[1] = walk(ast[1]); | ||
} else if (type === 'object') { | ||
_ref8 = ast[1]; | ||
for (i = _q = 0, _len7 = _ref8.length; _q < _len7; i = ++_q) { | ||
ast2 = _ref8[i]; | ||
_ref7 = ast[1]; | ||
for (i = _p = 0, _len6 = _ref7.length; _p < _len6; i = ++_p) { | ||
ast2 = _ref7[i]; | ||
ast[1][i][1] = walk(ast[1][i][1]); | ||
@@ -322,0 +319,0 @@ } |
{ "name": "pimscript", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Converts JavaScript to be more likely to be compatible with ADsafe", | ||
@@ -4,0 +4,0 @@ "keywords": ["Pim","javascript","ADsafe","FBJS"], |
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
235237
6376