Moksha has plugin suport for Global Resources, which are just JavaScript or CSS widgets that will get automatically injected in every page by the GlobalResourceInjectionWidget.
Moksha will load all JSLink, CSSLink, and Widget ToscaWidgets that are on the [moksha.global] entry-point. You can point to classes, or instantiated objects.
By default Moksha includes global resources for jQuery, jQuery UI, and the Blueprint CSS framework. Here is an example of what some global resources look like in Moksha’s setup.py entry-points.
[moksha.global]
jquery = tw.jquery:jquery_js
jquery_ui_core = tw.jquery.ui:ui_core_js
jquery_ui_draggable = tw.jquery.ui:ui_draggable_min_js
jquery_ui_resizable = tw.jquery.ui:ui_resizable_min_js
jquery_ui_dialog = tw.jquery.ui:ui_dialog_min_js
jquery_ui_tabs = tw.jquery.ui_tabs:jquery_ui_tabs_js
# Enable support for the Blueprint CSS framework & Plugins
blueprint_ie_css = moksha.widgets.blueprint:blueprint_ie_css
blueprint_screen_css = moksha.widgets.blueprint:blueprint_screen_css
blueprint_print_css = moksha.widgets.blueprint:blueprint_print_css
blueprint_fancytype_css = moksha.widgets.blueprint:blueprint_plugin_fancytype_css