1
0
Fork 0
fgdata/Phi/themeswitch.js

20 lines
402 B
JavaScript
Raw Permalink Normal View History

2015-02-07 22:16:34 +00:00
require([
'jquery',
], function(jquery) {
// nested require to ensure jquery is ready before
// jui_theme_switch starts
require([
'3rdparty/jquery/jquery.jui_theme_switch.min'
], function() {
$(function() {
$("#ui-theme-switcher").jui_theme_switch({
stylesheet_link_id: "ui-theme",
datasource_url: "jquery-ui-themes.json"
});
});
});
});