From 9e36aed78b56f6aa89009b7a3792f28e532fc5a3 Mon Sep 17 00:00:00 2001 From: Ravi Srinivasan <rsriniva@users.noreply.github.com> Date: Mon, 25 Mar 2019 06:00:29 +0100 Subject: [PATCH] Update README.md --- 3-revenge-of-the-automated-testing/README.md | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3-revenge-of-the-automated-testing/README.md b/3-revenge-of-the-automated-testing/README.md index 92817e4..714f5ce 100644 --- a/3-revenge-of-the-automated-testing/README.md +++ b/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