From 00188c9818c7f208afefcb60258c2055a38a43fb Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Wed, 24 Apr 2013 23:40:41 -0700 Subject: [PATCH] Use `-1` as the selectedIndex of the drop down lists when a custom url is used in the perf suite. [ci skip] Former-commit-id: a3946b9a1d1e129b202606172803daf93afb1fbe --- perf/perf-ui.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/perf/perf-ui.js b/perf/perf-ui.js index eec01ee9f..e706359dc 100644 --- a/perf/perf-ui.js +++ b/perf/perf-ui.js @@ -131,8 +131,10 @@ case 'lodash-underscore': return 4; case 'lodash-custom-dev': return 5; case 'lodash-custom': return 6; + case 'lodash-modern': + case undefined: return 3; } - return 3; + return -1; }()); otherList.selectedIndex = (function() { @@ -145,8 +147,10 @@ case 'lodash-underscore': return 6; case 'lodash-custom-dev': return 7; case 'lodash-custom': return 8; + case 'underscore': + case undefined: return 1; } - return 1; + return -1; }()); addListener(buildList, 'change', eventHandler);