From e5b79d3f4c8034e0ec8e18613d14f1e121826508 Mon Sep 17 00:00:00 2001 From: "Jessica B. Hamrick" Date: Thu, 29 Oct 2015 08:55:05 -0700 Subject: [PATCH] Rename cell:marking-changed to marked_changed.Cell --- notebook/static/notebook/js/cell.js | 2 +- notebook/static/notebook/js/notebook.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebook/static/notebook/js/cell.js b/notebook/static/notebook/js/cell.js index 809143efc..76c3897f1 100644 --- a/notebook/static/notebook/js/cell.js +++ b/notebook/static/notebook/js/cell.js @@ -299,7 +299,7 @@ define([ this.element.removeClass('marked'); } } - this.events.trigger('cell:marking-changed', {cell:this, value:value}); + this.events.trigger('marked_changed.Cell', {cell:this, value:value}); } }); diff --git a/notebook/static/notebook/js/notebook.js b/notebook/static/notebook/js/notebook.js index 567d87d84..b21cc35f5 100644 --- a/notebook/static/notebook/js/notebook.js +++ b/notebook/static/notebook/js/notebook.js @@ -186,7 +186,7 @@ define(function (require) { Notebook.prototype.bind_events = function () { var that = this; - this.events.on('cell:marking-changed', function(){ + this.events.on('marked_changed.Cell', function(){ that.update_marked_status(); });