diff options
author | Giovane <giovaneliberato@gmail.com> | 2015-12-30 16:03:27 -0200 |
---|---|---|
committer | Giovane <giovaneliberato@gmail.com> | 2015-12-30 16:03:27 -0200 |
commit | 111205c8cd74d553201b42db3041d870ae833165 (patch) | |
tree | 4a2a4f5158e45b4802c06336d792f2905c45f020 /web-ui/app/js/mail_list/ui | |
parent | f8418b0a41298777834e00f4276b2a34d8c6ad39 (diff) |
Updates jshint to latest version #565
- Change 'use strict' mode to function-level
- Update needed files
Diffstat (limited to 'web-ui/app/js/mail_list/ui')
-rw-r--r-- | web-ui/app/js/mail_list/ui/mail_item_factory.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_list/ui/mail_items/mail_item.js | 2 |
2 files changed, 2 insertions, 2 deletions
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 <http://www.gnu.org/licenses/>. */ -'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 <http://www.gnu.org/licenses/>. */ -'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(); } |