diff options
author | Alexandre Pretto Nunes <anunes@thoughtworks.com> | 2015-01-12 20:08:00 -0200 |
---|---|---|
committer | Alexandre Pretto Nunes <anunes@thoughtworks.com> | 2015-01-12 20:08:15 -0200 |
commit | 6f6f8a338ec460aea761de320aaccc25b0eb2d42 (patch) | |
tree | 9442094d5e63be6d824c455424cc60c58ae5ad4d /web-ui/app/js/mail_view | |
parent | cd741c3cb6a9c64ad30257240565be884e9084ae (diff) |
Improve jshint configuration
Diffstat (limited to 'web-ui/app/js/mail_view')
-rw-r--r-- | web-ui/app/js/mail_view/data/mail_builder.js | 1 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/forward_box.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/mail_actions.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/mail_view.js | 6 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/recipients/recipients.js | 1 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/recipients/recipients_input.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/recipients/recipients_iterator.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/reply_box.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mail_view/ui/send_button.js | 1 |
9 files changed, 2 insertions, 17 deletions
diff --git a/web-ui/app/js/mail_view/data/mail_builder.js b/web-ui/app/js/mail_view/data/mail_builder.js index 8f57e038..74e38057 100644 --- a/web-ui/app/js/mail_view/data/mail_builder.js +++ b/web-ui/app/js/mail_view/data/mail_builder.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/>. */ -/*global _ */ define(['services/model/mail'], function (mailModel) { 'use strict'; diff --git a/web-ui/app/js/mail_view/ui/forward_box.js b/web-ui/app/js/mail_view/ui/forward_box.js index 949b1b06..fe748365 100644 --- a/web-ui/app/js/mail_view/ui/forward_box.js +++ b/web-ui/app/js/mail_view/ui/forward_box.js @@ -14,8 +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/>. */ -/*global Pixelated */ -/*global _ */ define( [ diff --git a/web-ui/app/js/mail_view/ui/mail_actions.js b/web-ui/app/js/mail_view/ui/mail_actions.js index 278b703b..65cd0aaa 100644 --- a/web-ui/app/js/mail_view/ui/mail_actions.js +++ b/web-ui/app/js/mail_view/ui/mail_actions.js @@ -14,8 +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/>. */ -/*global Pixelated */ -/*global _ */ define( [ diff --git a/web-ui/app/js/mail_view/ui/mail_view.js b/web-ui/app/js/mail_view/ui/mail_view.js index 1d3fa173..66b33748 100644 --- a/web-ui/app/js/mail_view/ui/mail_view.js +++ b/web-ui/app/js/mail_view/ui/mail_view.js @@ -14,12 +14,8 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -/*global Pixelated */ -/*global _ */ -/*global Bloodhound */ 'use strict'; - define( [ 'flight/lib/component', @@ -64,7 +60,7 @@ define( encrypted = this.checkEncrypted(data.mail); } - var attachments = _.map(data.mail.attachments, function(a){ + var attachments = _.map(data.mail.attachments, function(a){ return { 'encoding': a.headers['Content-Transfer-Encoding'], 'name': a.name, 'ident': a.ident }; }); diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients.js b/web-ui/app/js/mail_view/ui/recipients/recipients.js index 83761810..d2a5160d 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients.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/>. */ -/*global _ */ define( [ diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients_input.js b/web-ui/app/js/mail_view/ui/recipients/recipients_input.js index c1c32d77..11c1468c 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients_input.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients_input.js @@ -14,8 +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/>. */ -/*global _*/ -/*global Bloodhound */ 'use strict'; define([ diff --git a/web-ui/app/js/mail_view/ui/recipients/recipients_iterator.js b/web-ui/app/js/mail_view/ui/recipients/recipients_iterator.js index 38f18d61..6c52c52e 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipients_iterator.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipients_iterator.js @@ -14,7 +14,7 @@ * You should have received a copy of the GNU Affero General Public License * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -/*global _ */ + 'use strict'; define(['helpers/iterator'], function (Iterator) { diff --git a/web-ui/app/js/mail_view/ui/reply_box.js b/web-ui/app/js/mail_view/ui/reply_box.js index cd03a698..ba306d7f 100644 --- a/web-ui/app/js/mail_view/ui/reply_box.js +++ b/web-ui/app/js/mail_view/ui/reply_box.js @@ -14,8 +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/>. */ -/*global Pixelated */ -/*global _ */ define( [ diff --git a/web-ui/app/js/mail_view/ui/send_button.js b/web-ui/app/js/mail_view/ui/send_button.js index f3df3739..8f168ecc 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.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/>. */ -/*global _ */ 'use strict'; define([ |