зеркало из https://github.com/mozilla/gecko-dev.git
5cfefa3927
This data is transient and only specific to the Editor's index react component. There is no need to share nor persist this data in Redux, this would avoid unecessary complexity/layers and avoid a few state updates. Note that the target.match(:hover) was probably a poorly documented way to prevent rending preview for token that are no longer hovered (the comment about whitespace sounds weird). Also tweak waitForSelectedSource to also wait for CodeMirror to be updated. Otherwise, we might try to hover tokens while CodeMirror is still udpating... While doing that, use the L10N string instead of the final localized string. Differential Revision: https://phabricator.services.mozilla.com/D180992 |
||
---|---|---|
.. | ||
browser.ini | ||
browser_async_storage.js | ||
browser_l10n_localizeMarkup.js |