summaryrefslogtreecommitdiff
path: root/src/web/app/common/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/app/common/scripts')
-rw-r--r--src/web/app/common/scripts/i.ls7
-rw-r--r--src/web/app/common/scripts/stream.ls4
2 files changed, 1 insertions, 10 deletions
diff --git a/src/web/app/common/scripts/i.ls b/src/web/app/common/scripts/i.ls
index 888ef194d0..e05a7459ff 100644
--- a/src/web/app/common/scripts/i.ls
+++ b/src/web/app/common/scripts/i.ls
@@ -9,10 +9,3 @@ module.exports = (me) ->
if @SIGNIN
@on \mount ~> me.on \updated @update
@on \unmount ~> me.off \updated @update
-
- update-i: (data) ->
- if data?
- Object.assign me, data
- me.trigger \updated
-
- me: me
diff --git a/src/web/app/common/scripts/stream.ls b/src/web/app/common/scripts/stream.ls
index 64ae03817a..c2c061603e 100644
--- a/src/web/app/common/scripts/stream.ls
+++ b/src/web/app/common/scripts/stream.ls
@@ -30,9 +30,7 @@ module.exports = (me) ~>
get-state = ~> state
- event.on \i_updated (data) ~>
- Object.assign me, data
- me.trigger \updated
+ event.on \i_updated me.update
{
state-ev