Customizable routing-table widget hysteresis delay

This commit is contained in:
Tony Garnock-Jones 2014-03-10 15:18:08 -04:00
parent d1eb2c7af8
commit 8b158fd4eb
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
function spawnRoutingTableWidget(selector, fragmentClass) {
function spawnRoutingTableWidget(selector, fragmentClass, hysteresisDelay) {
hysteresisDelay = hysteresisDelay || 50;
function sortedBy(xs, f) {
var keys = [];
@ -97,7 +98,7 @@ function spawnRoutingTableWidget(selector, fragmentClass) {
self.updateState();
}
self.timer = false;
}), 50);
}), hysteresisDelay);
}
}
}