CI to automate build of zotero tarball for zotero aport https://gitlab.alpinelinux.org/alpine/aports/-/tree/master/testing/zotero
Find a file
Dan Stillman 6b87c641d9 Experimental approach to cancelling unnecessary promises
If a view or other resources are destroyed while a promise is being
resolved, subsequent code can fail. This is generally harmless, but it
results in unnecessary errors being logged to the console.

To address this, promises can use a new function,
Zotero.Promise.check(), to test whether a value is truthy or 0 and
automatically throw a specific error that's ignored by the unhandled
rejection handler if not.

Example usage:

getAsync().tap(() => Zotero.Promise.check(this.win));

If this.win is cleaned up while getAsync() is being resolved, subsequent
lines won't be run, and nothing will be logged to the console.
2015-05-23 04:43:37 -04:00
chrome Experimental approach to cancelling unnecessary promises 2015-05-23 04:43:37 -04:00
components Load groups at startup, and make Zotero.Groups functions synchronous 2015-05-22 04:52:05 -04:00
defaults/preferences Remove default for lastViewedFolder pref 2015-05-13 11:20:12 -04:00
resource Experimental approach to cancelling unnecessary promises 2015-05-23 04:43:37 -04:00
styles@188e5914c7 Update submodules, repotime, and versions 2015-02-10 00:13:42 -05:00
test Attachment fixes 2015-05-23 04:43:37 -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
.travis.yml Reenable Travis testing 2015-05-19 04:07:45 -04: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 Update Travis badge for master branch 2015-05-22 03:00:58 -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.