Skip to content

Commit

Permalink
Merge pull request #5198 from bzinberg/zeros-crash
Browse files Browse the repository at this point in the history
Update CodeMirror dependency
  • Loading branch information
blink1073 authored May 15, 2020
2 parents b69f22a + cb38548 commit ebd2b57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"backbone": "components/backbone#~1.2",
"bootstrap": "bootstrap#~3.4",
"bootstrap-tour": "0.9.0",
"codemirror": "components/codemirror#~5.48.4",
"codemirror": "components/codemirror#~5.51.0",
"create-react-class": "https://cdn.jsdelivr.net/npm/create-react-class@15.6.3/create-react-class.min.js",
"es6-promise": "~1.0",
"font-awesome": "components/font-awesome#~4.7.0",
Expand Down
2 changes: 1 addition & 1 deletion notebook/static/base/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,7 @@ define([
// .mime
var info = (mode && mode.mode && mode.mime && mode) ||
CodeMirror.findModeByName(modename) ||
CodeMirror.findModeByExtension(modename.split(".").slice(-1)) ||
CodeMirror.findModeByExtension(modename.split(".").slice(-1)[0]) ||
CodeMirror.findModeByMIME(modename) ||
{mode: modename, mime: modename};

Expand Down

0 comments on commit ebd2b57

Please sign in to comment.