From 9740c426667fd6a669965362d57f9a41edcd9584 Mon Sep 17 00:00:00 2001 From: Simon Kornblith Date: Sun, 24 Oct 2010 05:35:21 +0000 Subject: [PATCH] try to workaround death of explicit SJOW --- chrome/content/zotero/xpcom/zotero.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/chrome/content/zotero/xpcom/zotero.js b/chrome/content/zotero/xpcom/zotero.js index 8d1700f8f..0c51da5f6 100644 --- 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 */