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/mail_list/ui/mail_item_factory.js | 2 +- web-ui/app/js/mail_list/ui/mail_items/mail_item.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'web-ui/app/js/mail_list') diff --git a/web-ui/app/js/mail_list/ui/mail_item_factory.js b/web-ui/app/js/mail_list/ui/mail_item_factory.js index ddfa4c62..7205d35c 100644 --- a/web-ui/app/js/mail_list/ui/mail_item_factory.js +++ b/web-ui/app/js/mail_list/ui/mail_item_factory.js @@ -14,7 +14,6 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -'use strict'; define( [ @@ -23,6 +22,7 @@ define( 'mail_list/ui/mail_items/sent_item' ], function (GenericMailItem, DraftItem, SentItem) { + 'use strict'; var MAIL_ITEM_TYPE = { 'drafts': DraftItem, diff --git a/web-ui/app/js/mail_list/ui/mail_items/mail_item.js b/web-ui/app/js/mail_list/ui/mail_items/mail_item.js index 266db926..c075b0b5 100644 --- a/web-ui/app/js/mail_list/ui/mail_items/mail_item.js +++ b/web-ui/app/js/mail_list/ui/mail_items/mail_item.js @@ -14,7 +14,6 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -'use strict'; define( [ @@ -24,6 +23,7 @@ define( ], function (viewHelper, templates, events) { + 'use strict'; function mailItem() { this.updateSelected = function (ev, data) { if (data.ident === this.attr.mail.ident) { this.doSelect(); } -- cgit v1.2.3