(time)
| 20928 | if (options && typeof options.trailing === "boolean") trailing = options.trailing; |
| 20929 | if (options && typeof options.maxWait === "number" && !isNaN(options.maxWait)) maxWait = options.maxWait; |
| 20930 | var markExecuted = function(time) { |
| 20931 | if (timeoutId) { |
| 20932 | _this.clearTimeout(timeoutId); |
| 20933 | timeoutId = null; |
| 20934 | } |
| 20935 | lastExecuteTime = time; |
| 20936 | }; |
| 20937 | var invokeFunction = function(time) { |
| 20938 | markExecuted(time); |
| 20939 | lastResult = func.apply(_this._parent, lastArgs); |
no outgoing calls
no test coverage detected