nycJSorg/angular-presentation

View on GitHub
apps/codelab/src/polyfills.ts

Summary

Maintainability
A
0 mins
Test Coverage
import 'fullscreen-api-polyfill';
import 'zone.js/dist/zone'; // Included with Angular CLI.
import '@angular/localize/init';

// Needed for babel :(
(window as any).Buffer = {};

(window as any).process = {
  env: { DEBUG: undefined },
  argv: {
    indexOf() {
      return 0;
    }
  },
  getuid() {
    return 0;
  }
};