Merge branch 'comp-doc-fixes' of https://github.com/leeoniya/mithril.js into leeoniya-comp-doc-fixes
Conflicts: docs/components.md
This commit is contained in:
commit
fd1090f9d8
1 changed files with 1 additions and 1 deletions
|
|
@ -657,7 +657,7 @@ var Demo = {
|
||||||
return [
|
return [
|
||||||
m("h1", "Uploader demo"),
|
m("h1", "Uploader demo"),
|
||||||
m.module(Uploader, {onchange: ctrl.files}),
|
m.module(Uploader, {onchange: ctrl.files}),
|
||||||
m("button[type=button]", {onclick: ctrl.upload})
|
m("button[type=button]", {onclick: ctrl.upload}, "Upload")
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue