Use this.log() instead of mkws.log(), to get team-specific logging prefix.
authorMike Taylor <mike@indexdata.com>
Wed, 22 Oct 2014 16:24:29 +0000 (17:24 +0100)
committerMike Taylor <mike@indexdata.com>
Wed, 22 Oct 2014 16:24:29 +0000 (17:24 +0100)
src/mkws-popup.js

index 97156c0..48e375a 100644 (file)
@@ -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);