mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-21 04:10:17 +08:00
Fix two calls to utils.reject (misplaced parens)
This commit is contained in:
parent
c70f687c0e
commit
18ff9c5e1c
@ -396,7 +396,7 @@ define(["widgets/js/manager",
|
||||
}
|
||||
}
|
||||
that.comm.send({method: 'backbone', sync_data: state, buffer_keys: buffer_keys}, callbacks, {}, buffers);
|
||||
}).catch(utils.reject("Couldn't send widget sync message"), true)
|
||||
}).catch(utils.reject("Couldn't send widget sync message", true))
|
||||
.catch(function(error) {
|
||||
that.pending_msgs--;
|
||||
return error;
|
||||
@ -480,7 +480,7 @@ define(["widgets/js/manager",
|
||||
*/
|
||||
var that = this;
|
||||
options = $.extend({ parent: this }, options || {});
|
||||
return this.model.widget_manager.create_view(child_model, options).catch(utils.reject("Couldn't create child view"), true);
|
||||
return this.model.widget_manager.create_view(child_model, options).catch(utils.reject("Couldn't create child view", true));
|
||||
},
|
||||
|
||||
callbacks: function(){
|
||||
|
Loading…
Reference in New Issue
Block a user