Skip to content

Commit

Permalink
Merge pull request #987 from jcb91/init_cell
Browse files Browse the repository at this point in the history
[init_cell] fix typo in options-loading code
  • Loading branch information
jcb91 authored May 15, 2017
2 parents 9ff70e9 + ba6bbb7 commit c463b9b
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ define([
}
},
function getter (cell) {
// if init_cell is undefined, it'll be interpreted as false anyway
// if init_cell is undefined, it'll be interpreted as false anyway
return cell.metadata.init_cell;
}
);
Expand Down Expand Up @@ -72,7 +72,7 @@ define([
// setup things to run on loading config/notebook
Jupyter.notebook.config.loaded
.then(function update_options_from_config () {
$.extend(true, options, Jupyter.notebook.config[mod_name]);
$.extend(true, options, Jupyter.notebook.config.data[mod_name]);
}, function (reason) {
console.warn(log_prefix, 'error loading config:', reason);
})
Expand All @@ -85,7 +85,7 @@ define([
console.error(log_prefix, 'unhandled error:', reason);
});
};

function callback_notebook_loaded () {
// update from metadata
var md_opts = Jupyter.notebook.metadata[mod_name];
Expand Down

0 comments on commit c463b9b

Please sign in to comment.