From eaa8ccaccb1091820d0a8d1223996a6dd057347d Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Sun, 17 Jan 2016 14:28:04 -0600 Subject: Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor --- public/vendor/codemirror/mode/dockerfile/dockerfile.js | 5 ++++- public/vendor/codemirror/mode/dockerfile/index.html | 0 2 files changed, 4 insertions(+), 1 deletion(-) mode change 100755 => 100644 public/vendor/codemirror/mode/dockerfile/dockerfile.js mode change 100755 => 100644 public/vendor/codemirror/mode/dockerfile/index.html (limited to 'public/vendor/codemirror/mode/dockerfile') diff --git a/public/vendor/codemirror/mode/dockerfile/dockerfile.js b/public/vendor/codemirror/mode/dockerfile/dockerfile.js old mode 100755 new mode 100644 index 6d517750..4419009a --- a/public/vendor/codemirror/mode/dockerfile/dockerfile.js +++ b/public/vendor/codemirror/mode/dockerfile/dockerfile.js @@ -69,7 +69,10 @@ token: null, next: "start" } - ] + ], + meta: { + lineComment: "#" + } }); CodeMirror.defineMIME("text/x-dockerfile", "dockerfile"); diff --git a/public/vendor/codemirror/mode/dockerfile/index.html b/public/vendor/codemirror/mode/dockerfile/index.html old mode 100755 new mode 100644 -- cgit v1.2.3