From 0b8f1a9a58f59d751ed0004d3c21520ffbc96930 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Sun, 14 Oct 2012 22:18:42 -0700 Subject: [PATCH] Add build dropdown to perf/index.html. [ci skip] Former-commit-id: 669acae55ee53819fe4155aa0020cd40db7d6843 --- perf/index.html | 34 ++++++++++-- perf/perf-ui.js | 128 +++++++++++++++++++++++++++++++++++++++++++ test/backbone.html | 2 +- test/index.html | 10 ++-- test/test-ui.js | 42 ++++++++------ test/underscore.html | 2 +- 6 files changed, 187 insertions(+), 31 deletions(-) create mode 100644 perf/perf-ui.js diff --git a/perf/index.html b/perf/index.html index 246a1ec20..31dc31788 100644 --- a/perf/index.html +++ b/perf/index.html @@ -13,17 +13,34 @@ position: absolute; left: -9999em; } + #FirebugUI { + top: 2em; + } + #perf-toolbar { + background-color: #EEE; + color: #5E740B; + font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; + font-size: small; + padding: 0.5em 0 0.5em 2em; + overflow: hidden; + } - - - +
+ + + + diff --git a/test/index.html b/test/index.html index 278db46d8..f48175b64 100644 --- a/test/index.html +++ b/test/index.html @@ -22,7 +22,7 @@ Object.keys = function() { return []; }; // load Lo-Dash and expose it to the bad `Object.keys` shim - document.write('