mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 04:40:05 +02:00
add some babel stuff
This commit is contained in:
12
node_modules/es-abstract/helpers/assign.js
generated
vendored
Normal file
12
node_modules/es-abstract/helpers/assign.js
generated
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
var has = Object.prototype.hasOwnProperty;
|
||||
module.exports = function assign(target, source) {
|
||||
if (Object.assign) {
|
||||
return Object.assign(target, source);
|
||||
}
|
||||
for (var key in source) {
|
||||
if (has.call(source, key)) {
|
||||
target[key] = source[key];
|
||||
}
|
||||
}
|
||||
return target;
|
||||
};
|
Reference in New Issue
Block a user