From: Mike Taylor Date: Wed, 22 Oct 2014 16:24:29 +0000 (+0100) Subject: Use this.log() instead of mkws.log(), to get team-specific logging prefix. X-Git-Tag: 1.0.0~138^2~1 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=b52fe35e3502a1e65a5e1abe5fa1a18aa2c9ea6b;p=mkws-moved-to-github.git Use this.log() instead of mkws.log(), to get team-specific logging prefix. --- diff --git a/src/mkws-popup.js b/src/mkws-popup.js index 97156c0..48e375a 100644 --- a/src/mkws-popup.js +++ b/src/mkws-popup.js @@ -6,7 +6,7 @@ // $(document).ready(function () { mkws.registerWidgetType('popup', function() { var $ = mkws.$; - var debug = mkws.log; + var debug = this.log; debug("init popup window"); var popup_window = $(this.node);