Get tabulator code working in connector after upgrade, part 1
This commit is contained in:
parent
6e3dfc45ee
commit
fb521ea4ad
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user