assemble-render-file
Advanced tools
Comparing version 0.5.3 to 0.6.0
@@ -32,2 +32,10 @@ /*! | ||
var render = this.render; | ||
this.define('render', function() { | ||
if (typeof arguments[arguments.length - 1] === 'function') { | ||
return render.apply(this, arguments); | ||
} | ||
return this.renderFile.apply(this, arguments); | ||
}); | ||
this.define('renderFile', function(engine, locals) { | ||
@@ -34,0 +42,0 @@ if (typeof engine !== 'string') { |
{ | ||
"name": "assemble-render-file", | ||
"description": "Assemble plugin for rendering views in a vinyl pipeline.", | ||
"version": "0.5.3", | ||
"version": "0.6.0", | ||
"homepage": "https://github.com/assemble/assemble-render-file", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -106,2 +106,2 @@ # assemble-render-file [![NPM version](https://img.shields.io/npm/v/assemble-render-file.svg?style=flat)](https://www.npmjs.com/package/assemble-render-file) [![NPM downloads](https://img.shields.io/npm/dm/assemble-render-file.svg?style=flat)](https://npmjs.org/package/assemble-render-file) [![Build Status](https://img.shields.io/travis/assemble/assemble-render-file.svg?style=flat)](https://travis-ci.org/assemble/assemble-render-file) | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 08, 2016._ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on May 21, 2016._ |
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
10178
130