templates
Advanced tools
Comparing version 0.16.0 to 0.16.1
@@ -84,3 +84,3 @@ 'use strict'; | ||
this.define('Item', opts.Item || View); | ||
this.define('Views', opts.Views || Item); | ||
this.define('View', opts.View || Item); | ||
@@ -87,0 +87,0 @@ // decorate `isItem` and `isView`, in case custom class is passed |
@@ -68,3 +68,3 @@ 'use strict'; | ||
var collectionName = item.options.inflection || this.options.inflection; | ||
item.options.collection = this.options.plural; | ||
item.options.collection = item.options.collection || this.options.plural; | ||
item.options.inflection = collectionName; | ||
@@ -71,0 +71,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.0", | ||
"version": "0.16.1", | ||
"homepage": "https://github.com/jonschlinkert/templates", | ||
@@ -6,0 +6,0 @@ "author": "Jon Schlinkert (https://github.com/jonschlinkert)", |
@@ -2016,2 +2016,2 @@ # templates [![NPM version](https://img.shields.io/npm/v/templates.svg)](https://www.npmjs.com/package/templates) [![Build Status](https://img.shields.io/travis/jonschlinkert/templates.svg)](https://travis-ci.org/jonschlinkert/templates) | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 28, 2016._ | ||
_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on March 31, 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
172235