diff options
author | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-07 15:01:42 +0200 |
---|---|---|
committer | Bruno Wagner <bwagner@thoughtworks.com> | 2014-10-07 15:01:54 +0200 |
commit | 6299531f4c8f7daa1b4afab45d0439f635b03982 (patch) | |
tree | 92b2876e732731e5219e50ef7719c72ec2cb478a /web-ui/app/js/services | |
parent | 88abefd3e62fb65a08dde62a7d7e4ce1fa22f563 (diff) |
Fixed jshint errors
Diffstat (limited to 'web-ui/app/js/services')
-rw-r--r-- | web-ui/app/js/services/mail_service.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/services/model/mail.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/app/js/services/mail_service.js b/web-ui/app/js/services/mail_service.js index 35e6a39b..2e877a2c 100644 --- a/web-ui/app/js/services/mail_service.js +++ b/web-ui/app/js/services/mail_service.js @@ -62,7 +62,7 @@ define( }) .fail(function (resp) { var msg = i18n('Could not update mail tags'); - if(resp.status == 403) { + if(resp.status === 403) { msg = i18n('Invalid tag name'); } that.trigger(document, events.ui.userAlerts.displayMessage, { message: msg }); diff --git a/web-ui/app/js/services/model/mail.js b/web-ui/app/js/services/model/mail.js index 18a8ec2f..373eb683 100644 --- a/web-ui/app/js/services/model/mail.js +++ b/web-ui/app/js/services/model/mail.js @@ -113,7 +113,7 @@ define(['helpers/contenttype'], bodyParts = _.reject(bodyParts, function(bodyPart) { return _.isEmpty(bodyPart.trim()); }); return _.map(bodyParts, parseWithHeaders); - }; + } function getMailMediaType () { return new contentType.MediaType(this.header.content_type); |