From 0164fd32ca94153f765dd5470bf252cfd90ad337 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Thu, 20 Nov 2014 00:43:00 +0000 Subject: [PATCH] Make error messages more consistent --- IPython/html/static/widgets/js/widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IPython/html/static/widgets/js/widget.js b/IPython/html/static/widgets/js/widget.js index ca573fcde..f47bd4f73 100644 --- a/IPython/html/static/widgets/js/widget.js +++ b/IPython/html/static/widgets/js/widget.js @@ -325,7 +325,7 @@ define(["widgets/js/manager", pop_child_view: function(child_model) { // Delete a child view that was previously created using create_child_view. - console.error("Deprecated use of WidgetView.pop_child_view; use a ViewList instead"); + console.error("Deprecated pop_child_view; use a ViewList or similar class instead"); var view_ids = this.child_model_views[child_model.id]; if (view_ids !== undefined) { @@ -359,7 +359,7 @@ define(["widgets/js/manager", // Callback that is called for each item added. // Walk the lists until an unequal entry is found. - console.error("Deprecated _do_diff; use a ViewList or related class instead"); + console.error("Deprecated _do_diff; use a ViewList or similar class instead"); var i; for (i = 0; i < new_list.length; i++) {