summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mail_view/ui/recipients
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2015-12-30 16:03:27 -0200
committerGiovane <giovaneliberato@gmail.com>2015-12-30 16:03:27 -0200
commit111205c8cd74d553201b42db3041d870ae833165 (patch)
tree4a2a4f5158e45b4802c06336d792f2905c45f020 /web-ui/app/js/mail_view/ui/recipients
parentf8418b0a41298777834e00f4276b2a34d8c6ad39 (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/recipients')
-rw-r--r--web-ui/app/js/mail_view/ui/recipients/recipient.js2
-rw-r--r--web-ui/app/js/mail_view/ui/recipients/recipients_input.js2
-rw-r--r--web-ui/app/js/mail_view/ui/recipients/recipients_iterator.js2
3 files changed, 3 insertions, 3 deletions
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;