Refactor utilities code in preparation to move to external repo

This commit is contained in:
Adomas Venčkauskas 2021-04-02 11:50:32 +03:00 committed by Adomas Ven
parent e0bc873bce
commit c929055571
15 changed files with 368 additions and 461 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.generateObjectKey();
+ Zotero.Utilities.Internal.generateObjectKey();
}
describe("#addRelation()", function () {