ampersand-view
Advanced tools
Comparing version 6.0.7 to 6.0.8
@@ -291,3 +291,3 @@ var State = require('ampersand-state'); | ||
if (parent) parent.replaceChild(newDom, this.el); | ||
if (newDom[1]) throw new Error('Views can only have one root element.'); | ||
if (newDom.nodeName === '#document-fragment') throw new Error('Views can only have one root element.'); | ||
this.el = newDom; | ||
@@ -294,0 +294,0 @@ return this; |
{ | ||
"name": "ampersand-view", | ||
"description": "A smart base view for Backbone apps, to make it easy to bind collections and properties to the DOM.", | ||
"version": "6.0.7", | ||
"version": "6.0.8", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -6,0 +6,0 @@ "browser": "./ampersand-view.js", |
@@ -478,3 +478,3 @@ # ampersand-view | ||
prepareView: function (el) { | ||
new CollectionRenderer({ | ||
return new CollectionRenderer({ | ||
el: el, | ||
@@ -481,0 +481,0 @@ collection: this.model.stuffCollection |
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
58995