canvasxpress-cli 41.2.60 → 41.2.61
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/cmds/io.js +1 -1
- package/package.json +1 -1
package/cmds/io.js
CHANGED
|
@@ -139,7 +139,7 @@ module.exports = async (obj) => {
|
|
|
139
139
|
await page.goto(defhtml);
|
|
140
140
|
}
|
|
141
141
|
|
|
142
|
-
await page.
|
|
142
|
+
await page.waitForTimeout(() => typeof (CanvasXpress) !== undefined && CanvasXpress.ready);
|
|
143
143
|
|
|
144
144
|
await page.evaluate(`(${func.toString()})(${JSON.stringify(obj)})`);
|
|
145
145
|
|