From c44749539a519773a8f1a08842db797e4c6576ba Mon Sep 17 00:00:00 2001 From: Kim Borup <kborup@redhat.com> Date: Thu, 14 Mar 2019 12:41:44 +0100 Subject: [PATCH] Update README.md --- exercises/3-revenge-of-the-automated-testing/README.md | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/3-revenge-of-the-automated-testing/README.md b/exercises/3-revenge-of-the-automated-testing/README.md index 92817e4..714f5ce 100644 --- a/exercises/3-revenge-of-the-automated-testing/README.md +++ b/exercises/3-revenge-of-the-automated-testing/README.md @@ -519,7 +519,7 @@ // TODO - FILL THIS OUT IN THE EXERCISE this.$store.dispatch("updateTodo", {id: this.todoItem._id, important: true}); console.info("INFO - Mark todo as important ", this.todoItem.important); - }, + } ``` 14. Let's connect the click button in the DOM to the Javascript function we've just created. In the template, add a click handler to the md-button to call the function `markImportant()` by adding ` @click="markImportant()"` to the `<md-button>` tag @@ -531,7 +531,7 @@ </md-button> ``` -15. Finally - we need to make it so that when a new todo item is created it will have an important property. Head to `store/actions.js` and add `important: false` below `completed: false` in the `addTodo(){}` action. +15. Finally - we need to make it so that when a new todo item is created it will have an important property. Head to `src/store/actions.js` and add `important: false` below `completed: false` in the `addTodo(){}` action. ![fe-add-actions-important](../images/exercise3/fe-add-actions-important.jpg) -- Gitblit v1.9.3