try to workaround death of explicit SJOW

This commit is contained in:
Simon Kornblith 2010-10-24 05:35:21 +00:00
parent 26edf1a3f9
commit 9740c42666

View File

@ -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
*/