From 6f6f8a338ec460aea761de320aaccc25b0eb2d42 Mon Sep 17 00:00:00 2001 From: Alexandre Pretto Nunes Date: Mon, 12 Jan 2015 20:08:00 -0200 Subject: Improve jshint configuration --- web-ui/app/js/mixins/with_auto_refresh.js | 2 -- web-ui/app/js/mixins/with_compose_inline.js | 1 - web-ui/app/js/mixins/with_enable_disable_on_event.js | 2 -- web-ui/app/js/mixins/with_feature_toggle.js | 2 +- web-ui/app/js/mixins/with_mail_edit_base.js | 1 - web-ui/app/js/mixins/with_mail_tagging.js | 4 +--- 6 files changed, 2 insertions(+), 10 deletions(-) (limited to 'web-ui/app/js/mixins') diff --git a/web-ui/app/js/mixins/with_auto_refresh.js b/web-ui/app/js/mixins/with_auto_refresh.js index f01903e0..c75fda45 100644 --- a/web-ui/app/js/mixins/with_auto_refresh.js +++ b/web-ui/app/js/mixins/with_auto_refresh.js @@ -14,8 +14,6 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -/*global Pixelated */ -/*global _ */ define(['features'], function (features) { diff --git a/web-ui/app/js/mixins/with_compose_inline.js b/web-ui/app/js/mixins/with_compose_inline.js index b0a49cc7..cd5dcd8b 100644 --- a/web-ui/app/js/mixins/with_compose_inline.js +++ b/web-ui/app/js/mixins/with_compose_inline.js @@ -14,7 +14,6 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -/*global _ */ define( [ diff --git a/web-ui/app/js/mixins/with_enable_disable_on_event.js b/web-ui/app/js/mixins/with_enable_disable_on_event.js index eea7f091..5b28a67b 100644 --- a/web-ui/app/js/mixins/with_enable_disable_on_event.js +++ b/web-ui/app/js/mixins/with_enable_disable_on_event.js @@ -14,8 +14,6 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -/*global Pixelated */ -/*global _ */ define([], function () { diff --git a/web-ui/app/js/mixins/with_feature_toggle.js b/web-ui/app/js/mixins/with_feature_toggle.js index 7336b74a..b286cc48 100644 --- a/web-ui/app/js/mixins/with_feature_toggle.js +++ b/web-ui/app/js/mixins/with_feature_toggle.js @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -/* global _ */ + 'use strict'; define(['features'], function(features) { diff --git a/web-ui/app/js/mixins/with_mail_edit_base.js b/web-ui/app/js/mixins/with_mail_edit_base.js index 2af5fefa..3332da91 100644 --- a/web-ui/app/js/mixins/with_mail_edit_base.js +++ b/web-ui/app/js/mixins/with_mail_edit_base.js @@ -14,7 +14,6 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -/*global _ */ define( [ diff --git a/web-ui/app/js/mixins/with_mail_tagging.js b/web-ui/app/js/mixins/with_mail_tagging.js index 62ca7627..8e27d672 100644 --- a/web-ui/app/js/mixins/with_mail_tagging.js +++ b/web-ui/app/js/mixins/with_mail_tagging.js @@ -14,9 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see . */ -/*global Bloodhound */ -/*global _ */ -/*global Handlebars */ + 'use strict'; define( ['page/events', 'features'], -- cgit v1.2.3