##// END OF EJS Templates
load_file -> load
Thomas Kluyver -
Show More
@@ -2115,7 +2115,7 b' define(['
2115 this.notebook_name = notebook_name;
2115 this.notebook_name = notebook_name;
2116 this.notebook_path = notebook_path;
2116 this.notebook_path = notebook_path;
2117 this.events.trigger('notebook_loading.Notebook');
2117 this.events.trigger('notebook_loading.Notebook');
2118 this.contents.load_file(notebook_path, notebook_name, {
2118 this.contents.load(notebook_path, notebook_name, {
2119 success: $.proxy(this.load_notebook_success, this),
2119 success: $.proxy(this.load_notebook_success, this),
2120 error: $.proxy(this.load_notebook_error, this)
2120 error: $.proxy(this.load_notebook_error, this)
2121 });
2121 });
@@ -77,7 +77,7 b' define(['
77 * @param {Function} success
77 * @param {Function} success
78 * @param {Function} error
78 * @param {Function} error
79 */
79 */
80 Contents.prototype.load_file = function (path, name, options) {
80 Contents.prototype.load = function (path, name, options) {
81 // We do the call with settings so we can set cache to false.
81 // We do the call with settings so we can set cache to false.
82 var settings = {
82 var settings = {
83 processData : false,
83 processData : false,
General Comments 0
You need to be logged in to leave comments. Login now