X-Git-Url: https://git.josue.xyz/?p=dotfiles%2F.git;a=blobdiff_plain;f=.config%2Fcoc%2Fextensions%2Fnode_modules%2Fcoc-prettier%2Fnode_modules%2Fcore-js%2Finternals%2Fentry-unbind.js;h=2f458630df2f94f0e9c778c38e7f6a94b479e15d;hp=69ead9b5252358e51444df86daae43563e8cc893;hb=3be0a9efc698a9570a44456009afc6014812625a;hpb=d2f432cc757f42f0318fdddcab8c00b240d47088 diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/entry-unbind.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/entry-unbind.js index 69ead9b5..2f458630 100644 --- a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/entry-unbind.js +++ b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/entry-unbind.js @@ -1,8 +1,6 @@ var global = require('../internals/global'); -var bind = require('../internals/function-bind-context'); +var uncurryThis = require('../internals/function-uncurry-this'); -var call = Function.call; - -module.exports = function (CONSTRUCTOR, METHOD, length) { - return bind(call, global[CONSTRUCTOR].prototype[METHOD], length); +module.exports = function (CONSTRUCTOR, METHOD) { + return uncurryThis(global[CONSTRUCTOR].prototype[METHOD]); };