1 parent 577c86f commit 29a67aeCopy full SHA for 29a67ae
1 file changed
src/js/in_queue.js
@@ -150,12 +150,9 @@
150
// Arguments is not an array, so we turn it into one
151
input = Array.prototype.shift.call(parameterArray);
152
153
- // Custom callback rather than tracker method, called for each named tracker
+ // Custom callback rather than tracker method, called with trackerDictionary as the context
154
if (lodash.isFunction(input)) {
155
- var allNamedTrackers = getNamedTrackers()
156
- for (j = 0; j < allNamedTrackers.length; j++) {
157
- input.apply(allNamedTrackers[j], parameterArray);
158
- }
+ input.apply(trackerDictionary, parameterArray);
159
continue;
160
}
161
0 commit comments