@dualbox/editor 1.0.7 → 1.0.8

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.
@@ -21,6 +21,8 @@ class DualboxEditor {
21
21
  this.div = $(div);
22
22
  this.attrs = attrs;
23
23
 
24
+ this.rootAppName = attrs.name ? attrs.name : "Application";
25
+
24
26
  // MVC model
25
27
  this.m = new GraphModel(this);
26
28
  this.v = new GraphView(this, div, attrs);
@@ -101,8 +103,6 @@ class DualboxEditor {
101
103
 
102
104
  this.loadCorePackages();
103
105
 
104
- this.rootAppName = attrs.name ? attrs.name : "Application";
105
-
106
106
  if( attrs.json ) {
107
107
  this.setApp(json);
108
108
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dualbox/editor",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
4
4
  "description": "Editor of Dualbox apps",
5
5
  "browser": "js/dist/GraphEditor.js",
6
6
  "main": "js/dist/GraphEditor.js",