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

Commit

Permalink
Merge pull request #53 from adi-s/code-sample-fix
Browse files Browse the repository at this point in the history
Fixed small code errors in How-To Guide
  • Loading branch information
Malte-Christian Scharenberg committed Apr 13, 2016
2 parents fa22e4c + ef220ab commit 0c38cf9
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit 0c38cf9

Please sign in to comment.