summaryrefslogtreecommitdiff
path: root/public/vendor/codemirror/mode/nginx
diff options
context:
space:
mode:
authorWu Cheng-Han2016-01-17 14:28:04 -0600
committerWu Cheng-Han2016-01-17 14:28:04 -0600
commiteaa8ccaccb1091820d0a8d1223996a6dd057347d (patch)
tree6b4aaa3b3d1a2fed68147510142663222533775a /public/vendor/codemirror/mode/nginx
parentce65e58096d57ace02723d11a125673f9d48c293 (diff)
Upgrade CodeMirror to 5.10.1 and now support fullscreen, jump-to-line in editor
Diffstat (limited to '')
-rw-r--r--[-rwxr-xr-x]public/vendor/codemirror/mode/nginx/index.html4
-rw-r--r--[-rwxr-xr-x]public/vendor/codemirror/mode/nginx/nginx.js2
2 files changed, 3 insertions, 3 deletions
diff --git a/public/vendor/codemirror/mode/nginx/index.html b/public/vendor/codemirror/mode/nginx/index.html
index 5ffdc081..03cf6714 100755..100644
--- a/public/vendor/codemirror/mode/nginx/index.html
+++ b/public/vendor/codemirror/mode/nginx/index.html
@@ -1,5 +1,5 @@
-<!doctype html>
-
+<!doctype html>
+<head>
<title>CodeMirror: NGINX mode</title>
<meta charset="utf-8"/>
<link rel=stylesheet href="../../doc/docs.css">
diff --git a/public/vendor/codemirror/mode/nginx/nginx.js b/public/vendor/codemirror/mode/nginx/nginx.js
index 135b9cc7..00a32249 100755..100644
--- a/public/vendor/codemirror/mode/nginx/nginx.js
+++ b/public/vendor/codemirror/mode/nginx/nginx.js
@@ -173,6 +173,6 @@ CodeMirror.defineMode("nginx", function(config) {
};
});
-CodeMirror.defineMIME("text/nginx", "text/x-nginx-conf");
+CodeMirror.defineMIME("text/x-nginx-conf", "nginx");
});