Work in progress on a major revision of the NanoUI templating system.

This commit is contained in:
Mark Aherne
2014-07-06 23:02:09 +01:00
parent 9276e9f707
commit 4376465f5d
41 changed files with 1258 additions and 2568 deletions

View File

@@ -86,13 +86,13 @@ nanoui is used to open and update nano browser uis
add_common_assets()
/**
* Use this proc to add assets which are common to all nano uis
* Use this proc to add assets which are common to (and required by) all nano uis
*
* @return nothing
*/
/datum/nanoui/proc/add_common_assets()
add_script("libraries.min.js") // The jQuery library
add_script("nano_config.js") // The NanoConfig JS, this is used to store configuration values.
add_script("libraries.min.js") // A JS file comprising of jQuery, doT.js and jQuery Timer libraries (compressed together)
add_script("nano_utility.js") // The NanoUtility JS, this is used to store utility functions.
add_script("nano_update.js") // The NanoUpdate JS, this is used to receive updates and apply them.
add_script("nano_base_helpers.js") // The NanoBaseHelpers JS, this is used to set up template helpers which are common to all templates
add_stylesheet("shared.css") // this CSS sheet is common to all UIs