@leansdk/leanrc
Version:
LeanRC is a MVC framework for creating graceful applications
35 lines (25 loc) • 696 B
text/coffeescript
module.exports = (Module) ->
{
NILL
LogMessage
LogFilterMessage
Application
} = Module::
class MainApplication extends Application
Module
testDelayedMethod: Function,
default: ->
console.log '>>>>>>>>>>>>>> TEST DELAYED METHOD'
yield return
setLogLevelMethod: Function,
args: []
return: NILL
default: (level)->
.sendNotification LogFilterMessage.SET_LOG_LEVEL, level
init: Function,
default: (args...)->
args...
LogMessage.DEBUG
return
MainApplication.initialize()