Closed uMaxmaxmaximus closed 7 years ago
hi! Glad to find out more people are using Gyronorm with webpack. I have changed the exporting on febcc79d39abf1468a6feefb19b4b03ffde59732, this has been released on 2.0.6, but @dorukeker didn't build it on the complete version.
This is why I believe this does not apply to the latest version.
Please, let me know if I can be of any help. :)
Hi @GabrielGil I now see your PR was not included to the release. I remade the release. It should be solved now.
Can you have a look and let me know if all works fine?
Cheers, Doruk
Yes, it is perfect now. I had actually mentioned in my pr (https://github.com/dorukeker/gyronorm.js/pull/30#issuecomment-275853161) that just needed the build and version number updates.
Thank you one more time @dorukeker
webpack, strict mode; in strict mode this in functions is undefined! you use (function(root){ code })(this) is not correct! you not correct detect root object!
need:
Function constructor stopping "strict mode" scope, and
this
link to global object.