122 | | === jQuery Widgets === |
| 122 | === jQuery === |
| 123 | jQuery scripts are located in multiple places to provide for ease of maintenance & for performance gains: |
| 124 | * If there is no need for server-side processing our scripts should be added to {{{/static/scripts/S3/S3.js}}} |
| 125 | * This gets automatically compiled into {{{S3.min.js}}} via: [wiki:DeveloperGuidelinesReleaseProcess#CompressJSCSSfiles] |
| 126 | * If there is a need for server-side pre-processing, they should be added to {{{/views/sahana_scripts_debug.html}}} |
| 127 | * Also needs manually copying to {{{/views/sahana_scripts_min.html}}} |
| 128 | * Scripts from base Web2Py or T2 are stored in the appropriate areas of {{{/static/scripts}}} or {{{/views/sahana_scripts_*.html}}} |
| 129 | |
| 130 | Specific widgets we use: |