async-helpers
Advanced tools
Comparing version 0.3.15 to 0.3.16
11
index.js
@@ -534,9 +534,6 @@ /*! | ||
if (typeof helpers === 'function' || isObject(helpers)) { | ||
var keys = Object.keys(helpers); | ||
for (var i = 0; i < keys.length; i++) { | ||
var name = keys[i]; | ||
if (name !== 'async' && name !== 'sync' && name !== 'displayName') { | ||
return true; | ||
} | ||
} | ||
var keys = Object.keys(helpers).filter(function(name) { | ||
return ['async', 'sync', 'displayName'].indexOf(name) === -1; | ||
}); | ||
return keys.length > 1; | ||
} | ||
@@ -543,0 +540,0 @@ return false; |
{ | ||
"name": "async-helpers", | ||
"description": "Use async helpers in templates with engines that typically only handle sync helpers. Handlebars and Lodash have been tested.", | ||
"version": "0.3.15", | ||
"version": "0.3.16", | ||
"homepage": "https://github.com/doowb/async-helpers", | ||
@@ -6,0 +6,0 @@ "author": "Brian Woodward (https://github.com/doowb)", |
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
23749
480