mol_plot_all 1.2.151 → 1.2.152
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/node.deps.json +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +10 -4
- package/web.esm.js.map +1 -1
- package/web.js +10 -4
- package/web.js.map +1 -1
package/web.js
CHANGED
|
@@ -522,10 +522,16 @@ var $;
|
|
|
522
522
|
static get promise() {
|
|
523
523
|
if (this._promise)
|
|
524
524
|
return this._promise;
|
|
525
|
-
return this._promise = new Promise(done =>
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
525
|
+
return this._promise = new Promise(done => {
|
|
526
|
+
requestAnimationFrame(() => {
|
|
527
|
+
this._promise = null;
|
|
528
|
+
done();
|
|
529
|
+
});
|
|
530
|
+
setTimeout(() => {
|
|
531
|
+
this._promise = null;
|
|
532
|
+
done();
|
|
533
|
+
}, 100);
|
|
534
|
+
});
|
|
529
535
|
}
|
|
530
536
|
cancelled = false;
|
|
531
537
|
promise;
|