@dualbox/editor 1.0.38 → 1.0.39
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/js/dist/GraphEditor.js +2 -12
- package/js/dist/GraphEditor.min.js +1 -11
- package/js/src/GraphEditor.js +1 -11
- package/package.json +1 -1
|
@@ -104021,7 +104021,7 @@ class DualboxEditor {
|
|
|
104021
104021
|
async loadCorePackages() {
|
|
104022
104022
|
|
|
104023
104023
|
var pkgName = "@dualbox/dualbox";
|
|
104024
|
-
await this.loadPackage();
|
|
104024
|
+
await this.loadPackage(pkgName);
|
|
104025
104025
|
if (!window.DualBox && window.DualBox.start) {
|
|
104026
104026
|
this.DualBox = window.DualBox = this.require(pkgName);
|
|
104027
104027
|
} else {
|
|
@@ -104051,16 +104051,6 @@ class DualboxEditor {
|
|
|
104051
104051
|
promises.push(this.loadPackage(name, version));
|
|
104052
104052
|
});
|
|
104053
104053
|
|
|
104054
|
-
/*
|
|
104055
|
-
// also load core nodes
|
|
104056
|
-
promises.push(this.loadPackage('dualbox-core-if', '*'));
|
|
104057
|
-
promises.push(this.loadPackage('dualbox-core-value', '*'));
|
|
104058
|
-
promises.push(this.loadPackage('dualbox-core-from-json', '*'));
|
|
104059
|
-
promises.push(this.loadPackage('dualbox-core-to-json', '*'));
|
|
104060
|
-
promises.push(this.loadPackage('dualbox-core-script', '*'));
|
|
104061
|
-
promises.push(this.loadPackage('dualbox-core-switch', '*'));
|
|
104062
|
-
*/
|
|
104063
|
-
|
|
104064
104054
|
return Promise.all(promises);
|
|
104065
104055
|
}
|
|
104066
104056
|
|
package/js/src/GraphEditor.js
CHANGED
|
@@ -227,7 +227,7 @@ class DualboxEditor {
|
|
|
227
227
|
};
|
|
228
228
|
|
|
229
229
|
var pkgName = "@dualbox/dualbox";
|
|
230
|
-
await this.loadPackage();
|
|
230
|
+
await this.loadPackage(pkgName);
|
|
231
231
|
if (!window.DualBox && window.DualBox.start) {
|
|
232
232
|
this.DualBox = window.DualBox = this.require(pkgName);
|
|
233
233
|
} else {
|
|
@@ -257,16 +257,6 @@ class DualboxEditor {
|
|
|
257
257
|
promises.push(this.loadPackage(name, version));
|
|
258
258
|
});
|
|
259
259
|
|
|
260
|
-
/*
|
|
261
|
-
// also load core nodes
|
|
262
|
-
promises.push(this.loadPackage('dualbox-core-if', '*'));
|
|
263
|
-
promises.push(this.loadPackage('dualbox-core-value', '*'));
|
|
264
|
-
promises.push(this.loadPackage('dualbox-core-from-json', '*'));
|
|
265
|
-
promises.push(this.loadPackage('dualbox-core-to-json', '*'));
|
|
266
|
-
promises.push(this.loadPackage('dualbox-core-script', '*'));
|
|
267
|
-
promises.push(this.loadPackage('dualbox-core-switch', '*'));
|
|
268
|
-
*/
|
|
269
|
-
|
|
270
260
|
return Promise.all(promises);
|
|
271
261
|
}
|
|
272
262
|
|