JSteunou / webstomp-client

Stomp client over websocket for browsers
Apache License 2.0
299 stars 59 forks source link

Apparently broken when using over SockJS #2

Closed wgorder closed 8 years ago

wgorder commented 8 years ago

Loving the ES6 and webpack. Unfortunately I cannot use yet. It seems it does not work over SockJS. I am working on a sample application based loosly on Rossen's here:

https://github.com/rstoyanchev/spring-websocket-portfolio/blob/master/src/main/webapp/static/js/services.js

All the internal refs appear to be null during creation (see the init function) leading to the first assign to fail I believe it was some binary thing. Not sure if you have tested this or not. I went back to the original one and it appears to be working fine.

Thanks,

JSteunou commented 8 years ago

Bug was in webstomp.over. Thank you for noticing it. Would make a patch release this week.

JSteunou commented 8 years ago

published on npm