From 5da436a285b37af7a7bd34a5230f1e5e579f8a46 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 21 Jan 2017 21:08:40 +0900 Subject: なんかもうめっちゃ変えた MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/common/scripts/stream.ls | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/web/app/common/scripts/stream.ls') 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 -- cgit v1.2.3-freya