Add build dropdown to perf/index.html. [ci skip]

Former-commit-id: 669acae55ee53819fe4155aa0020cd40db7d6843
This commit is contained in:
John-David Dalton
2012-10-14 22:18:42 -07:00
parent 16748c0920
commit 0b8f1a9a58
6 changed files with 187 additions and 31 deletions

View File

@@ -22,7 +22,7 @@
Object.keys = function() { return []; };
// load Lo-Dash and expose it to the bad `Object.keys` shim
document.write('<script src="../' + QUnit.config.lodashFilename + '.js"><\/script>');
document.write('<script src="../' + ui.buildName + '.js"><\/script>');
</script>
<script>
// store Lo-Dash to test for bad shim detection
@@ -33,7 +33,7 @@
delete Object._keys;
// load Lo-Dash again to overwrite the existing `_` value
document.write('<script src="../' + QUnit.config.lodashFilename + '.js"><\/script>');
document.write('<script src="../' + ui.buildName + '.js"><\/script>');
// load test.js if not using require.js
document.write(QUnit.urlParams.norequire
@@ -51,9 +51,9 @@
'baseUrl': '../vendor/requirejs/',
'urlArgs': 't=' + (+new Date),
'paths': {
'lodash': '../../' + QUnit.config.lodashFilename,
'shimmed': './../../' + QUnit.config.lodashFilename,
'underscore': '../underscore/../../' + QUnit.config.lodashFilename
'lodash': '../../' + ui.buildName,
'shimmed': './../../' + ui.buildName,
'underscore': '../underscore/../../' + ui.buildName
},
'shim': {
'shimmed': {