hubotio / generator-hubot

Hubot generator for Yeoman
MIT License
155 stars 91 forks source link

adding the examples in a plain javascript format #78

Closed ccoenen closed 7 years ago

ccoenen commented 7 years ago

I converted the coffee script examples.coffee to a plain JavaScript examples-plain.js.

I tried to stay as close as possible to the original, but in the HTTP example, there seems to be a difference that I couldn't account for. I decided to include working code over consistency (and failing code) in that part. All the other examples are pretty much idential to their coffee-script counterparts.

bkeepers commented 7 years ago

Thanks @ccoenen. See https://github.com/hubotio/evolution/pull/4 for plans to convert all of Hubot to JavaScript.

stale[bot] commented 7 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

mose commented 7 years ago

Well, now that code is already transformed in js, this PR is not useful anymore.