From: Mike Taylor Date: Wed, 26 Mar 2014 11:38:23 +0000 (+0000) Subject: More comments X-Git-Tag: 1.0.0~1201 X-Git-Url: http://sru.miketaylor.org.uk/?a=commitdiff_plain;h=59b696535fc7fc5aa6e86e2f4bccbd027d768ad3;p=mkws-moved-to-github.git More comments --- diff --git a/src/mkws-team.js b/src/mkws-team.js index 39941d6..e9e02e1 100644 --- a/src/mkws-team.js +++ b/src/mkws-team.js @@ -28,6 +28,8 @@ function team($, teamName) { var m_paz; // will be initialised below var m_template = {}; + + // Accessor methods for individual widgets: readers that.name = function() { return m_teamName; } that.submitted = function() { return m_submitted; } that.perpage = function() { return m_perpage; } @@ -37,6 +39,7 @@ function team($, teamName) { that.currentRecordData = function() { return m_currentRecordData; } that.filters = function() { return m_filters; } + // Accessor methods for individual widgets: writers that.set_sortOrder = function(val) { m_sortOrder = val }; that.set_perpage = function(val) { m_perpage = val };