You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1.4 KiB

  1. /**
  2. * Web Animations `@angular/platform-browser/animations`
  3. * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari.
  4. * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0).
  5. **/
  6. // import 'web-animations-js'; // Run `npm install --save web-animations-js`.
  7. /**
  8. * By default, zone.js will patch all possible macroTask and DomEvents
  9. * user can disable parts of macroTask/DomEvents patch by setting following flags
  10. */
  11. // (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
  12. // (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
  13. // (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
  14. /*
  15. * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
  16. * with the following flag, it will bypass `zone.js` patch for IE/Edge
  17. */
  18. // (window as any).__Zone_enable_cross_context_check = true;
  19. /** *************************************************************************************************
  20. * Zone JS is required by default for Angular itself.
  21. */
  22. import 'zone.js'; // Included with Angular CLI.
  23. /** *************************************************************************************************
  24. * APPLICATION IMPORTS
  25. */
  26. import 'reflect-metadata';