load_file -> load

pull/37/head
Thomas Kluyver 11 years ago
parent 1f2e4cc6c3
commit 2a497c16eb

@ -2115,7 +2115,7 @@ define([
this.notebook_name = notebook_name;
this.notebook_path = notebook_path;
this.events.trigger('notebook_loading.Notebook');
this.contents.load_file(notebook_path, notebook_name, {
this.contents.load(notebook_path, notebook_name, {
success: $.proxy(this.load_notebook_success, this),
error: $.proxy(this.load_notebook_error, this)
});

@ -77,7 +77,7 @@ define([
* @param {Function} success
* @param {Function} error
*/
Contents.prototype.load_file = function (path, name, options) {
Contents.prototype.load = function (path, name, options) {
// We do the call with settings so we can set cache to false.
var settings = {
processData : false,

Loading…
Cancel
Save