malinajs 0.6.51 → 0.6.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/malina.js +1 -1
- package/package.json +1 -1
- package/runtime.js +2 -2
package/malina.js
CHANGED
package/package.json
CHANGED
package/runtime.js
CHANGED
|
@@ -295,12 +295,12 @@ function $tick(fn, uniq) {
|
|
|
295
295
|
_tick_list.push(fn);
|
|
296
296
|
if(_tick_planned.$tick) return;
|
|
297
297
|
_tick_planned.$tick = true;
|
|
298
|
-
|
|
298
|
+
Promise.resolve().then(() => {
|
|
299
299
|
_tick_planned = {};
|
|
300
300
|
let list = _tick_list;
|
|
301
301
|
_tick_list = [];
|
|
302
302
|
list.map(safeCall);
|
|
303
|
-
}
|
|
303
|
+
});
|
|
304
304
|
}
|
|
305
305
|
|
|
306
306
|
function $makeEmitter(option) {
|