Private member variable "queues" renamed "m_queues".
authorMike Taylor <mike@indexdata.com>
Tue, 7 Oct 2014 13:19:07 +0000 (14:19 +0100)
committerMike Taylor <mike@indexdata.com>
Tue, 7 Oct 2014 13:19:07 +0000 (14:19 +0100)
(It should always have been this.)

src/mkws-team.js

index a8383e0..3894bad 100644 (file)
@@ -64,17 +64,17 @@ mkws.makeTeam = function($, teamName) {
   //    team.queue("eventName").subscribe(function(param1, param2 ...) { ... });
   //    team.queue("eventName").publish(arg1, arg2, ...);
   //
-  var queues = {};
+  var m_queues = {};
   function queue(id) {
-    if (!queues[id]) {
+    if (!m_queues[id]) {
       var callbacks = $.Callbacks();
-      queues[id] = {
+      m_queues[id] = {
         publish: callbacks.fire,
         subscribe: callbacks.add,
         unsubscribe: callbacks.remove
       };
     }
-    return queues[id];
+    return m_queues[id];
   };
   that.queue = queue;