- Change local key if remote item has different id but different key (which should mostly be with the Quick Start Guide)
- Moved common singleton data logic (for now, just getByKey()) into Zotero.DataObjects, and use that as template for other data objects
This commit is contained in:
parent
4450e12152
commit
96e88bda1e
9 changed files with 106 additions and 33 deletions
|
@ -14,14 +14,48 @@ var ZoteroWrapped = this;
|
|||
* Include the core objects to be stored within XPCOM
|
||||
*********************************************************************/
|
||||
|
||||
var xpcomFiles = ['zotero',
|
||||
'annotate', 'attachments', 'cite', 'collectionTreeView',
|
||||
'dataServer', 'data_access', 'data/item', 'data/items', 'data/collection',
|
||||
'data/collections', 'data/cachedTypes', 'data/creator', 'data/creators',
|
||||
'data/itemFields', 'data/notes', 'data/tag', 'data/tags', 'db', 'enstyle',
|
||||
'file', 'fulltext', 'id', 'ingester', 'integration', 'itemTreeView', 'mime',
|
||||
'notifier', 'progressWindow', 'proxy', 'quickCopy', 'report', 'schema', 'search',
|
||||
'sync', 'timeline', 'translate', 'utilities', 'zeroconf'];
|
||||
var xpcomFiles = [
|
||||
'zotero',
|
||||
'annotate',
|
||||
'attachments',
|
||||
'cite',
|
||||
'collectionTreeView',
|
||||
'dataServer',
|
||||
'data_access',
|
||||
'data/dataObjects',
|
||||
'data/cachedTypes',
|
||||
'data/item',
|
||||
'data/items',
|
||||
'data/collection',
|
||||
'data/collections',
|
||||
'data/creator',
|
||||
'data/creators',
|
||||
'data/itemFields',
|
||||
'data/notes',
|
||||
'data/tag',
|
||||
'data/tags',
|
||||
'db',
|
||||
'enstyle',
|
||||
'file',
|
||||
'fulltext',
|
||||
'id',
|
||||
'ingester',
|
||||
'integration',
|
||||
'itemTreeView',
|
||||
'mime',
|
||||
'notifier',
|
||||
'progressWindow',
|
||||
'proxy',
|
||||
'quickCopy',
|
||||
'report',
|
||||
'schema',
|
||||
'search',
|
||||
'sync',
|
||||
'timeline',
|
||||
'translate',
|
||||
'utilities',
|
||||
'zeroconf'
|
||||
];
|
||||
|
||||
for (var i=0; i<xpcomFiles.length; i++) {
|
||||
Cc["@mozilla.org/moz/jssubscript-loader;1"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue