Created
December 23, 2014 11:46
-
-
Save acnalesso/dfb9702b3b077f5bf85a to your computer and use it in GitHub Desktop.
Queue#invoke
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
invoke: function(target, method, args, _, _errorRecordedForStack) { | |
if (args && args.length > 0) { | |
method.apply(target, args); | |
} else { | |
method.call(target); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment