aboutsummaryrefslogtreecommitdiff
path: root/mod/graphstats/views/default/js
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:50 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:42:50 -0300
commit971b54fe719ed70704fb3bcac4ef1d5f093cb454 (patch)
tree26e090c444b1e34881bc088a9cd6f3223e26047a /mod/graphstats/views/default/js
parent711dab09b5146e74dbeda56679c65e3b6bec71f3 (diff)
parent36102a094de700ee339f6eaeffb8ab16ba4f2f3b (diff)
downloadelgg-971b54fe719ed70704fb3bcac4ef1d5f093cb454.tar.gz
elgg-971b54fe719ed70704fb3bcac4ef1d5f093cb454.tar.bz2
Merge commit '36102a094de700ee339f6eaeffb8ab16ba4f2f3b' as 'mod/graphstats'
Diffstat (limited to 'mod/graphstats/views/default/js')
-rw-r--r--mod/graphstats/views/default/js/raphael/analytics.php5
-rw-r--r--mod/graphstats/views/default/js/raphael/raphael.php3
-rw-r--r--mod/graphstats/views/default/js/timeline.php8
3 files changed, 16 insertions, 0 deletions
diff --git a/mod/graphstats/views/default/js/raphael/analytics.php b/mod/graphstats/views/default/js/raphael/analytics.php
new file mode 100644
index 000000000..e8703b100
--- /dev/null
+++ b/mod/graphstats/views/default/js/raphael/analytics.php
@@ -0,0 +1,5 @@
+<?php
+
+include(elgg_get_plugins_path() . 'graphstats/vendors/raphaeljs/popup.js');
+include(elgg_get_plugins_path() . 'graphstats/vendors/raphaeljs/analytics.js');
+
diff --git a/mod/graphstats/views/default/js/raphael/raphael.php b/mod/graphstats/views/default/js/raphael/raphael.php
new file mode 100644
index 000000000..4ce441133
--- /dev/null
+++ b/mod/graphstats/views/default/js/raphael/raphael.php
@@ -0,0 +1,3 @@
+<?php
+
+include(elgg_get_plugins_path() . 'graphstats/vendors/raphaeljs/raphael.js');
diff --git a/mod/graphstats/views/default/js/timeline.php b/mod/graphstats/views/default/js/timeline.php
new file mode 100644
index 000000000..eae9c24ba
--- /dev/null
+++ b/mod/graphstats/views/default/js/timeline.php
@@ -0,0 +1,8 @@
+<?php
+$timeline_base = elgg_get_site_url() . 'mod/graphstats/vendors/simile-timeline';
+
+echo "Timeline_ajax_url='$timeline_base/timeline_ajax/simile-ajax-api.js';";
+echo "Timeline_urlPrefix='$timeline_base/timeline_js/';";
+echo "Timeline_parameters='bundle=true';";
+
+include(elgg_get_plugins_path() . 'graphstats/vendors/simile-timeline/timeline_js/timeline-api.js');