DOC: Add comment.

Scott Sanderson 11 years ago
parent 782ac56768
commit cbb196bb94

@ -100,7 +100,9 @@ function($,
// Find and load the highlighting mode,
// first by mime-type, then by file extension
var modeinfo;
// mimetype is unset on file rename
if (model.mimetype) {
modeinfo = CodeMirror.findModeByMIME(model.mimetype);
}

Loading…
Cancel
Save