[Pkg-mozext-commits] [itsalltext] 381/459: Removed the cleanCacheObj()
David Prévot
taffit at moszumanska.debian.org
Tue Feb 24 23:26:40 UTC 2015
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository itsalltext.
commit 2b2b9a41dc30ccb23e04acc26941da8d5eab4db6
Author: Christian Höltje <docwhat at gerf.org>
Date: Sat Aug 13 21:08:01 2011 -0400
Removed the cleanCacheObj()
It's not needed, so why have an empty function?
---
src/chrome/content/itsalltext.js | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index d2d7632..7983b71 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -326,29 +326,6 @@ var ItsAllText = function () {
// @todo [wish] Profiling and optimization.
- /**
- * Cleans out all old cache objects.
- */
- that.cleanCacheObjs = function () {
-// var count = 0,
-// cobj,
-// id,
-// cdoc;
-// for (id in that.tracker) {
-// if (that.tracker.hasOwnProperty(id)) {
-// cobj = that.tracker[id];
-// cdoc = cobj.node.ownerDocument;
-// if (!cdoc.defaultView || !cdoc.location) {
-// cobj.destroy();
-// cdoc = null;
-// delete that.tracker[id];
-// } else {
-// count += 1;
-// }
-// }
-// }
-// //disabled-debug -- that.debug('textarea count (tracker):', count);
- };
that.getFromTracker = function (id) {
var tracker;
@@ -569,7 +546,6 @@ var ItsAllText = function () {
}
var doc = event.originalTarget;
//disabled-debug -- that.debug("pageunload(): A page has been unloaded", doc && doc.location);
- that.cleanCacheObjs();
that.preference_observer.unregister();
that.monitor.destroy();
}, false);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git
More information about the Pkg-mozext-commits
mailing list