Show More
@@ -100,7 +100,9 b' function($,' | |||
|
100 | 100 | |
|
101 | 101 | // Find and load the highlighting mode, |
|
102 | 102 | // first by mime-type, then by file extension |
|
103 | ||
|
103 | 104 | var modeinfo; |
|
105 | // mimetype is unset on file rename | |
|
104 | 106 | if (model.mimetype) { |
|
105 | 107 | modeinfo = CodeMirror.findModeByMIME(model.mimetype); |
|
106 | 108 | } |
General Comments 0
You need to be logged in to leave comments.
Login now