commit 9740c426667fd6a669965362d57f9a41edcd9584 parent 26edf1a3f9a81f2b12f3c7dd261350875b3b5adc Author: Simon Kornblith <simon@simonster.com> Date: Sun, 24 Oct 2010 05:35:21 +0000 try to workaround death of explicit SJOW Diffstat:
| M | chrome/content/zotero/xpcom/zotero.js | | | 5 | +++++ |
1 file changed, 5 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js @@ -36,6 +36,11 @@ const ZOTERO_CONFIG = { PREF_BRANCH: 'extensions.zotero.' }; +// Fx4.0b8+ use implicit SJOWs; no creation necessary +if(!XPCSafeJSObjectWrapper) { + var XPCSafeJSObjectWrapper = function(arg) { return arg }; +} + /* * Core functions */