m.module -> m.mount: fix sample code in HTML files

This commit is contained in:
Matheus Kautzmann 2015-08-28 09:07:08 -03:00
parent dfa1da0652
commit 343ffc8d36
3 changed files with 11 additions and 11 deletions

View file

@ -85,7 +85,7 @@ demo.view = function(ctrl) {
] ]
} }
m.module(document.body, demo) m.mount(document.body, demo)
//submodule helper //submodule helper
function submodule(module, args) { function submodule(module, args) {

View file

@ -66,5 +66,5 @@ todo.view = function() {
}; };
//initialize the application //initialize the application
m.module(document, {controller: todo.controller, view: todo.view}); m.mount(document, {controller: todo.controller, view: todo.view});
</script> </script>

View file

@ -92,5 +92,5 @@ var ContactList = {
} }
} }
m.module(document.body, ContactsWidget) m.mount(document.body, ContactsWidget)
</script> </script>