Closed micsanbr closed 4 years ago
This one should clarify what the problem (and the solution) are: https://github.com/fians/Waves/issues/131#issuecomment-242016999
Testing components with nw.js is not part of the development process, so thanks big time for letting is know! Added to TODO
You are welcome. I think the fix should be easy to implement too.
Hello, any plans on fixing this? It's just a matter of replacing typeof global === 'object' ? global : this with typeof window === 'object' ? window : this
Your solution will be implemented in the new release in version 4.8.6. Thank you for contribution.
14 months later ... :-D
MDB PRO works fine in the browser (Chrome) but breaks and becomes totally unusable with NW.JS (tested on 28.2). Uncaught ReferenceError: Waves is not defined at mdb.min.js:1
The only workaround I've found is to comment out "mdb.min.js" and load each required javascript component individually, except the "waves" component which is causing the issue.
Is it possible to fix this one properly? Thanks!
Current workaround: