328
337
var active = this.get('activeView');
332
341
return (self.serviceEndpoints[service.get('id')] === undefined);
335
344
// If there are new services in the DB, pull an updated endpoints map.
342
350
Y.Object.each(this.serviceEndpoints, function(key, value, obj) {
343
351
if (self.db.services.getById(key) === null) {
344
352
delete(self.serviceEndpoints[key]);