mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some packages
This commit is contained in:
9
node_modules/core-js/modules/_inherit-if-required.js
generated
vendored
Normal file
9
node_modules/core-js/modules/_inherit-if-required.js
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
var isObject = require('./_is-object');
|
||||
var setPrototypeOf = require('./_set-proto').set;
|
||||
module.exports = function (that, target, C) {
|
||||
var S = target.constructor;
|
||||
var P;
|
||||
if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {
|
||||
setPrototypeOf(that, P);
|
||||
} return that;
|
||||
};
|
Reference in New Issue
Block a user