Skip to content

Commit

Permalink
Merge pull request #187 from makimenko/161_remove_woraround
Browse files Browse the repository at this point in the history
#161 remove temporary workarounds in polyfils
  • Loading branch information
makimenko committed Feb 8, 2020
2 parents 2028fc8 + d447edd commit dbbec9e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
7 changes: 0 additions & 7 deletions projects/atft/src/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ import {BrowserDynamicTestingModule, platformBrowserDynamicTesting} from '@angul

declare const require: any;

// TODO: Remove when Angular will support typescript 3.7+
// @ts-ignore
window.__importDefault = function(mod) {
return mod && mod.__esModule ? mod : { default: mod };
};


// First, initialize the Angular testing environment.
getTestBed().initTestEnvironment(
BrowserDynamicTestingModule,
Expand Down
5 changes: 0 additions & 5 deletions src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@ import 'zone.js/dist/zone'; // Included with Angular CLI.
* APPLICATION IMPORTS
*/

// TODO: Remove when Angular will support typescript 3.7+
// @ts-ignore
window.__importDefault = function(mod) {
return mod && mod.__esModule ? mod : { default: mod };
};

// zone.js hooks onto requestAnimateFrame, and runs angular’s change detection on each tick:
(window as any).__Zone_disable_requestAnimationFrame = true;
Expand Down

0 comments on commit dbbec9e

Please sign in to comment.