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/mixins | |
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/mixins')
-rw-r--r-- | web-ui/app/js/mixins/with_feature_toggle.js | 2 | ||||
-rw-r--r-- | web-ui/app/js/mixins/with_mail_tagging.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web-ui/app/js/mixins/with_feature_toggle.js b/web-ui/app/js/mixins/with_feature_toggle.js index b286cc48..195b08bc 100644 --- a/web-ui/app/js/mixins/with_feature_toggle.js +++ b/web-ui/app/js/mixins/with_feature_toggle.js @@ -15,9 +15,9 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -'use strict'; define(['features'], function(features) { + 'use strict'; function withFeatureToggle(componentName, behaviorForFeatureOff) { return function() { diff --git a/web-ui/app/js/mixins/with_mail_tagging.js b/web-ui/app/js/mixins/with_mail_tagging.js index 8e27d672..1fc1c3bd 100644 --- a/web-ui/app/js/mixins/with_mail_tagging.js +++ b/web-ui/app/js/mixins/with_mail_tagging.js @@ -15,10 +15,10 @@ * along with Pixelated. If not, see <http://www.gnu.org/licenses/>. */ -'use strict'; define( ['page/events', 'features'], function (events, features) { + 'use strict'; function withMailTagging () { this.updateTags = function(mail, tags) { this.trigger(document, events.mail.tags.update, {ident: mail.ident, tags: tags}); |