-
Notifications
You must be signed in to change notification settings - Fork 12
Streams #3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Streams #3
Conversation
It is now possible to pipe content to the morse binary and encode/decode the contents
|
This is dope! Could you change all indents to 2 spaces? I'll push it then :) Thanks man! Great code |
|
Hi, thanks! I have changed all tabs to spaces now both Thanks, this will be my first merged pull request! Great work with the library! |
test/array.js
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still some tabs in test/array.js
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh sorry, my intention was not to change that file, sorry. I was just
playing with mocha
2015-01-31 20:13 GMT+01:00 Cam Pedersen notifications@github.com:
In test/array.js
#3 (comment):-var decoded = morse.decode(encoded);
-console.log(decoded);
-var expected = [
- 'HELLO',
- 'WORLD'
-];-console.log(expected[1] == decoded[1] ? 'pass' : 'fail');
assert.deepEqual(decoded, arr.map(function(str) {return str.toUpperCase();}), 'Arrays should be equal except for case');- });
Still some tabs in test/array.js
—
Reply to this email directly or view it on GitHub
https://github.com/ecto/morse/pull/3/files#r23891251.
|
Hey, any updates on this? |
|
I think its done, even the formatting. But i will take a look later |
|
I have updated the dependencies. Everything seems to be working normally. Is there anything else I need to fix? I ran |
Add stream support to morse lib.
It is possible to use streams programmatically and using pipes in the
cli.