aboutsummaryrefslogtreecommitdiff
path: root/js/code-editor/ui
diff options
context:
space:
mode:
Diffstat (limited to 'js/code-editor/ui')
-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);