git ssb

1+

Matt McKegg / mutant



Commit 3eb9a1271a24866c0fdbf02fa318537a1d3adb16

map: fix rebind/unlisten for invalidators

Matt McKegg committed on 9/27/2016, 8:21:13 PM
Parent: 47e9da79b4756a70bb65f6ba7223c366dced141a

Files changed

map.jschanged
map.jsView
@@ -49,9 +49,9 @@
4949 releases.push(obs(binder.onUpdate))
5050 }
5151 rebindAll()
5252
53- Array.from(itemInvalidators.values).forEach(function (invalidators) {
53+ Array.from(itemInvalidators.values()).forEach(function (invalidators) {
5454 invalidators.forEach(function (invalidator) {
5555 invalidator.release = invalidator.observable(invalidate.bind(null, invalidator))
5656 })
5757 })
@@ -69,9 +69,9 @@
6969 releases.pop()()
7070 }
7171 rebindAll()
7272
73- Array.from(itemInvalidators.values).forEach(function (invalidators) {
73+ Array.from(itemInvalidators.values()).forEach(function (invalidators) {
7474 invalidators.forEach(invokeRelease)
7575 })
7676
7777 if (opts && opts.onUnlisten) {

Built with git-ssb-web