application.js

Summary
application.js
NinjsApplicationAn NinjsApplication object serves as your application’s namespace and includes a utility to add modules to the application object.
Functions
add_moduleAdds a NinjsModule to the application.

NinjsApplication

An NinjsApplication object serves as your application’s namespace and includes a utility to add modules to the application object.

See Also

NinjsModule

Summary
Functions
add_moduleAdds a NinjsModule to the application.

Functions

add_module

Adds a NinjsModule to the application.

Parameters

namethe name of the module
myapp.add_module('my_module');
A NinjsModule is an object which encapsulates a certain behavior or functionality.
Close