load_file -> load

This commit is contained in:
Thomas Kluyver 2014-11-03 14:46:49 -08:00
parent 1f2e4cc6c3
commit 2a497c16eb
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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,