Collections data layer cleanup
Get rid of data_access.js, at long last. Existing calls to Zotero.getCollections() will need to be replaced with Zotero.Collections.getByLibrary() or .getByParent(). Also removes Zotero.Collection::getCollections(), which is redundant with Zotero.Collections.getByLibrary(), and Zotero.Collections.add(). The latter didn't didn't include a libraryID anyway, so code might as well just use 'new Zotero.Collection' instead.
This commit is contained in:
parent
ef57b4e016
commit
ff7919553c
11 changed files with 109 additions and 187 deletions
|
@ -61,7 +61,6 @@ const xpcomFilesLocal = [
|
|||
'attachments',
|
||||
'cite',
|
||||
'cookieSandbox',
|
||||
'data_access',
|
||||
'data/dataObject',
|
||||
'data/dataObjects',
|
||||
'data/dataObjectUtilities',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue