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_view/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_view/ui')
5 files changed, 5 insertions, 6 deletions
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 01db6c4f..76c5b7d9 100644 --- a/web-ui/app/js/mail_view/ui/mail_view.js +++ b/web-ui/app/js/mail_view/ui/mail_view.js @@ -15,7 +15,6 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -'use strict'; define( [ 'flight/lib/component', @@ -29,6 +28,7 @@ define( ], function (defineComponent, templates, mailActions, viewHelpers, withHideAndShow, withMailTagging, events, i18n) { + 'use strict'; return defineComponent(mailView, mailActions, withHideAndShow, withMailTagging); diff --git a/web-ui/app/js/mail_view/ui/recipients/recipient.js b/web-ui/app/js/mail_view/ui/recipients/recipient.js index abfbc8e4..c13a52b1 100644 --- a/web-ui/app/js/mail_view/ui/recipients/recipient.js +++ b/web-ui/app/js/mail_view/ui/recipients/recipient.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 (defineComponent, templates, events) { + 'use strict'; return defineComponent(recipient); 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 db0b10f7..62bc9c4a 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,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([ 'flight/lib/component', @@ -22,6 +21,7 @@ define([ 'features' ], function (defineComponent, events, features) { + 'use strict'; function recipientsInput() { var EXIT_KEY_CODE_MAP = { 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 6c52c52e..624ac4f5 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 @@ -15,8 +15,8 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -'use strict'; define(['helpers/iterator'], function (Iterator) { + 'use strict'; return RecipientsIterator; 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 b16ea055..b1f35906 100644 --- a/web-ui/app/js/mail_view/ui/send_button.js +++ b/web-ui/app/js/mail_view/ui/send_button.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/>. */ -'use strict'; - define([ 'flight/lib/component', 'flight/lib/utils', @@ -23,6 +21,7 @@ define([ 'helpers/view_helper' ], function (defineComponent, utils, events, viewHelper) { + 'use strict'; return defineComponent(sendButton); |