Skip to content

Commit

Permalink
Missing comma and end bracket for if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanaravind authored Aug 11, 2016
1 parent 463b3a0 commit 1413b38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/1.0/toolbox/routing.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,11 +144,11 @@ when the route changes. Using observers, it's simple to react to changes to the

```
observers: [
'_routeChanged(route.*)'
'_routeChanged(route.*)',
'_viewChanged(routeData.view)'
],
_routeChanged: function(changeRecord) {
if (changeRecord.path == 'path' {
if (changeRecord.path === 'path') {
console.log('Path changed!');
}
},
Expand Down

0 comments on commit 1413b38

Please sign in to comment.