[Pkg-mozext-commits] [wot] 10/226: Removed the unused wot_util.dump function, can simply use JSON.stringify if necessary in future
David Prévot
taffit at moszumanska.debian.org
Fri May 1 00:35:29 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository wot.
commit 3f34a21decbc5f3707039ac96b7bac8b64552102
Author: Sami Tolvanen <sami at mywot.com>
Date: Sat Feb 25 22:10:04 2012 +0200
Removed the unused wot_util.dump function, can simply use JSON.stringify if necessary in future
---
content/util.js | 19 -------------------
1 file changed, 19 deletions(-)
diff --git a/content/util.js b/content/util.js
index 6465848..43e18bc 100644
--- a/content/util.js
+++ b/content/util.js
@@ -50,25 +50,6 @@ var wot_util =
}
return null;
- },
-
- dump: function(obj, level)
- {
- var i, tabs = "";
- level = level || 0;
-
- for (i = 0; i < level; i++) {
- tabs += "\t";
- }
-
- for (i in obj) {
- if (typeof(obj[i]) != "object") {
- dump(tabs + i + ": " + obj[i] + "\n");
- } else {
- dump(tabs + i + ": (object):\n");
- this.dump(obj[i], level + 1);
- }
- }
}
};
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/wot.git
More information about the Pkg-mozext-commits
mailing list