Use zotero/translate and zotero/utilities for shared code

This commit is contained in:
Adomas Venčkauskas 2021-07-26 13:14:56 +03:00 committed by Adomas Ven
parent c929055571
commit 7814efcfe2
19 changed files with 337 additions and 527 deletions

View file

@ -502,7 +502,7 @@ describe("Zotero.DataObject", function() {
function makeObjectURI(objectType) {
var objectTypePlural = Zotero.DataObjectUtilities.getObjectTypePlural(objectType);
return 'http://zotero.org/groups/1/' + objectTypePlural + '/'
+ Zotero.Utilities.Internal.generateObjectKey();
+ Zotero.Utilities.generateObjectKey();
}
describe("#addRelation()", function () {