engine-cache
Advanced tools
Comparing version 0.10.4 to 0.10.5
@@ -158,3 +158,3 @@ 'use strict'; | ||
engine.compile = function (str, opts) { | ||
engine.compile = function wrappedCompile(str, opts) { | ||
if (typeof str === 'function') return str; | ||
@@ -165,3 +165,3 @@ opts = opts || {}; | ||
engine.render = function(str, options, cb) { | ||
engine.render = function wrappedRender(str, options, cb) { | ||
if (typeof options === 'function') { | ||
@@ -187,3 +187,3 @@ cb = options; | ||
engine.renderSync = function(str, opts) { | ||
engine.renderSync = function wrappedRenderSync(str, opts) { | ||
if (typeof str !== 'function') { | ||
@@ -201,3 +201,3 @@ str = this.compile(str, opts); | ||
engine.resolve = function (str, cb) { | ||
engine.resolve = function resolveHelpers(str, cb) { | ||
var self = this; | ||
@@ -204,0 +204,0 @@ // `stash` contains the objects created when rendering the template |
{ | ||
"name": "engine-cache", | ||
"description": "express.js inspired template-engine manager.", | ||
"version": "0.10.4", | ||
"version": "0.10.5", | ||
"homepage": "https://github.com/jonschlinkert/engine-cache", | ||
@@ -6,0 +6,0 @@ "author": { |
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
15156