Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

just one isFavorite

  • Loading branch information...
commit 19923a63a01fc5d6b07d57b4903e12b0ce845efc 1 parent 233c1f4
@rmurphey authored
View
2  www/js/app/models/Person.js
@@ -20,7 +20,7 @@ dojo.declare('app.models.Person', [], {
},
isFavorite : function() {
- return !!app.services.Favorites.isFavorite(this.data.id);
+ return !!app.services.Favorites.get(this.data.id);
}
});
View
4 www/js/app/services/Favorites.js
@@ -24,10 +24,6 @@ dojo.require('dojo.store.Memory');
});
},
- isFavorite : function(id) {
- return !!this.get(id);
- },
-
put : function() {
this.inherited(arguments);
this._save();
Please sign in to comment.
Something went wrong with that request. Please try again.