aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/models/base.js10
-rwxr-xr-xjs/document/models/html.js2
2 files changed, 5 insertions, 7 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js
index c69c54a9..5fa06259 100755
--- a/js/document/models/base.js
+++ b/js/document/models/base.js
@@ -68,12 +68,8 @@ exports.BaseDocumentModel = Montage.create(Component, {
68 //////////////////////////////////////////////////////////////////// 68 ////////////////////////////////////////////////////////////////////
69 // 69 //
70 selection: { 70 selection: {
71 get: function() { 71 get: function() {return this._selection;},
72 return this._selection; 72 set: function(value) {this._selection = value;}
73 },
74 set: function(value) {
75 this._selection = value;
76 }
77 }, 73 },
78 //////////////////////////////////////////////////////////////////// 74 ////////////////////////////////////////////////////////////////////
79 // 75 //
@@ -93,7 +89,7 @@ exports.BaseDocumentModel = Montage.create(Component, {
93 //////////////////////////////////////////////////////////////////// 89 ////////////////////////////////////////////////////////////////////
94 // 90 //
95 libs: { 91 libs: {
96 value: {montage: false, canvas: false, montageId: null, canvasId: null} 92 value: null
97 }, 93 },
98 //////////////////////////////////////////////////////////////////// 94 ////////////////////////////////////////////////////////////////////
99 // 95 //
diff --git a/js/document/models/html.js b/js/document/models/html.js
index 6bdc6546..7064c6e3 100755
--- a/js/document/models/html.js
+++ b/js/document/models/html.js
@@ -23,6 +23,8 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, {
23 value:function() { 23 value:function() {
24 //Creating instance of the webGL helper for this model 24 //Creating instance of the webGL helper for this model
25 this.webGlHelper = webGlDocumentHelper.create(); 25 this.webGlHelper = webGlDocumentHelper.create();
26 //
27 this.libs = {montage: false, canvas: false, montageId: null, canvasId: null};
26 } 28 }
27 }, 29 },
28 //////////////////////////////////////////////////////////////////// 30 ////////////////////////////////////////////////////////////////////