diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-01-21 21:08:40 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-01-21 21:08:40 +0900 |
| commit | 5da436a285b37af7a7bd34a5230f1e5e579f8a46 (patch) | |
| tree | 0877353361f3b6b5320f4ca54bc273d63dd3964e /src/web/app/common/scripts | |
| parent | [API] Implement disconnect/twitter (diff) | |
| download | sharkey-5da436a285b37af7a7bd34a5230f1e5e579f8a46.tar.gz sharkey-5da436a285b37af7a7bd34a5230f1e5e579f8a46.tar.bz2 sharkey-5da436a285b37af7a7bd34a5230f1e5e579f8a46.zip | |
なんかもうめっちゃ変えた
Diffstat (limited to 'src/web/app/common/scripts')
| -rw-r--r-- | src/web/app/common/scripts/i.ls | 7 | ||||
| -rw-r--r-- | src/web/app/common/scripts/stream.ls | 4 |
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 |