diff options
author | Ananya Sen | 2012-02-02 03:30:54 -0800 |
---|---|---|
committer | Ananya Sen | 2012-02-02 03:30:54 -0800 |
commit | 87e247e74040b5e80ff40003d233d5317881102a (patch) | |
tree | 42bbe42d1af84ac35c792d720645f0a00ae6aa53 /js/io/document/html-document.js | |
parent | 8504b61aefb25fdab931f02c4568916d2bf8345c (diff) | |
download | ninja-87e247e74040b5e80ff40003d233d5317881102a.tar.gz |
fixed code view container, and switching code view
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/io/document/html-document.js')
-rwxr-xr-x | js/io/document/html-document.js | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/js/io/document/html-document.js b/js/io/document/html-document.js index c44dfe75..fc7dd05b 100755 --- a/js/io/document/html-document.js +++ b/js/io/document/html-document.js | |||
@@ -36,6 +36,13 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base | |||
36 | 36 | ||
37 | _zoomFactor: { value: 100, enumerable: false }, | 37 | _zoomFactor: { value: 100, enumerable: false }, |
38 | 38 | ||
39 | _codeEditor: { | ||
40 | value: { | ||
41 | "editor": { value: null, enumerable: false }, | ||
42 | "hline": { value: null, enumerable: false } | ||
43 | } | ||
44 | }, | ||
45 | |||
39 | // PUBLIC MEMBERS | 46 | // PUBLIC MEMBERS |
40 | cssLoadInterval: { value: null, enumerable: false }, | 47 | cssLoadInterval: { value: null, enumerable: false }, |
41 | 48 | ||
@@ -44,6 +51,11 @@ var HTMLDocument = exports.HTMLDocument = Montage.create(baseDocumentModule.Base | |||
44 | */ | 51 | */ |
45 | 52 | ||
46 | // GETTERS / SETTERS | 53 | // GETTERS / SETTERS |
54 | editor: { | ||
55 | get: function() { return this._codeEditor.editor; }, | ||
56 | set: function(value) { this._codeEditor.editor = value} | ||
57 | }, | ||
58 | |||
47 | selectionExclude: { | 59 | selectionExclude: { |
48 | get: function() { return this._selectionExclude; }, | 60 | get: function() { return this._selectionExclude; }, |
49 | set: function(value) { this._selectionExclude = value; } | 61 | set: function(value) { this._selectionExclude = value; } |