[Pkg-mozext-commits] [nostalgy] 21/235: *** empty log message ***
David Prévot
taffit at alioth.debian.org
Tue Oct 8 20:41:28 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository nostalgy.
commit 8a634cb63e4291a7cfafbe31bd12082498fe372a
Author: frisch <frisch at 56b81dcf-5a2f-0410-9db0-014be2e416ff>
Date: Wed Aug 30 17:07:39 2006 +0000
*** empty log message ***
git-svn-id: http://nostalgy.googlecode.com/svn/trunk@21 56b81dcf-5a2f-0410-9db0-014be2e416ff
---
content/nostalgy.js | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
diff --git a/content/nostalgy.js b/content/nostalgy.js
index 5eb1909..f25c163 100644
--- a/content/nostalgy.js
+++ b/content/nostalgy.js
@@ -22,8 +22,10 @@ var NostalgyRules =
this._branch.QueryInterface(Components.interfaces.nsIPrefBranch2);
this._branch2.addObserver("", this, false);
this.get_rules();
- restrict_to_current_server =
- this._branch.getBoolPref("restrict_to_current_server");
+ try {
+ restrict_to_current_server =
+ this._branch.getBoolPref("restrict_to_current_server");
+ } catch (ex) { }
},
unregister: function()
@@ -34,12 +36,14 @@ var NostalgyRules =
get_rules: function()
{
- var r = eval(this._branch.getCharPref("rules"));
- var i;
- for (i = 0; i < r.length; i++) {
- r[i].contains = r[i].contains.toLowerCase();
- }
- this.rules = r;
+ try {
+ var r = eval(this._branch.getCharPref("rules"));
+ var i;
+ for (i = 0; i < r.length; i++) {
+ r[i].contains = r[i].contains.toLowerCase();
+ }
+ this.rules = r;
+ } catch (ex) { }
},
observe: function(aSubject, aTopic, aData)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/nostalgy.git
More information about the Pkg-mozext-commits
mailing list