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