templates
Advanced tools
Comparing version 0.18.0 to 0.18.1
'use strict'; | ||
var plugin = require('./'); | ||
/** | ||
* This function just wraps some common prototype methods that | ||
* are exposed on collection, list and app. | ||
*/ | ||
@@ -18,3 +21,3 @@ module.exports = function(Base, Ctor, CtorName) { | ||
plugin.is(Ctor); | ||
require('./is')(Ctor); | ||
@@ -25,7 +28,7 @@ /** | ||
plugin.routes(Ctor.prototype); | ||
plugin.engine(Ctor.prototype); | ||
plugin.layout(Ctor.prototype); | ||
plugin.render(Ctor.prototype); | ||
plugin.errors(Ctor.prototype, CtorName); | ||
require('./routes')(Ctor.prototype); | ||
require('./engine')(Ctor.prototype); | ||
require('./layout')(Ctor.prototype); | ||
require('./render')(Ctor.prototype); | ||
require('./errors')(Ctor.prototype, CtorName); | ||
}; |
{ | ||
"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.18.0", | ||
"version": "0.18.1", | ||
"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
172519
4091