Sha256: 3fd653e0bdc489ae5832b2c72537787f0c6921386b52dc41395c4034406c9553
Contents?: true
Size: 1.19 KB
Versions: 4
Compression:
Stored size: 1.19 KB
Contents
<script type="text/javascript"> var Footnotes = function() { function hideAll(){ Footnotes.hide(document.getElementById('assigns_debug_info')); Footnotes.hide(document.getElementById('params_debug_info')); Footnotes.hide(document.getElementById('sinatra_routes_debug_info')); Footnotes.hide(document.getElementById('session_debug_info')); Footnotes.hide(document.getElementById('flash_debug_info')); Footnotes.hide(document.getElementById('cookies_debug_info')); Footnotes.hide(document.getElementById('env_debug_info')); } function hideAllAndToggle(id) { hideAll(); toggle(id) location.href = '#footnotes_debug'; } function toggle(id){ var el = document.getElementById(id); if (el.style.display == 'none') { Footnotes.show(el); } else { Footnotes.hide(el); } } function show(element) { element.style.display = 'block' } function hide(element) { element.style.display = 'none' } return { show: show, hide: hide, toggle: toggle, hideAllAndToggle: hideAllAndToggle } }(); /* Additional Javascript */ </script>
Version data entries
4 entries across 4 versions & 1 rubygems