nakarte

Source code of https://map.sikmir.ru (fork)
git clone git://git.sikmir.ru/nakarte
Log | Files | Refs | LICENSE

commit 943179b0bba21436c8b32914902aaf20ee18b5bd
parent 57fc2dfa80cc04b7ed75797320cd6b38654b2d1a
Author: Sergej Orlov <wladimirych@gmail.com>
Date:   Thu, 10 Nov 2016 00:18:53 +0300

hashtate -- fixed typo in commented code

Diffstat:
Msrc/lib/hashState/hashState.js | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/lib/hashState/hashState.js b/src/lib/hashState/hashState.js @@ -86,7 +86,8 @@ const hashState = { } for (let [key, callback] of this._listeners) { if (key in changedKeys) { - // setTimeout(callback.bind(null, state[key]), 0); + // setTimeout(callback.bind(null, newState[key]), 0); + callback(newState[key]); } }