diff options
author | Valerio Virgillito | 2012-06-26 13:15:26 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-06-26 13:15:26 -0700 |
commit | 87a8b62f71bb72274c3dd1fa389e88c12d482ebb (patch) | |
tree | bf9f995e2972c0a61355f24e64231cdf0b2c86b5 /js/document/models | |
parent | 8821e662484aedb027e26a873883e6ca3fb55a51 (diff) | |
parent | a95bba25c3ba6e31784a452e9b94748cc870ba5d (diff) | |
download | ninja-87a8b62f71bb72274c3dd1fa389e88c12d482ebb.tar.gz |
Merge pull request #323 from dhg637/binding
Binding View - Binding Tool & Binding Panel
Diffstat (limited to 'js/document/models')
-rwxr-xr-x | js/document/models/base.js | 13 | ||||
-rwxr-xr-x | js/document/models/html.js | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js index 8ff52132..1daec5c0 100755 --- a/js/document/models/base.js +++ b/js/document/models/base.js | |||
@@ -95,6 +95,19 @@ exports.BaseDocumentModel = Montage.create(Component, { | |||
95 | libs: { | 95 | libs: { |
96 | value: null | 96 | value: null |
97 | }, | 97 | }, |
98 | |||
99 | _mObjects: { | ||
100 | value: [] | ||
101 | }, | ||
102 | |||
103 | mObjects: { | ||
104 | get: function() { | ||
105 | return this._mObjects; | ||
106 | }, | ||
107 | set: function(value) { | ||
108 | this._mObjects = value; | ||
109 | } | ||
110 | }, | ||
98 | //////////////////////////////////////////////////////////////////// | 111 | //////////////////////////////////////////////////////////////////// |
99 | // | 112 | // |
100 | switchViewTo: { | 113 | switchViewTo: { |
diff --git a/js/document/models/html.js b/js/document/models/html.js index 4a232ee1..d9002b4e 100755 --- a/js/document/models/html.js +++ b/js/document/models/html.js | |||
@@ -68,9 +68,10 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, { | |||
68 | // | 68 | // |
69 | webGlHelper: { | 69 | webGlHelper: { |
70 | value: null | 70 | value: null |
71 | }, | 71 | } |
72 | //////////////////////////////////////////////////////////////////// | 72 | //////////////////////////////////////////////////////////////////// |
73 | //////////////////////////////////////////////////////////////////// | 73 | //////////////////////////////////////////////////////////////////// |
74 | |||
74 | }); | 75 | }); |
75 | //////////////////////////////////////////////////////////////////////// | 76 | //////////////////////////////////////////////////////////////////////// |
76 | //////////////////////////////////////////////////////////////////////// \ No newline at end of file | 77 | //////////////////////////////////////////////////////////////////////// \ No newline at end of file |