diff options
Diffstat (limited to 'js/document/models/html.js')
-rwxr-xr-x | js/document/models/html.js | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/js/document/models/html.js b/js/document/models/html.js index a367f95f..6bdc6546 100755 --- a/js/document/models/html.js +++ b/js/document/models/html.js | |||
@@ -40,22 +40,32 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, { | |||
40 | scrollLeft: { | 40 | scrollLeft: { |
41 | value: null | 41 | value: null |
42 | }, | 42 | }, |
43 | 43 | //////////////////////////////////////////////////////////////////// | |
44 | // | ||
44 | scrollTop: { | 45 | scrollTop: { |
45 | value: null | 46 | value: null |
46 | }, | 47 | }, |
47 | 48 | //////////////////////////////////////////////////////////////////// | |
49 | // | ||
48 | userContentLeft: { | 50 | userContentLeft: { |
49 | value: null | 51 | value: null |
50 | }, | 52 | }, |
51 | 53 | //////////////////////////////////////////////////////////////////// | |
54 | // | ||
52 | userContentTop: { | 55 | userContentTop: { |
53 | value: null | 56 | value: null |
54 | }, | 57 | }, |
55 | //////////////////////////////////////////////////////////////////// | 58 | //////////////////////////////////////////////////////////////////// |
56 | // | 59 | //TODO: Convert to bindings |
60 | documentRoot: { | ||
61 | get: function() {return this.views.design._documentRoot;}, | ||
62 | set: function(value) {this.views.design._documentRoot = value;} | ||
63 | }, | ||
64 | //////////////////////////////////////////////////////////////////// | ||
65 | //TODO: Convert to bindings | ||
57 | baseHref: { | 66 | baseHref: { |
58 | value: null | 67 | get: function() {return this.views.design._baseHref;}, |
68 | set: function(value) {this.views.design._baseHref = value;} | ||
59 | }, | 69 | }, |
60 | //////////////////////////////////////////////////////////////////// | 70 | //////////////////////////////////////////////////////////////////// |
61 | // | 71 | // |
@@ -63,11 +73,6 @@ exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, { | |||
63 | value: null | 73 | value: null |
64 | }, | 74 | }, |
65 | //////////////////////////////////////////////////////////////////// | 75 | //////////////////////////////////////////////////////////////////// |
66 | // | ||
67 | documentRoot: { | ||
68 | value: null | ||
69 | } | ||
70 | //////////////////////////////////////////////////////////////////// | ||
71 | //////////////////////////////////////////////////////////////////// | 76 | //////////////////////////////////////////////////////////////////// |
72 | }); | 77 | }); |
73 | //////////////////////////////////////////////////////////////////////// | 78 | //////////////////////////////////////////////////////////////////////// |