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

Unified Diff: Tools/GardeningServer/scripts/base.js

Issue 362453003: Remove dead code. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 | « no previous file | Tools/GardeningServer/scripts/base_unittests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/GardeningServer/scripts/base.js
diff --git a/Tools/GardeningServer/scripts/base.js b/Tools/GardeningServer/scripts/base.js
index 7a783b3a3f6023ea85c285832c4958a851f65407..9ae9ec71b1fec5ba8341e5b91dfb2fb35996beae 100644
--- a/Tools/GardeningServer/scripts/base.js
+++ b/Tools/GardeningServer/scripts/base.js
@@ -92,19 +92,6 @@ base.filterDictionary = function(dictionary, predicate)
return result;
};
-base.mapDictionary = function(dictionary, functor)
-{
- var result = {};
-
- for (var key in dictionary) {
- var value = functor(dictionary[key]);
- if (typeof value !== 'undefined')
- result[key] = value;
- }
-
- return result;
-};
-
base.filterTree = function(tree, isLeaf, predicate)
{
var filteredTree = {};
« no previous file with comments | « no previous file | Tools/GardeningServer/scripts/base_unittests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698