Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.
Go to file
Dan Stillman f8ac21d891 Return object instead of array from Zotero.DataObjects.getLibraryAndKeyFromID()
Object contains 'libraryID' and 'key' properties

This is due to changed array destructuring behavior in Firefox. Previously,
`var [foo, bar] = maybeArrayMaybeFalse()` always worked, leaving foo and bar
undefined if the function returned false. Now (with ES6, I assume), if the
function returns false it results in a "false[Symbol.iterator] is not a
function" error. But `var {libraryID, key} = false` works as expected, leaving
both values undefined, so instead we can just return an object with those
properties from getLibraryAndKeyFromID(). To assign to different variables, use
`var {libraryID, key: parentItemKey} = ...`.
2015-04-25 03:17:41 -04:00
chrome Return object instead of array from Zotero.DataObjects.getLibraryAndKeyFromID() 2015-04-25 03:17:41 -04:00
components Add -b option to skip translator/style installation in tests 2015-04-16 20:50:15 -04:00
defaults/preferences Merge branch '4.0' into api_syncing 2015-03-16 23:41:10 -04:00
resource Remove some excessive error logging from Bluebird 2015-04-25 03:17:41 -04:00
styles@188e5914c7 Update submodules, repotime, and versions 2015-02-10 00:13:42 -05:00
test Rework DB transaction handling 2015-04-25 03:17:41 -04:00
translators@daa1a05939 Update translators 2015-02-10 22:52:53 -05:00
.gitmodules Unit testing infrastructure 2015-03-07 16:34:55 -05:00
chrome.manifest Add Ukrainian locale 2014-05-16 14:51:49 -04:00
COPYING Switch client code license to Affero GPL version 3 2011-05-18 18:34:22 +00:00
install.rdf Merge branch '4.0' into api_syncing 2015-04-13 02:01:43 -04:00
README.md Add Travis status to README.md 2015-03-09 20:03:06 -04:00
update.rdf Merge branch '4.0' into api_syncing 2015-04-13 02:01:43 -04:00

Zotero

Build Status

Zotero is a free, easy-to-use tool to help you collect, organize, cite, and share your research sources.

For more information on how to use this source code, see the Zotero wiki.