From 80ed43707b9378c84c5df7d2d01506a151f1cb1a Mon Sep 17 00:00:00 2001 From: Johan Flint Date: Tue, 13 Oct 2015 13:16:14 +0200 Subject: [PATCH] Remove unnecessary logging Use breakpoints in your browser instead. --- src/WidgetName/widget/WidgetName.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/WidgetName/widget/WidgetName.js b/src/WidgetName/widget/WidgetName.js index f7a747d..261850c 100644 --- a/src/WidgetName/widget/WidgetName.js +++ b/src/WidgetName/widget/WidgetName.js @@ -66,15 +66,12 @@ define([ // dijit._WidgetBase.postCreate is called after constructing the widget. Implement to do extra setup work. postCreate: function() { - console.log(this.id + ".postCreate"); this._updateRendering(); this._setupEvents(); }, // mxui.widget._WidgetBase.update is called when context is changed or initialized. Implement to re-render and / or fetch data. update: function(obj, callback) { - console.log(this.id + ".update"); - this._contextObj = obj; this._resetSubscriptions(); this._updateRendering(); @@ -126,7 +123,7 @@ define([ //TODO what to do when all is ok! }, error: dojoLang.hitch(this, function(error) { - console.log(this.id + ": An error occurred while executing microflow: " + error.description); + console.error(this.id + ": An error occurred while executing microflow: " + error.description); }) }, this); }