add semi-colon at end of line; remove apostrophe from comment

This commit is contained in:
Alice Harris
2015-03-11 09:29:44 +10:00
parent 63c57cce5d
commit 3bd0b57efa

View File

@@ -100,7 +100,7 @@ angular.module('habitrpg')
if (cb) return op(req,cb);
op(req,function(err,response) {
for(var updatedItem in req.body) {
var itemUpdateResponse = userNotifications[updatedItem]
var itemUpdateResponse = userNotifications[updatedItem];
if(itemUpdateResponse) Notification.text(itemUpdateResponse);
}
if (err) {
@@ -108,7 +108,7 @@ angular.module('habitrpg')
console.log(message);
if (MOBILE_APP) Notification.push({type:'text',text:message});
else Notification.text(message);
// In the case of 200s, they're friendly alert messages like "You're pet has hatched!" - still send the op
// In the case of 200s, they're friendly alert messages like "Your pet has hatched!" - still send the op
if ((err.code && err.code >= 400) || !err.code) return;
}
userServices.log({op:k, params: req.params, query:req.query, body:req.body});