aboutsummaryrefslogtreecommitdiff
path: root/js/code-editor
diff options
context:
space:
mode:
authorAnanya Sen2012-05-02 10:40:10 -0700
committerAnanya Sen2012-05-02 10:40:10 -0700
commit0b3bfc68b49e2f74795d37b0adbd3fdc7b9b4b0a (patch)
treeb658934703f2361f5de527d0056edf13c9bc607f /js/code-editor
parenta1eec717b536f2f483983f094bd11bd6aa8f4691 (diff)
downloadninja-0b3bfc68b49e2f74795d37b0adbd3fdc7b9b4b0a.tar.gz
removing format button for now until fully implemented
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
Diffstat (limited to 'js/code-editor')
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html3
-rw-r--r--js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js2
2 files changed, 2 insertions, 3 deletions
diff --git a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html
index 0f335625..1fa0d783 100644
--- a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html
+++ b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.html
@@ -35,7 +35,6 @@
35 "element": {"#": "viewOptions"}, 35 "element": {"#": "viewOptions"},
36 "codeCompleteCheck":{"@": "codeCompleteCheck"}, 36 "codeCompleteCheck":{"@": "codeCompleteCheck"},
37 "zoomHottext":{"@":"zoomHottext"}, 37 "zoomHottext":{"@":"zoomHottext"},
38 "format":{"#": "format"},
39 "comment":{"#":"comment"}, 38 "comment":{"#":"comment"},
40 "uncomment":{"#":"uncomment"}, 39 "uncomment":{"#":"uncomment"},
41 "themeSelect":{"#":"themeSelect"}, 40 "themeSelect":{"#":"themeSelect"},
@@ -54,7 +53,7 @@
54 <span>Automatic Completion</span> 53 <span>Automatic Completion</span>
55 </div> 54 </div>
56 <div class="floatButtons"> 55 <div class="floatButtons">
57 <button disabled="disabled" id="format" value="format" class="nj-skinned format">Format</button> 56 <!--<button disabled="disabled" id="format" value="format" class="nj-skinned format">Format</button>-->
58 <button id="comment" value="comment" class="nj-skinned format">comment</button> 57 <button id="comment" value="comment" class="nj-skinned format">comment</button>
59 <button id="uncomment" value="uncomment" class="nj-skinned format">uncomment</button> 58 <button id="uncomment" value="uncomment" class="nj-skinned format">uncomment</button>
60 </div> 59 </div>
diff --git a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
index 6c0e3f05..07561580 100644
--- a/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
+++ b/js/code-editor/ui/code-editor-view-options.reel/code-editor-view-options.js
@@ -42,7 +42,7 @@ var CodeEditorViewOptions = exports.CodeEditorViewOptions = Montage.create(Compo
42 didDraw: { 42 didDraw: {
43 enumerable: false, 43 enumerable: false,
44 value: function() { 44 value: function() {
45 this.format.addEventListener("click", this.handleFormat.bind(this), false); 45 //this.format.addEventListener("click", this.handleFormat.bind(this), false);
46 this.comment.addEventListener("click", this.handleComment.bind(this), false); 46 this.comment.addEventListener("click", this.handleComment.bind(this), false);
47 this.uncomment.addEventListener("click", this.handleUncomment.bind(this), false); 47 this.uncomment.addEventListener("click", this.handleUncomment.bind(this), false);
48 this.themeSelect.addEventListener("change", this.handleThemeSelection.bind(this), false); 48 this.themeSelect.addEventListener("change", this.handleThemeSelection.bind(this), false);