Documentation

Additional Scripts

A distinction is made between internal and external scripts; the former are sometimes libraries that complement the latter.

External Scripts

Currently, modernizr.js, jquery.js, and chart.js are used. These are located in the js/lib directory.

Internal Scripts

These are located in js/siteup, and are:

chart_colors
Contains an array of color values, to be used by chart.js
global_rules
(explained in the previous section)
validate
Validates the data format. It is used in conjunction with global_rules to validate the entered data before submitting it.

Search