h2non / hu

Small, generic functional helper library for node.js and browsers
MIT License
20 stars 3 forks source link

aVoid the numerous void #27

Closed rafinskipg closed 10 years ago

rafinskipg commented 10 years ago

In the transpiled js, due to the inclusion of the namespace (I don't know exactly why), it generates this output:

void 0;
void 0;
void 0;
void 0;
void 0;
void 0;
void 0;
void 0;
void 0;

Remove them or I kick the dog in my picture!

h2non commented 10 years ago

I already know about that. In fact, I reported this issue to the Wisp project It seems it's related to escodegen, when a empty block statement is passed to the code generator. https://github.com/Gozala/wisp/issues/85

h2non commented 10 years ago

Closing issue. Depends of the Wisp package