MCPcopy Index your code
hub / github.com/PixelsCommander/HTML-GL / r

Function r

page/js/dat.gui.js:2443–2463  ·  view source on GitHub ↗
(returned)

Source from the content-addressed store, hash-verified

2441 else if (controller instanceof NumberControllerBox) {
2442
2443 var r = function(returned) {
2444
2445 // Have we defined both boundaries?
2446 if (common.isNumber(controller.__min) && common.isNumber(controller.__max)) {
2447
2448 // Well, then lets just replace this with a slider.
2449 controller.remove();
2450 return add(
2451 gui,
2452 controller.object,
2453 controller.property,
2454 {
2455 before: controller.__li.nextElementSibling,
2456 factoryArgs: [controller.__min, controller.__max, controller.__step]
2457 });
2458
2459 }
2460
2461 return returned;
2462
2463 };
2464
2465 controller.min = common.compose(r, controller.min);
2466 controller.max = common.compose(r, controller.max);

Callers

nothing calls this directly

Calls 1

addFunction · 0.85

Tested by

no test coverage detected