Comparing version 1.0.1 to 1.1.0
11
ast.js
@@ -32,2 +32,3 @@ /** | ||
exports.ast = ast; | ||
var stringify = JSON.stringify; | ||
// APIs | ||
@@ -62,4 +63,3 @@ var apis = exports.apis = { | ||
}; | ||
apis.each = function(x, fun) { | ||
var A = query(x); | ||
apis.each = function(A, fun) { | ||
if (A) { | ||
@@ -73,4 +73,4 @@ var N = S.length; | ||
}; | ||
apis.each2 = function(x, fun) { | ||
var L = (L = query(x)) && typeof L === 'object' && L.length || 1; | ||
apis.each2 = function(A, fun) { | ||
var L = A && A.length || 0; | ||
while (L--) { | ||
@@ -104,3 +104,2 @@ fun(); | ||
}(); | ||
var stringify = JSON.stringify; | ||
/** | ||
@@ -407,3 +406,3 @@ * Type of statements | ||
case 4:// $("{...}") | ||
post(Expr.query(match[12], '$')); | ||
post(Expr.query(tmp, '$')); | ||
break; // __inner | ||
@@ -410,0 +409,0 @@ case 5: |
{ | ||
"name": "freshmark", | ||
"description": "A javascript static page renderer", | ||
"keywords": [ "template" ], | ||
"version": "1.0.1", | ||
"keywords": [ "Template Engine" ], | ||
"version": "1.1.0", | ||
"author": { | ||
@@ -7,0 +7,0 @@ "name": "Kyrios", |
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
13872
531