Merge pull request #781 from mkautzmann/next

Change m.module to m.mount in documentation
This commit is contained in:
Leo Horie 2015-08-28 09:19:16 -04:00
commit 1b326ee18f
4 changed files with 12 additions and 12 deletions

View file

@ -68,7 +68,7 @@ app.view = function(ctrl) {
//initialize //initialize
m.module(document.getElementById("example"), app); m.mount(document.getElementById("example"), app);
``` ```
--- ---

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>