From 111205c8cd74d553201b42db3041d870ae833165 Mon Sep 17 00:00:00 2001 From: Giovane Date: Wed, 30 Dec 2015 16:03:27 -0200 Subject: Updates jshint to latest version #565 - Change 'use strict' mode to function-level - Update needed files --- web-ui/app/js/services/model/mail.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'web-ui/app/js/services') diff --git a/web-ui/app/js/services/model/mail.js b/web-ui/app/js/services/model/mail.js index c41bcff9..64a10c1c 100644 --- a/web-ui/app/js/services/model/mail.js +++ b/web-ui/app/js/services/model/mail.js @@ -14,9 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -'use strict'; - define(['helpers/contenttype'], function (contentType) { + 'use strict'; function isSentMail() { return _.has(this, 'mailbox') && this.mailbox.toUpperCase() === 'SENT'; } -- cgit v1.2.3