bigbite / macy.js

http://macyjs.com/
MIT License
1.3k stars 156 forks source link

Change this to window #11

Closed jhkchan closed 7 years ago

jhkchan commented 8 years ago

Using this would become undefined after passing through babel. I updated to window and things work perfectly. Please consider.

https://github.com/bigbitecreative/macy.js/blob/master/src/macy.js#L11

jrmd commented 7 years ago

I believe this is not an issue within v2, as it works with es6 imports :)