Skip to content

Commit

Permalink
Add mime-type application/x-javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
abique authored and marijnh committed Jun 23, 2014
1 parent 11b74a0 commit f7b4edf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mode/javascript/javascript.js
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@ CodeMirror.registerHelper("wordChars", "javascript", /[\\w$]/);
CodeMirror.defineMIME("text/javascript", "javascript");
CodeMirror.defineMIME("text/ecmascript", "javascript");
CodeMirror.defineMIME("application/javascript", "javascript");
CodeMirror.defineMIME("application/x-javascript", "javascript");
CodeMirror.defineMIME("application/ecmascript", "javascript");
CodeMirror.defineMIME("application/json", {name: "javascript", json: true});
CodeMirror.defineMIME("application/x-json", {name: "javascript", json: true});
Expand Down

0 comments on commit f7b4edf

Please # to comment.