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
The dist/peerjs.min.js for some reason is compiled with a function $ which is global and gets into conflict with browser debugger's $ or any globally defined $
This causes this error whenever using $('someDOMselector') in site:
Uncaught TypeError: right-hand side of 'in' should be an object, got undefined``
Because it expect $(window) from this function, from webrtc-adapter dependency
export function shimGetDisplayMedia(window) {
if (!('getDisplayMedia' in window.navigator)) {
The text was updated successfully, but these errors were encountered:
The file is polluting the global namespace. This definitely shouldn’t happen.
A fix should be trivial: The output format of the bundler was set to the wrong environment.
But I want to ensure that the patch doesn’t break anything else, so there’s a bit more testing before release.
The dist/peerjs.min.js for some reason is compiled with a function $ which is global and gets into conflict with browser debugger's $ or any globally defined $
This causes this error whenever using $('someDOMselector') in site:
Uncaught TypeError: right-hand side of 'in' should be an object, got undefined``
Because it expect $(window) from this function, from webrtc-adapter dependency
The text was updated successfully, but these errors were encountered: