Merge pull request #11 from bessl/patch-2
[gitphp.git] / js / modules / debug.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/*
 * GitPHP Javascript debug menu
 *
 * Javascript for expandable debug output
 *
 * @author Christopher Han <xiphux@gmail.com>
 * @copyright Copyright (c) 2013 Christopher Han
 * @package GitPHP
 * @subpackage Javascript
 */
 
define(["jquery"],
  function($) {
    $('span.debug_toggle').click(
      function() {
        $(this).siblings('div.debug_bt').toggle('fast');
      }
    );
  }
);
 
comments