Skip to content
This repository has been archived by the owner on Dec 1, 2023. It is now read-only.

Fixed small code errors in How-To Guide #53

Merged
merged 1 commit into from
Apr 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions developer-guides/todo-extension.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ From the controller, we can access this configuration as a property of the modul
`src/Controller/TodoController.php`:

```
use Pagekit\Application
use Pagekit\Application as App;

// ...

Expand Down Expand Up @@ -328,7 +328,7 @@ $(function(){
el: '#todo',

data: {
entries: window.$data.config.entries,
entries: window.$data.entries,
},

methods: {
Expand Down Expand Up @@ -393,7 +393,7 @@ This is how a simple view might look like.
<li v-for="entry in entries">
{{ entry.message }}

<button @click="click: toggle(entry)">{{ entry.done ? 'Undo' : 'Do' }}</button>
<button @click="toggle(entry)">{{ entry.done ? 'Undo' : 'Do' }}</button>
</li>
</ul>

Expand Down