$resources
$resources :
Resources represent external files, such as scripts, stylesheets, etc.
They are managed through a generic system that allows for easy future expansion.
Each group as a resource id, such as 'js', 'css', etc, and the following definitions:
name: The variable name for templates. path: An array of paths to look for resource files in. exts: An array of extensions to look for resource files. groups: An array of arrays, each being named groups. It is recommended to prefix groups with an identifier such as '#'. We include '#common' and '#webapp' as example groups, they depend upon the Nano.js library set. added: An empty array, will be populated by use_resource();
A group for one resource type MAY in fact depend on a resource of another type. For instance, you may have a Javascript file that depends on a CSS stylesheet being loaded. You can define a rule that will include it, by using a 'type:name' format, such as 'css:foobar'.