Phi: nicer scroll animation for METAR widget
[fg:fgdata.git] / webgui / themeswitch.js
1 require([
2         'jquery', 
3 ], function(jquery) {
4   // nested require to ensure jquery is ready before
5   // jui_theme_switch starts
6   require([
7         '3rdparty/jquery/jquery.jui_theme_switch.min'
8   ], function() {
9
10
11     $(function() {
12       $("#ui-theme-switcher").jui_theme_switch({
13         stylesheet_link_id: "ui-theme",
14         datasource_url: "jquery-ui-themes.json"
15       });
16     });
17 });
18
19 });