Skip to content

Commit c0124ed

Browse files
author
kdinev
committed
chore(*): fixing polyfills for app-lob
1 parent 29d38a1 commit c0124ed

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@
107107
"karma-jasmine": "~5.1.0",
108108
"karma-jasmine-html-reporter": "^2.0.0",
109109
"ts-node": "^10.9.1",
110-
"typescript": "4.8.4",
110+
"typescript": "4.9.5",
111111
"webpack-bundle-analyzer": "^4.5.0"
112112
}
113113
}

projects/app-lob/src/polyfills.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,16 @@
1818
* BROWSER POLYFILLS
1919
*/
2020

21-
import 'core-js/es7/object';
21+
//import 'core-js/es7/object';
2222

23-
import 'core-js/es7/array'; // for Array.includes() // Run `npm install --save classlist.js`.
23+
//import 'core-js/es7/array'; // for Array.includes() // Run `npm install --save classlist.js`.
2424

2525
/** IE10 and IE11 requires the following for the Reflect API. */
26-
import 'core-js/es6/reflect';
26+
//import 'core-js/es6/reflect';
2727

2828
/* Evergreen browsers require these. */
2929
// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.
30-
import 'core-js/es7/reflect'; // Run `npm install --save web-animations-js`.
30+
//import 'core-js/es7/reflect'; // Run `npm install --save web-animations-js`.
3131

3232
/***************************************************************************************************
3333
* Zone JS is required by Angular itself.
@@ -38,9 +38,9 @@ import 'zone.js'; // Included with Angular CLI.
3838
/***************************************************************************************************
3939
* @angular/animations polyfill
4040
*/
41-
if (!Element.prototype.matches) {
42-
Element.prototype.matches = (Element.prototype as any).msMatchesSelector;
43-
}
41+
// if (!Element.prototype.matches) {
42+
// Element.prototype.matches = (Element.prototype as any).msMatchesSelector;
43+
// }
4444

4545
/***************************************************************************************************
4646
* APPLICATION IMPORTS

0 commit comments

Comments
 (0)