Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

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 6.0.7 to 6.0.8

2

ampersand-view.js

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

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