diff options
Diffstat (limited to 'includes/external/school/node_modules/call-bind/callBound.js')
-rw-r--r-- | includes/external/school/node_modules/call-bind/callBound.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/includes/external/school/node_modules/call-bind/callBound.js b/includes/external/school/node_modules/call-bind/callBound.js deleted file mode 100644 index 8374adf..0000000 --- a/includes/external/school/node_modules/call-bind/callBound.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -var GetIntrinsic = require('get-intrinsic'); - -var callBind = require('./'); - -var $indexOf = callBind(GetIntrinsic('String.prototype.indexOf')); - -module.exports = function callBoundIntrinsic(name, allowMissing) { - var intrinsic = GetIntrinsic(name, !!allowMissing); - if (typeof intrinsic === 'function' && $indexOf(name, '.prototype.') > -1) { - return callBind(intrinsic); - } - return intrinsic; -}; |