backbone-relations
Advanced tools
Comparing version 0.5.1 to 0.6.0
@@ -7,4 +7,4 @@ (function () { | ||
var _ = node ? require('underscore') : window._; | ||
if (node) require('underscore-inherit'); | ||
var Backbone = node ? require('backbone') : window.Backbone; | ||
var herit = node ? require('herit') : window.herit; | ||
@@ -49,3 +49,3 @@ var proto = Backbone.Model.prototype; | ||
var HasOneRelation = _.inherit(Relation, { | ||
var HasOneRelation = herit(Relation, { | ||
instance: function () { | ||
@@ -84,3 +84,3 @@ if (this._instance) return this._instance; | ||
var HasManyRelation = _.inherit(Relation, { | ||
var HasManyRelation = herit(Relation, { | ||
instance: function () { | ||
@@ -87,0 +87,0 @@ if (this._instance) return this._instance; |
{ | ||
"name": "backbone-relations", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"main": "./backbone-relations.js", | ||
"dependencies": { | ||
"underscore": "x", | ||
"underscore-inherit": "x", | ||
"backbone": "x" | ||
"backbone": "x", | ||
"herit": "x", | ||
"underscore": "x" | ||
} | ||
} |
{ | ||
"name": "backbone-relations", | ||
"version": "0.5.1", | ||
"version": "0.6.0", | ||
"author": "Casey Foster <c@sey.me>", | ||
@@ -12,4 +12,4 @@ "licence": "MIT", | ||
"dependencies": { | ||
"underscore": "x", | ||
"underscore-inherit": "x" | ||
"herit": "x", | ||
"underscore": "x" | ||
}, | ||
@@ -16,0 +16,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
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
Wildcard dependency
QualityPackage has a dependency with a floating version range. This can cause issues if the dependency publishes a new major version.
Found 1 instance in 1 package
34272
+ Addedherit@x
+ Addedherit@2.2.2(transitive)
- Removedunderscore-inherit@x
- Removedunderscore-inherit@1.0.1(transitive)