DOC: Add comment.

This commit is contained in:
Scott Sanderson 2015-01-01 22:04:16 -05:00
parent 782ac56768
commit cbb196bb94

View File

@ -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);
}