mirror of
https://github.com/zotero/zotero.git
synced 2026-10-03 02:21:49 +00:00
Mirror of https://github.com/zotero/zotero.git
QuickCopy.init() calls Style#getCiteProc(), and a side effect of citeproc-js locale initialization could cause a recursive call back to QuickCopy.init(), which would again call Style#getCiteProc() (after it had checked its cache but before it had added the new engine to it), leading to duplicate CSL.Engine initialization. Now we correctly check whether we've already been initialized, eliminating the race condition. Separately, remove async keyword from init(). It never actually was async - even before Bluebird removal, it didn't await anything or return a promise. And we can't make it await its pre-caching work because schemaUpdatePromise won't resolve until init() resolves/returns. |
||
|---|---|---|
| .github/workflows | ||
| app | ||
| chrome | ||
| defaults/preferences | ||
| js-build | ||
| note-editor@746463cd28 | ||
| pdf-worker@ffad6a977c | ||
| reader@a792fee895 | ||
| resource | ||
| scripts | ||
| scss | ||
| styles@aeaac039f1 | ||
| test | ||
| translators@484110c925 | ||
| types/gecko | ||
| .babelrc | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| chrome.manifest | ||
| CONTRIBUTING.md | ||
| COPYING | ||
| eslint.config.mjs | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
| update.rdf | ||
| version | ||
Zotero
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 documentation.