mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-12 11:45:38 +08:00
DOC: Add comment.
This commit is contained in:
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…
Reference in New Issue
Block a user