From 59b696535fc7fc5aa6e86e2f4bccbd027d768ad3 Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 26 Mar 2014 11:38:23 +0000 Subject: [PATCH] More comments --- src/mkws-team.js | 3 +++ 1 file changed, 3 insertions(+) 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 }; -- 1.7.10.4