Socket
Socket
Sign inDemoInstall

ampersand-view

Package Overview
Dependencies
Maintainers
2
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ampersand-view - npm Package Compare versions

Comparing version 4.2.2 to 4.2.3

index.js

3

ampersand-view.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc