From 92f0a7281a0db1af509bc8724cfed6ac8132ac0e Mon Sep 17 00:00:00 2001 From: Harvey Kandola Date: Thu, 3 Nov 2016 11:38:55 -0700 Subject: [PATCH] code mirror URL fixed --- app/app/components/section/code/type-editor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/app/components/section/code/type-editor.js b/app/app/components/section/code/type-editor.js index 37e6f5f6..14fb6f68 100644 --- a/app/app/components/section/code/type-editor.js +++ b/app/app/components/section/code/type-editor.js @@ -23,7 +23,7 @@ export default Ember.Component.extend(TooltipMixin, { this._super(...arguments); let self = this; - CodeMirror.modeURL = "codemirror/mode/%N/%N.js"; + CodeMirror.modeURL = "/codemirror/mode/%N/%N.js"; let rawBody = this.get('meta.rawBody'); let cleanBody = rawBody.replace("", "");