You will find only what you bring in.
[redakcja.git] / src / redakcja / static / js / wiki_img / wikiapi.js
index 377e4f9..21c17fa 100644 (file)
 
        $.wikiapi.WikiDocument = WikiDocument;
 })(jQuery);
-
-
-
-// Wykonuje block z zaƂadowanymi kanonicznymi motywami
-function withThemes(code_block, onError)
-{
-    if (typeof withThemes.canon == 'undefined') {
-        $.ajax({
-            url: '/editor/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);
-    }
-}
-