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
_.functions is not a function
_.contains is not a function
_.flatten is not a function
_.VERSION
"4.13.1"
This usually but not always happens. Looks like a recent version of Lodash removed contains as an alias. Seems like sometimes Lodash loads and overwrites this version of Underscore. But I can't figure out how Lodash is even getting on the page lol.
[BVP] BloombergVideoPlayer: TypeError: _.cloneDeep is not a function
at new e (app.js:4)
at Function.value (app.js:4)
at t.value (app.js:5)
And I think @1wheel's fix is a race condition thing, so like 1 in 20 times the video works and nothing else does. (I shoulda grabbed the log that 1 time out of 20 but it basically just looked like before the fix...)
I guess there's no way to exactly future-proof this when it's loading arbitrary ad code, but I feel like we should bite the bullet and do a big find-and-replace with a _.noConflict() rename to something other than _...
This usually but not always happens. Looks like a recent version of Lodash removed
contains
as an alias. Seems like sometimes Lodash loads and overwrites this version of Underscore. But I can't figure out how Lodash is even getting on the page lol.I can take more of a look later.
cc @aubergene @blacki <3
The text was updated successfully, but these errors were encountered: