Add simple.js addon
Dockerfile mode requires this js file
Also move addon's ontop of the modes, so that they are loaded before
the modes to prevent js error's when the mode's require them.
See:
https://github.com/codemirror/CodeMirror/blob/master/mode/dockerfile/index.html
Change-Id: Ic9d7d2fbd4b21885d5ffe91bc438c314a113b0a0
diff --git a/gr-editor/gr-editor.html b/gr-editor/gr-editor.html
index 612e9a6..d40ec8f 100644
--- a/gr-editor/gr-editor.html
+++ b/gr-editor/gr-editor.html
@@ -17,6 +17,16 @@
<link rel="import" href="gr-editor-styles.html">
<script src="../bower_components/codemirror-minified/lib/codemirror.js"></script>
+<script src="../bower_components/codemirror-minified/addon/edit/closebrackets.js"></script>
+<script src="../bower_components/codemirror-minified/addon/edit/closetag.js"></script>
+<script src="../bower_components/codemirror-minified/addon/edit/matchtags.js"></script>
+<script src="../bower_components/codemirror-minified/addon/edit/trailingspace.js"></script>
+<script src="../bower_components/codemirror-minified/addon/fold/foldcode.js" ></script>
+<script src="../bower_components/codemirror-minified/addon/fold/foldgutter.js" ></script>
+<script src="../bower_components/codemirror-minified/addon/fold/brace-fold.js" ></script>
+<script src="../bower_components/codemirror-minified/addon/fold/xml-fold.js" ></script>
+<script src="../bower_components/codemirror-minified/addon/fold/markdown-fold.js" ></script>
+<script src="../bower_components/codemirror-minified/addon/mode/simple.js"></script>
<script src="../bower_components/codemirror-minified/mode/meta.js"></script>
<script src="../bower_components/codemirror-minified/mode/clike/clike.js" ></script>
<script src="../bower_components/codemirror-minified/mode/clojure/clojure.js" ></script>
@@ -41,15 +51,6 @@
<script src="../bower_components/codemirror-minified/mode/velocity/velocity.js" ></script>
<script src="../bower_components/codemirror-minified/mode/xml/xml.js" ></script>
<script src="../bower_components/codemirror-minified/mode/yaml/yaml.js" ></script>
-<script src="../bower_components/codemirror-minified/addon/edit/closebrackets.js"></script>
-<script src="../bower_components/codemirror-minified/addon/edit/closetag.js"></script>
-<script src="../bower_components/codemirror-minified/addon/edit/matchtags.js"></script>
-<script src="../bower_components/codemirror-minified/addon/edit/trailingspace.js"></script>
-<script src="../bower_components/codemirror-minified/addon/fold/foldcode.js" ></script>
-<script src="../bower_components/codemirror-minified/addon/fold/foldgutter.js" ></script>
-<script src="../bower_components/codemirror-minified/addon/fold/brace-fold.js" ></script>
-<script src="../bower_components/codemirror-minified/addon/fold/xml-fold.js" ></script>
-<script src="../bower_components/codemirror-minified/addon/fold/markdown-fold.js" ></script>
<dom-module id="gr-editor">
<template>