window.m
Summary
m public global object
Methods
app
Syntax
app
(
-
[views]
Summary
Creates a new app with the defined options. If the app is already created, it can be called without options to have a reference to the Mootor app.
App instance factory
Parameters:
-
[views]
Array optionalA list of view names to be initialized
Returns:
App
Example:
window.m.app({
views: [
"index",
"view1"
]
});