templates
Advanced tools
Comparing version 0.16.1 to 0.16.2
@@ -70,9 +70,9 @@ 'use strict'; | ||
// handle the collection routes first, then handle the app routes | ||
// handle the app routes first, then handle the collection routes | ||
var collection = this[view.options.collection]; | ||
collection.handle(method, view, function(err) { | ||
this.router.handle(view, function(err) {; | ||
if (err) return done(err); | ||
this.router.handle(view, done); | ||
}.bind(this)); | ||
collection.handle(method, view, done); | ||
}); | ||
}; | ||
@@ -79,0 +79,0 @@ |
{ | ||
"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.16.1", | ||
"version": "0.16.2", | ||
"homepage": "https://github.com/jonschlinkert/templates", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
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
172225