|
|
|
@ -34,6 +34,12 @@ function Executor () { |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @param {Object} options |
|
|
|
|
* options.this - Object to use as this |
|
|
|
|
* options.fn - Function to execute |
|
|
|
|
* options.arguments - Array of arguments |
|
|
|
|
*/ |
|
|
|
|
Executor.prototype.push = function () { |
|
|
|
|
this.queue.push.apply(this, arguments); |
|
|
|
|
}; |
|
|
|
|