ampersand-view
Advanced tools
Comparing version 7.1.3 to 7.1.4
@@ -138,3 +138,3 @@ var State = require('ampersand-state'); | ||
if (this.el && this.el.parentNode) this.el.parentNode.removeChild(this.el); | ||
_.chain(this._subviews).flatten().invoke('remove'); | ||
if (this._subviews) _.chain(this._subviews).flatten().invoke('remove'); | ||
this.stopListening(); | ||
@@ -141,0 +141,0 @@ // TODO: Not sure if this is actually necessary. |
{ | ||
"name": "ampersand-view", | ||
"description": "A smart base view for Backbone apps, to make it easy to bind collections and properties to the DOM.", | ||
"version": "7.1.3", | ||
"version": "7.1.4", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -6,0 +6,0 @@ "browser": "./ampersand-view.js", |
@@ -112,3 +112,3 @@ # ampersand-view | ||
* All event handlers are delegated to the view's root el, meaning elements changed when the view is updated don't need to be unbound and rebound. | ||
* All events handlers are cleanly remvoed when the view is [removed](#ampersand-view-remove). | ||
* All events handlers are cleanly removed when the view is [removed](#ampersand-view-remove). | ||
@@ -115,0 +115,0 @@ ``` |
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
66521