|
|
@@ -7,8 +7,8 @@ Instance initializer
|
|
|
@author Javier Jimenez Villar <javi@tapquo.com> || @soyjavi
|
|
|
###
|
|
|
Lungo.init = (config) ->
|
|
|
- Lungo.Resource.load config.resources if config and config.resources
|
|
|
- Lungo.Boot.Device.init()
|
|
|
- Lungo.Boot.Events.init()
|
|
|
- Lungo.Boot.Data.init()
|
|
|
- Lungo.Boot.Layout.init()
|
|
|
+ Lungo.Resource.load config.resources if config and config.resources
|
|
|
+ do Lungo.Boot.Device.init
|
|
|
+ do Lungo.Boot.Events.init
|
|
|
+ do Lungo.Boot.Data.init
|
|
|
+ Lungo.Boot.Layout.init config
|