[Pkg-privacy-commits] [xul-ext-monkeysphere] 121/296: add back logBrowserInfo function that should not have been removed

Ximin Luo infinity0 at moszumanska.debian.org
Mon Aug 24 07:39:31 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 ed0bba869e49147d8a3ea1b170aa7bd0681a3596
Author: Jameson Rollins <jrollins at finestructure.net>
Date:   Sat Mar 6 14:17:35 2010 -0500

    add back logBrowserInfo function that should not have been removed
---
 chrome/content/monkeysphere.js | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/chrome/content/monkeysphere.js b/chrome/content/monkeysphere.js
index 67d4a5a..278143a 100644
--- a/chrome/content/monkeysphere.js
+++ b/chrome/content/monkeysphere.js
@@ -146,6 +146,14 @@ var monkeysphere = {
     }
   },
 
+  logBrowserInfo: function(browser) {
+    if (typeof browser.monkeysphere === 'undefined') {
+      monkeysphere.log('--> nothing yet');
+    } else {
+      monkeysphere.log('--> ' + browser.monkeysphere.message);
+    }
+  },
+
 ////////////////////////////////////////////////////////////
 // SITE URI CHECK FUNCTION
 ////////////////////////////////////////////////////////////

-- 
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