From: Mike Taylor Date: Fri, 2 May 2014 15:10:42 +0000 (+0100) Subject: The team-private findnode function is no longer made visible as the X-Git-Tag: 1.0.0~750 X-Git-Url: http://jsfdemo.indexdata.com/?a=commitdiff_plain;h=7bce6486a2b24a9289d1555140ed66ecdfa1bbf1;hp=084846fd874a094a8c5e70bee766d07e5b69e1b1;p=mkws-moved-to-github.git The team-private findnode function is no longer made visible as the team.findnode method. It's not actually been used for a while now, since widgets know their own nodes. Its continued existence is a bit of an embarrassment for various reasons, including its knowledge of how "AUTO" is special and the extremely complex jQuery selectors is generates in some cases. It would be good to get rid of it completely, but it's presently (ab)used for full-record display. Is there a good way to widgetify that? --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 4d65628..ab6eeb2 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -372,7 +372,6 @@ function team($, teamName) { //log('findnode(' + selector + ') found ' + node.length + ' nodes'); return node; } - that.findnode = findnode; // This much simpler and more efficient function should be usable