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

backbone-relations

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone-relations - npm Package Compare versions

Comparing version 0.0.12 to 0.0.13

16

dist/backbone-relations.js

@@ -97,3 +97,3 @@ // Generated by CoffeeScript 1.4.0

(models.filters = {})[theirs] = model;
models.listenTo(ctor.cache(), 'add', function(other) {
models.listenTo(ctor.cache(), "add change:" + theirs, function(other) {
if (model.id && model.id == other.get(theirs)) {

@@ -103,8 +103,3 @@ return this.add(other);

});
models.listenTo(ctor.cache(), "change:" + theirs, function(other, val) {
if (model.id == val) {
return this.add(other);
}
});
models.on("change:" + theirs, function(other, val) {
models.on("change:" + theirs, function(other) {
return this.remove(other);

@@ -135,3 +130,3 @@ });

(via.filters = {})[mine] = model;
via.listenTo(viaCtor.cache(), 'add', function(other) {
via.listenTo(viaCtor.cache(), "add change:" + mine, function(other) {
if (model.id && model.id == other.get(mine)) {

@@ -141,7 +136,2 @@ return this.add(other);

});
via.listenTo(viaCtor.cache(), "change:" + mine, function(other, val) {
if (model.id == val) {
return this.add(other);
}
});
via.on("change:" + mine, function(other, val) {

@@ -148,0 +138,0 @@ return this.remove(other);

2

package.json
{
"name": "backbone-relations",
"version": "0.0.12",
"version": "0.0.13",
"author": "Casey Foster <casey@caseywebdev.com>",

@@ -5,0 +5,0 @@ "licence": "MIT",

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