debug.js 395 B

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