}
}
-DEFAULT_PERSPECTIVE = "#SummaryPerspective";
+DEFAULT_PERSPECTIVE = "#MotifsPerspective";
$(function()
{
});
-// Wykonuje block z zaĆadowanymi kanonicznymi motywami
-function withThemes(code_block, onError)
-{
- if (typeof withThemes.canon == 'undefined') {
- $.ajax({
- url: '/themes',
- dataType: 'text',
- success: function(data) {
- withThemes.canon = data.split('\n');
- code_block(withThemes.canon);
- },
- error: function() {
- withThemes.canon = null;
- code_block(withThemes.canon);
- }
- })
- }
- else {
- code_block(withThemes.canon);
- }
-}
-
-