Fixed this binding/proxy in callback.
This commit is contained in:
parent
f3ff650bfe
commit
17e107aa0a
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class App._CollectionSingletonBase
|
|||
|
||||
callback: (data) =>
|
||||
for counter, attr of @callbacks
|
||||
callback = ->
|
||||
callback = =>
|
||||
attr.callback(data)
|
||||
if attr.one
|
||||
delete @callbacks[counter]
|
||||
|
|
Loading…
Reference in a new issue