Javascript in GroupServer
From E-Democracy.org
A growing number of browser UI elements in GroupServer are using JavaScript. As this growth continues, the JavaScript environment provided in the GroupServer framework continues to mature. The following is a summary of the JavaScript environment that is in GroupServer as of August 2013.
Contents
gs.content.js.*
Nearly every egg that provides a part of the JavaScript foundation of GroupServer is in this namespace.
jQuery
Everything uses "jQuery":http://api.jquery.com/. GroupServer provides jQuery via "gs.content.js.jquery.base":https://source.iopen.net/groupserver/gs.content.js.jquery.base/summary. It currently provides version 1.9.1.
Bootstrap
GroupServer provides "Bootstrap":http://getbootstrap.com/ via "gs.content.js.bootstrap":https://source.iopen.net/groupserver/gs.content.js.bootstrap/summary. It currently provides version 2.2.2.
Loader
Because many pages are made up of loosely coordinated viewlets, any of which could require any given JavaScript resources, GroupServer developed a dynamic JavaScript module loader that manages which modules have already been requested and retrieved.
Loader is provided via "gs.content.js.loader":https://source.iopen.net/groupserver/gs.content.js.loader/summary.
Home - Mobile - Forums - Wiki - Blog - About - Help - Contact - People - Donate - Rules - Archives