From a8e5e60031302ecc5b81d0cceaed6a0345dc5ef0 2014-12-09 01:18:09 From: Jonathan Frederic Date: 2014-12-09 01:18:09 Subject: [PATCH] Persistence API, This is a combination of 10 commits. Enable widget instanciation from front-end. Address @minrk 's review comments. Make API that allows users to persist widget state easily. Added support for view persistence Started adding support for model persistence. Half way there! Finished persistence API. Move persistence code into the widget framework. Fin. Bug fixes --- diff --git a/IPython/html/static/notebook/js/codecell.js b/IPython/html/static/notebook/js/codecell.js index d4a9e22..0e0d9f8 100644 --- a/IPython/html/static/notebook/js/codecell.js +++ b/IPython/html/static/notebook/js/codecell.js @@ -101,7 +101,7 @@ define([ this.last_msg_id = null; this.completer = null; - + this.widget_views = []; var config = utils.mergeopt(CodeCell, this.config); Cell.apply(this,[{ @@ -191,12 +191,19 @@ define([ .addClass('widget-subarea') .appendTo(widget_area); this.widget_subarea = widget_subarea; + var that = this; var widget_clear_buton = $('