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

Unified Diff: Tools/GardeningServer/scripts/summary-mock.js

Issue 359283003: Remove usages of jquery and add sugar.js from garden-o-matic. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: merge to ToT Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Tools/GardeningServer/scripts/rollbot.js ('k') | Tools/GardeningServer/scripts/svn-log.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/summary-mock.js
diff --git a/Tools/GardeningServer/scripts/summary-mock.js b/Tools/GardeningServer/scripts/summary-mock.js
index 2943c7f6b5d25b09a7d1c0f85b921a55f59aebe0..9acfdd8340b9f737062b663194d183836aecf22e 100644
--- a/Tools/GardeningServer/scripts/summary-mock.js
+++ b/Tools/GardeningServer/scripts/summary-mock.js
@@ -145,7 +145,7 @@ function createBuildersFailing(failingBuilderCount)
return buildersFailing
}
-$(document).ready(function() {
+window.addEventListener('DOMContentLoaded', function() {
var actions = new ui.notifications.Stream();
document.body.insertBefore(actions, document.body.firstChild);
« no previous file with comments | « Tools/GardeningServer/scripts/rollbot.js ('k') | Tools/GardeningServer/scripts/svn-log.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698