sciactive / pnotify

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

property options undefined when use require('pnotify') #262

Closed starplanet closed 6 years ago

starplanet commented 8 years ago

When I use require('pnotify'), It will first load dist/pnotify.animate.js before dist/pnotify.js. It will cause 'propery options undefined' problem, because options property is defined in dist/pnotify.js file.

So the main file order in main field of bower.json should be adjusted, so that dist/pnotify.js should appear first.

hperrin commented 6 years ago

This is fixed.