summaryrefslogtreecommitdiffstats
path: root/res/script.js
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2016-02-26 20:52:53 +0100
committerAndreas Gohr <andi@splitbrain.org>2016-02-26 20:52:53 +0100
commitd01c021d52a8d306332ec681b7c3433fb80d7996 (patch)
tree8f5cc31458e38002849e4370b07222cd707f0cf0 /res/script.js
parentb288bde8c9db9190a39be1beb6f0a6ddfde2ad14 (diff)
downloadxdebug-trace-tree-d01c021d52a8d306332ec681b7c3433fb80d7996.zip
xdebug-trace-tree-d01c021d52a8d306332ec681b7c3433fb80d7996.tar.gz
xdebug-trace-tree-d01c021d52a8d306332ec681b7c3433fb80d7996.tar.bz2
moved all the stuff to a subdir
Diffstat (limited to 'res/script.js')
-rw-r--r--res/script.js32
1 files changed, 32 insertions, 0 deletions
diff --git a/res/script.js b/res/script.js
new file mode 100644
index 0000000..f45ab90
--- /dev/null
+++ b/res/script.js
@@ -0,0 +1,32 @@
+$(function(){
+
+
+ $('div.d, div.f').click(function (e) {
+ if (e.target !== this) return;
+ $(this).toggleClass('hide');
+ e.preventDefault();
+ e.stopPropagation();
+ });
+
+ $('span.params, span.return').click(function (e) {
+ if (e.target !== this) return;
+ $(this).toggleClass('short');
+ e.preventDefault();
+ e.stopPropagation();
+ });
+
+ $('#internal').change(function(){
+ $('div.i').toggle();
+ });
+
+ $('span.name').click(function(e){
+ if (e.target !== this) return;
+
+ var $fn = $(this);
+ var name = $(this).text();
+ $("span.name:contains('"+name+"')").closest('div.f').toggleClass('hide');
+
+ e.preventDefault();
+ e.stopPropagation();
+ });
+}); \ No newline at end of file