@dualbox/editor 1.0.56 → 1.0.58

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.
@@ -104267,11 +104267,13 @@ class DualboxEditor {
104267
104267
 
104268
104268
  // Safety when the user leave the page,
104269
104269
  // if not already defined externally
104270
+ /*
104270
104271
  if (!window.onbeforeunload) {
104271
104272
  window.onbeforeunload = function() {
104272
104273
  return "Unsaved changes will be lost, are you sure you want to leave the editor?";
104273
104274
  };
104274
104275
  }
104276
+ */
104275
104277
 
104276
104278
  this.loadCorePackages();
104277
104279
 
@@ -210,11 +210,13 @@ class DualboxEditor {
210
210
 
211
211
  // Safety when the user leave the page,
212
212
  // if not already defined externally
213
+ /*
213
214
  if (!window.onbeforeunload) {
214
215
  window.onbeforeunload = function() {
215
216
  return "Unsaved changes will be lost, are you sure you want to leave the editor?";
216
217
  };
217
218
  }
219
+ */
218
220
 
219
221
  this.loadCorePackages();
220
222
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dualbox/editor",
3
- "version": "1.0.56",
3
+ "version": "1.0.58",
4
4
  "description": "Editor of Dualbox apps",
5
5
  "browser": "js/dist/GraphEditor.js",
6
6
  "main": "js/dist/GraphEditor.js",