This commit is contained in:
Jeff Nusz 2016-08-17 13:19:18 -07:00
parent 6322ce6cd0
commit 1b3bac8c35
3 changed files with 7 additions and 5 deletions

View File

@ -8737,7 +8737,7 @@ return /******/ (function(modules) { // webpackBootstrap
} }
if (liBefore) { if (liBefore) {
gui.__ul.insertBefore(li, params.before); gui.__ul.insertBefore(li, liBefore);
} else { } else {
gui.__ul.appendChild(li); gui.__ul.appendChild(li);
} }
@ -8763,19 +8763,21 @@ return /******/ (function(modules) { // webpackBootstrap
_utilsCommon2['default'].extend(controller, { _utilsCommon2['default'].extend(controller, {
options: function options(_options) { options: function options(_options) {
if (arguments.length > 1) { if (arguments.length > 1) {
var nextSibling = controller.__li.nextElementSibling;
controller.remove(); controller.remove();
return _add(gui, controller.object, controller.property, { return _add(gui, controller.object, controller.property, {
before: controller.__li.nextElementSibling, before: nextSibling,
factoryArgs: [_utilsCommon2['default'].toArray(arguments)] factoryArgs: [_utilsCommon2['default'].toArray(arguments)]
}); });
} }
if (_utilsCommon2['default'].isArray(_options) || _utilsCommon2['default'].isObject(_options)) { if (_utilsCommon2['default'].isArray(_options) || _utilsCommon2['default'].isObject(_options)) {
var nextSibling = controller.__li.nextElementSibling;
controller.remove(); controller.remove();
return _add(gui, controller.object, controller.property, { return _add(gui, controller.object, controller.property, {
before: controller.__li.nextElementSibling, before: nextSibling,
factoryArgs: [_options] factoryArgs: [_options]
}); });
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long