Files
jitsi-meet/react/features/mobile/polyfills/bundler.js
Saúl Ibarra Corretgé caabdadf19 rn,polyfills: refactor all mobile polyfills
Move all polyfills to a standalone feature, which gets imported before anything
else in the mobile entrypoint. This guarantees that any further import sees the
polyfilled environment.
2020-05-06 12:35:12 +02:00

9 lines
202 B
JavaScript

(global => {
// __filename
if (typeof global.__filename === 'undefined') {
global.__filename = '__filename';
}
})(global || window || this); // eslint-disable-line no-invalid-this