Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Comment reflected 'relatedModel', when 'model' is being checked in th…

…e accompanying if statement.
  • Loading branch information...
commit 428aa9eaad7ba3b863aa2569ff0cd0336feb6f0d 1 parent 7dcd736
@awirick awirick authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  backbone-relational.js
View
2  backbone-relational.js
@@ -487,7 +487,7 @@
warn && console.warn( 'Relation=%o; no model, key or relatedModel (%o, %o, %o)', this, m, k, rm );
return false;
}
- // Check if the type in 'relatedModel' inherits from Backbone.RelationalModel
+ // Check if the type in 'model' inherits from Backbone.RelationalModel
if ( !( m.prototype instanceof Backbone.RelationalModel ) ) {
warn && console.warn( 'Relation=%o; model does not inherit from Backbone.RelationalModel (%o)', this, i );
return false;
Please sign in to comment.
Something went wrong with that request. Please try again.