aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-06-07 14:39:12 -0700
committerJose Antonio Marquez2012-06-07 14:39:12 -0700
commit8da49b093e01a62c5b2009da075c2ccd2b1b6f5a (patch)
tree03f5083d0dede93a98145e031c0487fb00a4839e /js/document
parent7d1a564a8fd246c621f674b5521554fbfc058281 (diff)
downloadninja-8da49b093e01a62c5b2009da075c2ccd2b1b6f5a.tar.gz
Fixing unique ID store
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 ////////////////////////////////////////////////////////////////////