Find a file
Dan Stillman 9b53570968 Fix bibliographyTest breakage after d5cf33a798
d5cf33a798 adds a `yield` to bibliography.js, which runs in modal
windows (e.g., Create Bib), but there's a weird interaction between
Bluebird and modal dialogs that can result in hangs -- presumably
something to do with things being queued on the event loop but the modal
dialog preventing other code from running? This was breaking
bibliographyTest, but it seemed to work fine for me in normal usage,
waiting properly for a running styles initialization to finish. It's
possible this problem is limited to tests, but in the past, at least, I
apparently decided that this was a general problem with `yield` in modal
dialogs [1]. (See also: [2].) In any case, calling `yield
Zotero.Styles.init()` from the Create Bib window was hanging the test,
so for now do a synchronous check for style initialization to avoid it,
and we should make sure that `yield` actually works in other contexts.

[1] https://github.com/zotero/zotero/commit/99dd1c069776
[2] https://github.com/zotero/zotero/commit/c2dd531cec4
2017-04-13 05:20:36 -04:00
chrome Fix bibliographyTest breakage after d5cf33a798 2017-04-13 05:20:36 -04:00
components Adds a -debugger command-line flag to start the devtools server 2017-03-17 17:12:12 -04:00
defaults/preferences "Import"/"Import from Clipboard" shortcut key changes 2017-01-19 15:28:27 -05:00
resource Move My Publications into My Library 2017-04-12 19:26:58 -04:00
styles@76b981e84a Update submodules 2017-03-28 02:28:14 -04:00
test Fix test breakage after 5ff2a59f87 2017-04-13 00:15:05 -04:00
translators@abe4f99ee1 Update submodules 2017-03-28 02:28:14 -04:00
.gitattributes Fix enforcing of Unix newlines for SQL files 2016-02-26 18:37:44 -05:00
.gitmodules Add Chai-as-Promised 2015-09-18 03:34:03 -05:00
.travis.yml Enable 45 ESR for Travis, since it's still used on Windows 2017-01-24 02:53:26 -05:00
chrome.manifest Disable some incomplete locales (below 50% or so) 2017-02-23 15:11:17 -05:00
CONTRIBUTING.md Create CONTRIBUTING.md 2016-02-08 19:28:05 -05:00
COPYING Switch client code license to Affero GPL version 3 2011-05-18 18:34:22 +00:00
install.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00
README.md Merge branch '4.0' 2015-11-01 21:22:13 -05:00
update.rdf Update Fx minVersion to 45 2016-12-13 09:12:55 -05:00

Zotero

Build Status

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

Please post feature requests or bug reports to the Zotero Forums. If you're having trouble with Zotero, see Getting Help.

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