Hawkejs. Hawkejs

Properties & methods

Hawkejs#addViewDirectory( )
Register a directory that can be searched for templates
Hawkejs#app_version
Optional version info to use for assets
Hawkejs#client_path
The relative path to the client-file
Hawkejs#createClientFile( )
Create a client-file and return the absolute path
Hawkejs#createRenderer( )
Create a Renderer instance
Hawkejs#render( )
Render the wanted template and call back with the HTML
Hawkejs#root_path
The server root path
Hawkejs#script_path
The path to javascript files (relative to root)
Hawkejs#style_path
The path to stylesheet files (relative to root_path)