From 967d83104f1263909728d86c6214dcc9ccb80b07 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Wed, 10 Dec 2014 15:59:34 +0000 Subject: [PATCH] Missing return Thanks to @jdfreder for catching this in review! --- IPython/html/static/widgets/js/widget.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IPython/html/static/widgets/js/widget.js b/IPython/html/static/widgets/js/widget.js index 315b20508..b20e21d21 100644 --- a/IPython/html/static/widgets/js/widget.js +++ b/IPython/html/static/widgets/js/widget.js @@ -646,7 +646,7 @@ define(["widgets/js/manager", * returns a promise that resolves after this removal is done */ var that = this; - Promise.all(this.views).then(function(views) { + return Promise.all(this.views).then(function(views) { for (var i = 0; i < that.views.length; i++) { that._remove_view.call(that._handler_context, views[i]); }