esperantojs / esperanto

DEPRECATED: An easier way to convert ES6 modules to AMD and CommonJS
http://esperantojs.org
234 stars 21 forks source link

Remove `this` errors. #173

Closed jdalton closed 9 years ago

jdalton commented 9 years ago

This PR for #151 removes the this errors because it's erring on valid code. This kind of checking is prolly better left to a linter.

Rich-Harris commented 9 years ago

Thanks @jdalton - I've merged this and released it as 0.7.3 since it's causing pain, though it means that in some cases this is no longer rewritten as undefined which goes against the spec - will raise a separate issue for that