Missing return

Thanks to @jdfreder for catching this in review!
Jason Grout 11 years ago
parent 49541066f1
commit 967d83104f

@ -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]);
}

Loading…
Cancel
Save