Skip to content

Commit

Permalink
feat(zone): add zone-patch-electron to patch Electron native APIs in …
Browse files Browse the repository at this point in the history
…polyfills
  • Loading branch information
JiaLiPassion committed Jun 19, 2018
1 parent 1d48e32 commit 01842e2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/polyfills.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01842e2

Please sign in to comment.