Skip to content

Commit d26041b

Browse files
authored
Bibliontology RDF: Fix implicit globals (#3594)
1 parent 5205b81 commit d26041b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Bibliontology RDF.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ function getBlankNode(attachToNode, itemPredicate, blankNodePairs, create) {
360360
* A class representing a Zotero-to-BIBO type mapping
361361
* @property zoteroType {String} The corresponding Zotero type name
362362
*/
363-
Type = function(type, typeDefinition) {
363+
var Type = function(type, typeDefinition) {
364364
this.zoteroType = type;
365365
this[ITEM] = {"pairs":typeDefinition[0]};
366366
this[SUBCONTAINER] = typeDefinition[1] ? {"alwaysAdd":typeDefinition[1][0],
@@ -586,7 +586,7 @@ Type.prototype.createNodes = function(item) {
586586
/**
587587
* A class representing a BIBO-to-Zotero literal property mapping
588588
*/
589-
LiteralProperty = function(field) {
589+
var LiteralProperty = function(field) {
590590
this.field = field;
591591
this.mapping = FIELDS[field];
592592
if (!this.mapping) {
@@ -642,7 +642,7 @@ LiteralProperty.prototype.mapFromItem = function(item, nodes) {
642642
/**
643643
* A class representing a BIBO-to-Zotero creator mapping
644644
*/
645-
CreatorProperty = function(field) {
645+
var CreatorProperty = function(field) {
646646
this.field = field;
647647
this.mapping = CREATORS[field];
648648
}

0 commit comments

Comments
 (0)