From 8d43b38a531101963703b6e98681d0de683298ff Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 15 May 2014 11:15:52 +0100 Subject: [PATCH] Various widgets now use w.jqnode instead of $(w.node), and remaining uses of $(x) are changed to mkws.$(x) --- src/mkws-widget-authname.js | 2 +- src/mkws-widget-builder.js | 4 ++-- src/mkws-widget-categories.js | 2 +- src/mkws-widget-log.js | 2 +- src/mkws-widget-main.js | 40 +++++++++++++++++++--------------------- src/mkws-widget-termlists.js | 10 +++++----- 6 files changed, 29 insertions(+), 31 deletions(-) diff --git a/src/mkws-widget-authname.js b/src/mkws-widget-authname.js index 02cce99..abca07e 100644 --- a/src/mkws-widget-authname.js +++ b/src/mkws-widget-authname.js @@ -2,6 +2,6 @@ mkws.registerWidgetType('Authname', function() { var that = this; this.team.queue("authenticated").subscribe(function(authName) { - $(that.node).html(authName); + that.jqnode.html(authName); }); }); diff --git a/src/mkws-widget-builder.js b/src/mkws-widget-builder.js index 22f016d..2092a75 100644 --- a/src/mkws-widget-builder.js +++ b/src/mkws-widget-builder.js @@ -2,11 +2,11 @@ mkws.registerWidgetType('Builder', function() { var that = this; var team = this.team; - this.button = $('