##// END OF EJS Templates
Make error messages more consistent
Jason Grout -
Show More
@@ -325,7 +325,7 b' define(["widgets/js/manager",'
325
325
326 pop_child_view: function(child_model) {
326 pop_child_view: function(child_model) {
327 // Delete a child view that was previously created using create_child_view.
327 // Delete a child view that was previously created using create_child_view.
328 console.error("Deprecated use of WidgetView.pop_child_view; use a ViewList instead");
328 console.error("Deprecated pop_child_view; use a ViewList or similar class instead");
329 var view_ids = this.child_model_views[child_model.id];
329 var view_ids = this.child_model_views[child_model.id];
330 if (view_ids !== undefined) {
330 if (view_ids !== undefined) {
331
331
@@ -359,7 +359,7 b' define(["widgets/js/manager",'
359 // Callback that is called for each item added.
359 // Callback that is called for each item added.
360
360
361 // Walk the lists until an unequal entry is found.
361 // Walk the lists until an unequal entry is found.
362 console.error("Deprecated _do_diff; use a ViewList or related class instead");
362 console.error("Deprecated _do_diff; use a ViewList or similar class instead");
363
363
364 var i;
364 var i;
365 for (i = 0; i < new_list.length; i++) {
365 for (i = 0; i < new_list.length; i++) {
General Comments 0
You need to be logged in to leave comments. Login now