diff --git a/.gitignore b/.gitignore index 1416d58..380f13f 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ npm-shrinkwrap.json ._* */._* */*/._* +index.js diff --git a/exercises/introduction/solution/solution.js b/exercises/introduction/solution/solution.js index 087416f..082fce7 100755 --- a/exercises/introduction/solution/solution.js +++ b/exercises/introduction/solution/solution.js @@ -1,4 +1,4 @@ -funtion *foo () { +function* foo () { yield 1; yield 2; } diff --git a/exercises/menu.json b/exercises/menu.json index 6e19f79..79af3c0 100755 --- a/exercises/menu.json +++ b/exercises/menu.json @@ -1,4 +1,4 @@ [ - "TEST_EXERCISE" + "TEST_EXERCISE", "INTRODUCTION" ] diff --git a/package.json b/package.json index c5f8892..a29d09b 100755 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "type": "git", "url": "" }, + "scripts": { + "start": "node --harmony demo-workshopper.js" + }, "license": "BSD-3-Clause", "bin": "./demo-workshopper.js", "dependencies": {