yellow team mailing list archive
-
yellow team
-
Mailing list archive
-
Message #01818
Re: Clean up get_endpoints (issue 6858099)
Looks good but I've suggested a code simplification. No need to
re-review.
https://codereview.appspot.com/6858099/diff/5001/app/app.js
File app/app.js (right):
https://codereview.appspot.com/6858099/diff/5001/app/app.js#newcode325
app/app.js:325:
.some() returns true or false so I think you could just do:
var updateNeeded = this.db.services.some(function(service) {
return (self.serviceEndpoints[service.get('id')] ===
undefined)});
https://codereview.appspot.com/6858099/
--
https://code.launchpad.net/~makyo/juju-gui/endpoints-once/+merge/137273
Your team Juju GUI Hackers is requested to review the proposed merge of lp:~makyo/juju-gui/endpoints-once into lp:juju-gui.
References