mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
18 lines
373 B
JavaScript
18 lines
373 B
JavaScript
'use strict';
|
|
|
|
var bind = require('function-bind');
|
|
|
|
var GetIntrinsic = require('../GetIntrinsic');
|
|
|
|
var $Function = GetIntrinsic('%Function%');
|
|
var $apply = $Function.apply;
|
|
var $call = $Function.call;
|
|
|
|
module.exports = function callBind() {
|
|
return bind.apply($call, arguments);
|
|
};
|
|
|
|
module.exports.apply = function applyBind() {
|
|
return bind.apply($apply, arguments);
|
|
};
|