Merge pull request #490 from barneycarroll/patch-1

Code typo in `unload` documentation
This commit is contained in:
Leo Horie 2015-03-17 08:55:37 -04:00
commit 24695d4cc3

View file

@ -243,7 +243,7 @@ var MyApp = {
return [ return [
m("button[type=button]", {onclick: function() {ctrl.loaded = false}}), m("button[type=button]", {onclick: function() {ctrl.loaded = false}}),
ctrl.loaded ? m.module(MyComponent) : "" ctrl.loaded ? m.module(MyComponent) : ""
]) ]
} }
} }