ampersand-view
Advanced tools
Comparing version 4.2.2 to 4.2.3
@@ -433,3 +433,4 @@ var State = require('ampersand-state'); | ||
if (!template) throw new Error('Template string or function needed.'); | ||
var newDom = domify(_.isString(template) ? template : template(context || {model: this.model})); | ||
var newDom = _.isString(template) ? template : template(context || {model: this.model}); | ||
if (_.isString(newDom)) newDom = domify(newDom); | ||
var parent = this.el && this.el.parentNode; | ||
@@ -436,0 +437,0 @@ if (parent) parent.replaceChild(newDom, this.el); |
{ | ||
"name": "ampersand-view", | ||
"description": "A smart base view for Backbone apps, to make it easy to bind collections and properties to the DOM.", | ||
"version": "4.2.2", | ||
"version": "4.2.3", | ||
"author": "Henrik Joreteg <henrik@andyet.net>", | ||
@@ -6,0 +6,0 @@ "browser": "./ampersand-view.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
58865
11
1210
1