aboutsummaryrefslogtreecommitdiff
path: root/assets/js/lustiges-relive-script.js
diff options
context:
space:
mode:
authorMaZderMind2014-12-26 01:47:21 +0100
committerMaZderMind2014-12-26 01:47:21 +0100
commit696066a2df58fa12bfbdac427a767efdb4fe00a4 (patch)
tree711ebd31965647d0beb0f5e44dff48761fb21705 /assets/js/lustiges-relive-script.js
parentd41452b307a3225833025afa80bf180addb0327c (diff)
more files
Diffstat (limited to 'assets/js/lustiges-relive-script.js')
-rw-r--r--assets/js/lustiges-relive-script.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/assets/js/lustiges-relive-script.js b/assets/js/lustiges-relive-script.js
new file mode 100644
index 0000000..fe2ead7
--- /dev/null
+++ b/assets/js/lustiges-relive-script.js
@@ -0,0 +1,14 @@
+$(function() {
+ var
+ $parent = $('.event-previews'),
+ $loading = $parent,
+ $tpl = $parent.find('.template').detach().removeClass('template');
+
+ $.ajax({
+ url: '/~peter/relive.json',
+ success: function(els) {
+ console.log(els);
+ $loading.hide();
+ }
+ });
+}); \ No newline at end of file