Get tabulator code working in connector after upgrade, part 1

This commit is contained in:
Simon Kornblith 2012-05-05 15:52:02 -04:00
parent 6e3dfc45ee
commit fb521ea4ad

View File

@ -1,5 +1,5 @@
/* Set up the environment before loading the rest of the files into Zotero */
Zotero.RDF.AJAW = {
var $rdf = {
Util: {
ArrayIndexOf: function (arr, item, i) {
//supported in all browsers except IE<9
@ -29,4 +29,8 @@ Zotero.RDF.AJAW = {
alert: Zotero.debug
};
Zotero.RDF.AJAW.$rdf = Zotero.RDF.AJAW;
if(!Zotero.RDF) { // For connector
Zotero.RDF = {AJAW:$rdf};
} else { // For extension
Zotero.RDF.AJAW.$rdf = $rdf;
}