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

Unified Diff: Tools/GardeningServer/scripts/model_unittests.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: remove jquery script from ct-sheriff-o-matic 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
Index: Tools/GardeningServer/scripts/model_unittests.js
diff --git a/Tools/GardeningServer/scripts/model_unittests.js b/Tools/GardeningServer/scripts/model_unittests.js
index 441053376bba73a4d269c9baddbbb037ddb29052..cc1fc37a5486bc72a5557b278cce7b4f73e12651 100644
--- a/Tools/GardeningServer/scripts/model_unittests.js
+++ b/Tools/GardeningServer/scripts/model_unittests.js
@@ -109,7 +109,7 @@ asyncTest("updateRecentCommits", 2, function() {
model.updateRecentCommits().then(function() {
var recentCommits = model.state.recentCommits;
delete model.state.recentCommits;
- $.each(recentCommits, function(index, commitData) {
+ recentCommits.forEach(function(commitData) {
delete commitData.message;
});
deepEqual(recentCommits, [{

Powered by Google App Engine
This is Rietveld 408576698