summaryrefslogtreecommitdiff
path: root/web-ui/app/js/mixins
diff options
context:
space:
mode:
Diffstat (limited to 'web-ui/app/js/mixins')
-rw-r--r--web-ui/app/js/mixins/with_feature_toggle.js2
-rw-r--r--web-ui/app/js/mixins/with_mail_tagging.js2
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});