You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah its always been a global, lodash/underscore add it to the global namespace by default. We don't explicitly add a shim for this in discovery.config. We could do that, but there are a number of places expecting a global, just like with Backbone and a few others -- I have them ignored by the linter here: https://github.com/adsabs/bumblebee/blob/master/.eslintrc.json
If we add in the shim, we'll have to refactor some to include '_' in the deps (preferred, but might be a pain).
On Thu, Oct 15, 2020 at 12:41 PM Tim Hostetler ***@***.***> wrote:
Yeah its always been a global, lodash/underscore add it to the global
namespace by default. We don't explicitly add a shim for this in
discovery.config. We could do that, but there are a number of places
expecting a global, just like with Backbone and a few others -- I have them
ignored by the linter here:
https://github.com/adsabs/bumblebee/blob/master/.eslintrc.json
If we add in the shim, we'll have to refactor some to include '_' in the
deps (preferred, but might be a pain).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2074 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADEREXY4F4XFE6VOYQPJ53SK4Q4JANCNFSM4SRJANDQ>
.
Expected Behavior
'underscore' is normally imported by modules
Actual Behavior
https://github.com/adsabs/bumblebee/blob/master/src/js/widgets/facet/widget.js has no such import
yet
_.debounce()
calls probably succeedSuggests '_' is a global variable. Which it (normally) shouldn't be (conflicts)
Steps to Reproduce
The text was updated successfully, but these errors were encountered: