aboutsummaryrefslogtreecommitdiff
path: root/js/document/views
diff options
context:
space:
mode:
authorJose Antonio Marquez Russo2012-07-25 13:16:39 -0700
committerJose Antonio Marquez Russo2012-07-25 13:16:39 -0700
commit713278ed8a665122b7981769f3404958629f6a3d (patch)
tree8a180716f60bf87073233732753da65711c28732 /js/document/views
parentbb2f1d0e9a559f44348e95ad726801a5031aea3a (diff)
parente7509af2b2fad6ab23ea07e6e46e88a4ee0d03f1 (diff)
downloadninja-713278ed8a665122b7981769f3404958629f6a3d.tar.gz
Merge pull request #47 from ananyasen/Document
Code view fixes.
Diffstat (limited to 'js/document/views')
-rw-r--r--js/document/views/design-code.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/js/document/views/design-code.js b/js/document/views/design-code.js
index 44d12549..bf6e186f 100644
--- a/js/document/views/design-code.js
+++ b/js/document/views/design-code.js
@@ -70,12 +70,11 @@ exports.DesignCodeView = Montage.create(CodeDocumentView, {
70 // 70 //
71 show: { 71 show: {
72 value: function (callback) { 72 value: function (callback) {
73 this.textViewContainer.setAttribute("class", "codeViewContainer cm-s-default");
73 74
74 this.textViewContainer.style.display = "block"; 75 this.textViewContainer.style.display = "block";
75 this.textViewContainer.style.background = "white"; 76
76 this.textViewContainer.style.height = "100%"; 77 //todo : update options bar
77
78 //todo : update options bar
79 78
80 // 79 //
81 if (callback) callback(); 80 if (callback) callback();