From 3bd0b57efae1908e8363b655ecc3c97c869623fb Mon Sep 17 00:00:00 2001 From: Alice Harris Date: Wed, 11 Mar 2015 09:29:44 +1000 Subject: [PATCH] add semi-colon at end of line; remove apostrophe from comment --- common/script/public/userServices.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/script/public/userServices.js b/common/script/public/userServices.js index 0c9bcfcaa0..fb779be099 100644 --- a/common/script/public/userServices.js +++ b/common/script/public/userServices.js @@ -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});