[Pkg-privacy-commits] [xul-ext-monkeysphere] 88/296: add supposed fix to prevent memory issues

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:28 UTC 2015


This is an automated email from the git hooks/post-receive script.

infinity0 pushed a commit to branch debian
in repository xul-ext-monkeysphere.

commit cbaf03f5711a1595d7551cd354771fcd75b28c8d
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Wed Feb 17 01:13:19 2010 -0500

    add supposed fix to prevent memory issues
---
 chrome/content/monkeysphere.xul | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/chrome/content/monkeysphere.xul b/chrome/content/monkeysphere.xul
index 48e5a84..ca99c05 100644
--- a/chrome/content/monkeysphere.xul
+++ b/chrome/content/monkeysphere.xul
@@ -30,7 +30,11 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
   <script type="application/x-javascript" src="monkeysphere.js" />
 
   <script type="text/javascript">
-    window.addEventListener('load', monkeysphere.init, false);
+    <!--
+    https://developer.mozilla.org/en/DOM/element.addEventListener
+    see "Memory issues" section
+    -->
+    window.addEventListener('load', function() { monkeysphere.init(); }, false);
   </script>
 
   <statusbar id="status-bar">

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/xul-ext-monkeysphere.git



More information about the Pkg-privacy-commits mailing list