Merge pull request #198 from JiaLiPassion/zone-patch

feat(zone): add zone-patch-electron to patch Electron native APIs in polyfills.
This commit is contained in:
Maxime GRIS
2018-06-27 20:57:22 +02:00
committed by GitHub

View File

@@ -72,7 +72,12 @@ import 'core-js/es7/reflect';
*/
import 'zone.js/dist/zone-mix'; // Included with Angular CLI.
/**
* You can load zone-patch-electron to allow electron native APIs
* (Such as dialog/shortcut/menu/getFileIcon/shell/session/
* desktopCapturer/onEvent) in ngZone
*/
// import 'zone.js/dist/zone-patch-electron'; // add zone-patch-electron to patch Electron native API
/***************************************************************************************************
* APPLICATION IMPORTS