Add mkws.limitCategory dispatcher for team.limitCategory
authorMike Taylor <mike@indexdata.com>
Tue, 22 Apr 2014 13:11:27 +0000 (14:11 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 22 Apr 2014 13:11:27 +0000 (14:11 +0100)
src/mkws-core.js

index d6433f4..11a4889 100644 (file)
@@ -182,6 +182,10 @@ mkws.limitQuery  = function(tname, field, value) {
     mkws.teams[tname].limitQuery(field, value);
 };
 
+mkws.limitCategory  = function(tname, id) {
+    mkws.teams[tname].limitCategory(id);
+};
+
 mkws.delimitTarget = function(tname, id) {
     mkws.teams[tname].delimitTarget(id);
 };