Class mmir.main
Defined in: main.js.
Constructor Attributes | Constructor Name and Description |
---|---|
<private> |
Initializes the MMIR framework:
triggers mmir.ready when initialization has finished.
|
Class Detail
<private>
mmir.main()
Initializes the MMIR framework:
triggers mmir.ready when initialization has finished.
If run with env-setting
cordova
the initialization starts
when the deviceready
event is fired.
Otherwise initialization starts when the domready
event was fired
(using jQuery's ready function).
- Requires:
- jQuery.Deferred
- jQuery#selector (for initial CSS/script injections; TODO change mechanism)
- jQuery.is (for initial script injections; TODO change mechanism)
- jQuery.append (for initial CSS injections; TODO change mechanism)