Browse files

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

…e accompanying if statement.
  • Loading branch information...
1 parent 7dcd736 commit 428aa9eaad7ba3b863aa2569ff0cd0336feb6f0d @awirick awirick committed Jun 29, 2012
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;

0 comments on commit 428aa9e

Please sign in to comment.