diff --git a/IPython/html/static/base/js/utils.js b/IPython/html/static/base/js/utils.js
index aeec8a3ee..ff9febf9c 100644
--- a/IPython/html/static/base/js/utils.js
+++ b/IPython/html/static/base/js/utils.js
@@ -633,6 +633,21 @@ define([
});
};
+ var resolve_dict = function(d) {
+ var keys = Object.keys(d);
+ var values = [];
+ keys.forEach(function(key) {
+ values.push(key);
+ });
+ return Promise.all(values).then(function(v) {
+ d = {};
+ for(var i=0; i');
that.$box.append(dummy);
this.create_child_view(model).then(function(view) {
- dummy.replaceWith(view.$el);
+ dummy.replaceWith(view.el);
// Trigger the displayed event of the child view.
that.after_displayed(function() {
view.trigger('displayed');
});
- }, $.proxy(console.error, console));
+ });
},
});