mirror of
https://github.com/dataarts/dat.gui.git
synced 2024-12-12 04:08:27 +00:00
latest build
This commit is contained in:
parent
b861ac82f1
commit
977177cb0b
@ -675,14 +675,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||||||
|
|
||||||
extend: function extend(target) {
|
extend: function extend(target) {
|
||||||
this.each(ARR_SLICE.call(arguments, 1), function (obj) {
|
this.each(ARR_SLICE.call(arguments, 1), function (obj) {
|
||||||
if (!this.isUndefined(obj)) {
|
var keys = this.isObject(obj) ? Object.keys(obj) : [];
|
||||||
var keys = Object.keys(obj);
|
keys.forEach((function (key) {
|
||||||
keys.forEach((function (key) {
|
if (!this.isUndefined(obj[key])) {
|
||||||
if (!this.isUndefined(obj[key])) {
|
target[key] = obj[key];
|
||||||
target[key] = obj[key];
|
}
|
||||||
}
|
}).bind(this));
|
||||||
}).bind(this));
|
|
||||||
}
|
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
return target;
|
return target;
|
||||||
@ -690,14 +688,12 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||||||
|
|
||||||
defaults: function defaults(target) {
|
defaults: function defaults(target) {
|
||||||
this.each(ARR_SLICE.call(arguments, 1), function (obj) {
|
this.each(ARR_SLICE.call(arguments, 1), function (obj) {
|
||||||
if (!this.isUndefined(obj)) {
|
var keys = this.isObject(obj) ? Object.keys(obj) : [];
|
||||||
var keys = Object.keys(obj);
|
keys.forEach((function (key) {
|
||||||
keys.forEach((function (key) {
|
if (this.isUndefined(target[key])) {
|
||||||
if (this.isUndefined(target[key])) {
|
target[key] = obj[key];
|
||||||
target[key] = obj[key];
|
}
|
||||||
}
|
}).bind(this));
|
||||||
}).bind(this));
|
|
||||||
}
|
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
return target;
|
return target;
|
||||||
@ -731,14 +727,11 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (this.isUndefined(obj)) return;
|
for (var key in obj) {
|
||||||
|
|
||||||
var keys = Object.keys(obj);
|
|
||||||
keys.forEach((function (key) {
|
|
||||||
if (itr.call(scope, obj[key], key) === this.BREAK) {
|
if (itr.call(scope, obj[key], key) === this.BREAK) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}).bind(this));
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
4
build/dat.gui.min.js
vendored
4
build/dat.gui.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user