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
This commit is contained in:
John-David Dalton
2013-04-24 23:40:41 -07:00
parent 499232f0e6
commit 00188c9818

View File

@@ -131,8 +131,10 @@
case 'lodash-underscore': return 4; case 'lodash-underscore': return 4;
case 'lodash-custom-dev': return 5; case 'lodash-custom-dev': return 5;
case 'lodash-custom': return 6; case 'lodash-custom': return 6;
case 'lodash-modern':
case undefined: return 3;
} }
return 3; return -1;
}()); }());
otherList.selectedIndex = (function() { otherList.selectedIndex = (function() {
@@ -145,8 +147,10 @@
case 'lodash-underscore': return 6; case 'lodash-underscore': return 6;
case 'lodash-custom-dev': return 7; case 'lodash-custom-dev': return 7;
case 'lodash-custom': return 8; case 'lodash-custom': return 8;
case 'underscore':
case undefined: return 1;
} }
return 1; return -1;
}()); }());
addListener(buildList, 'change', eventHandler); addListener(buildList, 'change', eventHandler);