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
9c8b0cf118
commit
c1fe14659e
@ -675,10 +675,13 @@ 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) {
|
||||||
for (var key in obj) {
|
if (!this.isUndefined(obj)) {
|
||||||
|
var keys = Object.keys(obj);
|
||||||
|
keys.forEach((function (key) {
|
||||||
if (!this.isUndefined(obj[key])) {
|
if (!this.isUndefined(obj[key])) {
|
||||||
target[key] = obj[key];
|
target[key] = obj[key];
|
||||||
}
|
}
|
||||||
|
}).bind(this));
|
||||||
}
|
}
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
@ -687,10 +690,13 @@ 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) {
|
||||||
for (var key in obj) {
|
if (!this.isUndefined(obj)) {
|
||||||
|
var keys = Object.keys(obj);
|
||||||
|
keys.forEach((function (key) {
|
||||||
if (this.isUndefined(target[key])) {
|
if (this.isUndefined(target[key])) {
|
||||||
target[key] = obj[key];
|
target[key] = obj[key];
|
||||||
}
|
}
|
||||||
|
}).bind(this));
|
||||||
}
|
}
|
||||||
}, this);
|
}, this);
|
||||||
|
|
||||||
@ -725,11 +731,14 @@ return /******/ (function(modules) { // webpackBootstrap
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
for (var key in obj) {
|
if (this.isUndefined(obj)) return;
|
||||||
|
|
||||||
|
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