From 2a497c16eb0212cebc66cb0c1022020ce04aa64d Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Mon, 3 Nov 2014 14:46:49 -0800 Subject: [PATCH] load_file -> load --- IPython/html/static/notebook/js/notebook.js | 2 +- IPython/html/static/services/contents.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/static/notebook/js/notebook.js b/IPython/html/static/notebook/js/notebook.js index 8eec42fe0..f2e2b6732 100644 --- a/IPython/html/static/notebook/js/notebook.js +++ b/IPython/html/static/notebook/js/notebook.js @@ -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) }); diff --git a/IPython/html/static/services/contents.js b/IPython/html/static/services/contents.js index 305798f4b..9459da406 100644 --- a/IPython/html/static/services/contents.js +++ b/IPython/html/static/services/contents.js @@ -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,