andreypopp / autobind-decorator

Decorator to automatically bind methods to class instances
MIT License
1.45k stars 66 forks source link

adds ability to use as browser global for those of us uncool kids wit… #19

Closed ss108 closed 8 years ago

ss108 commented 8 years ago

…hout webpack or browserify

@andreypopp Uhh I can't run the tests because I am on Windows and at work, and this isn't a super cool addition to this, but here this is, if it works and you think it'd be useful for others : )

andreypopp commented 8 years ago

Hi, I'd suggest just making a build which suits you. There are a lot of different environments and module systems and this is more common to target them using a build system.

Btw. just this change alone won't make it usable in browser without additional build step as sources are written in ES2015 which is not implemented in all browsers at the moment.