sciactive / pnotify

Beautiful JavaScript notifications with Web Notifications support.
https://sciactive.com/pnotify/
Apache License 2.0
3.65k stars 514 forks source link

IE11 and Pnotify and Angular #350

Closed Velocity540 closed 5 years ago

Velocity540 commented 5 years ago

Perhaps I am doing something wrong, but having an issue. Using angular 6

in my component im importing like this (as stated in the docs) import PNotify from "pnotify/dist/es/PNotify";

All works well in chrome and edge. but in IE, getting this error syntax error on this line let onDocumentLoaded = () => {

Im sure its a quick config change, but not exactly sure what to do here

hperrin commented 5 years ago

There's a link in the README here: https://github.com/sciactive/pnotify#angular

To this issue, which includes a solution for IE support: https://github.com/sciactive/pnotify/issues/343#issuecomment-411881678

Velocity540 commented 5 years ago

Yes.. Thank you.. I should have updated my ticket once I noticed that myself.. I must have glanced string over it.

hperrin commented 5 years ago

No worries. :)