templates
Advanced tools
Comparing version 0.21.0 to 0.21.1
@@ -182,5 +182,7 @@ 'use strict'; | ||
helpers = utils.arrayify(helpers); | ||
var type = isAsync ? 'async' : 'sync'; | ||
var cache = this._.helpers[type][name] = {}; | ||
var loader = utils.loader(cache, {async: isAsync}); | ||
this._.helpers[type][name] = this._.helpers[type][name] || {}; | ||
var loader = utils.loader(this._.helpers[type][name], {async: isAsync}); | ||
loader.call(loader, helpers); | ||
@@ -187,0 +189,0 @@ return this; |
{ | ||
"name": "templates", | ||
"description": "System for creating and managing template collections, and rendering templates with any node.js template engine. Can be used as the basis for creating a static site generator or blog framework.", | ||
"version": "0.21.0", | ||
"version": "0.21.1", | ||
"homepage": "https://github.com/jonschlinkert/templates", | ||
@@ -74,2 +74,3 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", | ||
"kind-of": "^3.0.3", | ||
"mocha": "^2.5.3", | ||
"parser-front-matter": "^1.3.0", | ||
@@ -76,0 +77,0 @@ "remarkable": "^1.6.2", |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
167440
31
0
1942
23