diff --git a/morse-code/README.md b/morse-code/README.md index 2e837a6..b05fb4c 100644 --- a/morse-code/README.md +++ b/morse-code/README.md @@ -1,6 +1,6 @@ Let's create a morse code transmitter -Create a function that gets injected: a lightbulb toggler function, a timeout mechanism function, a string message, and a map of chars to dot-dashes and make magic happen, addionally it should run a callback when done +Create a function that gets injected: a lightbulb toggler function, a timeout mechanism function, a string message, and a map of chars to dot-dashes and make magic happen, additionally it should run a callback when done The timeout mechanism is like setTimeout, the difference is that it takes a measurement of dots instead of ms so instead of `setTimeout(toggle, 150)` for dot you would do `options.timeouter(toggle, 1)` and for a dash you would do `options.timeouter(toggle, 3)` diff --git a/package.json b/package.json index 71a2246..66cd27a 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "private": true, "description": "some javascript exercises", "scripts": { - "test": "echo \"Error: run npm test from inside the challange directories or do 'npm run test-all'\" && exit 1", + "test": "echo \"Error: run npm test from inside the challenge directories or do 'npm run test-all'\" && exit 1", "test-all": "mocha '**/test.js'" }, "author": "Moshe Kolodny", diff --git a/value/README.md b/value/README.md index 5f13d27..348e2ef 100644 --- a/value/README.md +++ b/value/README.md @@ -34,7 +34,7 @@ var whoa = function() { value(scalar); // should be 'foo' value(fn); // should be 'bar' -value(fnTwice); // should aslo be 'bar' +value(fnTwice); // should also be 'bar' value(fnThrice); // should also be 'bar' value(whoa); // should be 'hi'