sciactive / pnotify

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

customize script does not work with require.js #223

Closed Xuefeng-Zhu closed 6 years ago

Xuefeng-Zhu commented 8 years ago

When I import custimzed pnotify using requirejs, extra modules, like button and confirm, are not got defined. Is there way to solve this issue? Thanks.

ShadowGhostDev commented 8 years ago

I'm having this same issue. I have to stick to using version 2.0.1 till this is fixed. EDIT: I got version 3 modules to work by including the pnotify css and after defining the module names as described in the readme, PNotify - requirejs example.