[Add] Test model cache

This commit is contained in:
Victor Woeltjen
2016-03-21 16:11:40 -07:00
parent 6c2a28aba2
commit ec0cc572f6
2 changed files with 70 additions and 1 deletions

View File

@ -60,7 +60,7 @@ define([], function () {
* @returns {boolean} true if present; false if not
*/
ModelCacheService.prototype.has = function (id) {
return this.cached[id];
return !!this.cached[id];
};
/**