DOCS: missing comma in example
This commit is contained in:
parent
c57b0b4047
commit
6ec6ede38a
1 changed files with 1 additions and 1 deletions
|
|
@ -219,7 +219,7 @@ Components can be placed anywhere a regular element can. If you have components
|
||||||
var App = {
|
var App = {
|
||||||
controller: function() {
|
controller: function() {
|
||||||
return {data: [1, 2, 3]}
|
return {data: [1, 2, 3]}
|
||||||
}
|
},
|
||||||
view: function(ctrl) {
|
view: function(ctrl) {
|
||||||
return m(".app", [
|
return m(".app", [
|
||||||
//pressing the button reverses the list
|
//pressing the button reverses the list
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue