Skip to content

Commit fcf5444

Browse files
authored
Add missing argument for m.route, use consistent quotation marks for strings. (#40)
1 parent 0bdb41f commit fcf5444

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/route.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ var Article = {
9595
}
9696
}
9797

98-
m.route(document.body, {
99-
'/article/:articleid': Article
98+
m.route(document.body, "/article/1", {
99+
"/article/:articleid": Article
100100
})
101-
m.route.set('/article/:articleid', {articleid: 1})
101+
m.route.set("/article/:articleid", {articleid: 1})
102102
```
103103

104104
##### m.route.get

0 commit comments

Comments
 (0)