From eead7d3fd66fffa2e754907a958676de59c13327 Mon Sep 17 00:00:00 2001 From: Jonathan Frederic Date: Thu, 10 Dec 2015 09:51:29 -0800 Subject: [PATCH] Remove deprecation pill --- notebook/static/notebook/js/notebook.js | 2 -- notebook/static/notebook/js/notificationarea.js | 3 --- 2 files changed, 5 deletions(-) diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index d6e5cda8a..e50f4c2ec 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -847,7 +847,6 @@ define(function (require) { */ Notebook.prototype.move_cell_up = function (index) { console.warn('Notebook.move_cell_up is deprecated as of v4.1 and will be removed in v5.0'); - this.events.trigger('deprecated.Notebook', 'Move cell up will be removed in v5.0'); var i = this.index_or_selected(index); if (this.is_valid_cell_index(i) && i > 0) { @@ -874,7 +873,6 @@ define(function (require) { */ Notebook.prototype.move_cell_down = function (index) { console.warn('Notebook.move_cell_down is deprecated as of v4.1 and will be removed in v5.0'); - this.events.trigger('deprecated.Notebook', 'Move cell down will be removed in v5.0'); var i = this.index_or_selected(index); if (this.is_valid_cell_index(i) && this.is_valid_cell_index(i+1)) { diff --git a/notebook/static/notebook/js/notificationarea.js b/notebook/static/notebook/js/notificationarea.js index b3feeaaf7..8f010c9e5 100644 --- a/notebook/static/notebook/js/notificationarea.js +++ b/notebook/static/notebook/js/notificationarea.js @@ -305,9 +305,6 @@ define([ this.events.on('notebook_copy_failed.Notebook', function (evt, error) { nnw.warning(error.message || "Notebook copy failed"); }); - this.events.on('deprecated.Notebook', function (evt, message) { - nnw.warning(message, 2000); - }); // Checkpoint events this.events.on('checkpoint_created.Notebook', function (evt, data) {