Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Side by Side Diff: third_party/coverage-3.7.1/coverage/htmlfiles/coverage_html.js

Issue 225633007: Upgrade to coverage 3.7.1 and have it auto-build itself on first use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: sigh our imports are a mess Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Coverage.py HTML report browser code. 1 // Coverage.py HTML report browser code.
2 /*jslint browser: true, sloppy: true, vars: true, plusplus: true, maxerr: 50, in dent: 4 */ 2 /*jslint browser: true, sloppy: true, vars: true, plusplus: true, maxerr: 50, in dent: 4 */
3 /*global coverage: true, document, window, $ */ 3 /*global coverage: true, document, window, $ */
4 4
5 coverage = {}; 5 coverage = {};
6 6
7 // Find all the elements with shortkey_* class, and use them to assign a shotrtc ut key. 7 // Find all the elements with shortkey_* class, and use them to assign a shotrtc ut key.
8 coverage.assign_shortkeys = function () { 8 coverage.assign_shortkeys = function () {
9 $("*[class*='shortkey_']").each(function (i, e) { 9 $("*[class*='shortkey_']").each(function (i, e) {
10 $.each($(e).attr("class").split(" "), function (i, c) { 10 $.each($(e).attr("class").split(" "), function (i, c) {
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 } 367 }
368 }; 368 };
369 369
370 coverage.scroll_window = function (to_pos) { 370 coverage.scroll_window = function (to_pos) {
371 $("html,body").animate({scrollTop: to_pos}, 200); 371 $("html,body").animate({scrollTop: to_pos}, 200);
372 }; 372 };
373 373
374 coverage.finish_scrolling = function () { 374 coverage.finish_scrolling = function () {
375 $("html,body").stop(true, true); 375 $("html,body").stop(true, true);
376 }; 376 };
OLDNEW
« no previous file with comments | « third_party/coverage-3.7.1/coverage/html.py ('k') | third_party/coverage-3.7.1/coverage/htmlfiles/index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698