node-browserchannel icon indicating copy to clipboard operation
node-browserchannel copied to clipboard

move package to pure js

Open wenzowski opened this issue 12 years ago • 10 comments

As discussed, node-browserchannel may eventually be ported from coffeescript to javascript. If this happens, coffeescript would continue to be used for the test suite.

The coffeescript should be compiled to javascript, and the javascript should be cleaned up manually in small commits. At no point should the test suite be broken.

wenzowski avatar Feb 23 '14 08:02 wenzowski

... I'm currently working through a couple of changes in the 2.0 branch to make browserchannel use node streams & closer fit the websocket API. Hold off on porting it to JS for a week or two.

josephg avatar Feb 23 '14 08:02 josephg

Figured this would stay in the backlog for a bit. Marked #23 as ready. If you add the other features as issues as well, I'll keep an eye on the waffle.

wenzowski avatar Feb 23 '14 08:02 wenzowski

I ported the client to closurey javascript in a branch. It has a couple of bugs - and generally I'm not super happy with the result. It looks a lot harder to maintain...

josephg avatar Jul 08 '14 19:07 josephg

What about porting to babel? https://github.com/babel/babel

dashed avatar Mar 05 '15 02:03 dashed

Thanks @Dashed I've been meaning to check out babel for some time. This might be a good excuse to try out some es6

wenzowski avatar Mar 05 '15 02:03 wenzowski

wat

So you want to move from one compile language straight into something else that requires compilation?

3rd-Eden avatar Mar 05 '15 04:03 3rd-Eden

Better than coffeescript ;)

dashed avatar Mar 05 '15 04:03 dashed

lol @3rd-Eden assuming the expectation is that es6 eventually won't require compilation, but that is a ways off

wenzowski avatar Mar 05 '15 04:03 wenzowski

can I require the client in a babel-compiled front-end application currently?

TomKaltz avatar Nov 10 '16 21:11 TomKaltz

Should do.

josephg avatar Nov 10 '16 22:11 josephg