From 45e8331e261244628b134a18e3d0fbe0ebb3a7dc Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 18 Mar 2017 20:05:11 +0900 Subject: :sushi: Closes #12, #227 and #58 --- src/web/app/common/scripts/i.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/web/app/common/scripts/i.js (limited to 'src/web/app/common/scripts/i.js') diff --git a/src/web/app/common/scripts/i.js b/src/web/app/common/scripts/i.js deleted file mode 100644 index 20c33c6402..0000000000 --- a/src/web/app/common/scripts/i.js +++ /dev/null @@ -1,20 +0,0 @@ -const riot = require('riot'); - -module.exports = me => { - riot.mixin('i', { - init: function() { - this.I = me; - this.SIGNIN = me != null; - - if (this.SIGNIN) { - this.on('mount', () => { - me.on('updated', this.update); - }); - this.on('unmount', () => { - me.off('updated', this.update); - }); - } - }, - me: me - }); -}; -- cgit v1.3.1-freya