diff options
Diffstat (limited to 'includes/fetcher/node_modules/axios/lib/helpers/bind.js')
-rw-r--r-- | includes/fetcher/node_modules/axios/lib/helpers/bind.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/includes/fetcher/node_modules/axios/lib/helpers/bind.js b/includes/fetcher/node_modules/axios/lib/helpers/bind.js new file mode 100644 index 0000000..6147c60 --- /dev/null +++ b/includes/fetcher/node_modules/axios/lib/helpers/bind.js @@ -0,0 +1,11 @@ +'use strict'; + +module.exports = function bind(fn, thisArg) { + return function wrap() { + var args = new Array(arguments.length); + for (var i = 0; i < args.length; i++) { + args[i] = arguments[i]; + } + return fn.apply(thisArg, args); + }; +}; |