aboutsummaryrefslogtreecommitdiff
path: root/assets/js/lustiges-relive-script.js
diff options
context:
space:
mode:
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