Sha256: 4084efe4f295b323d10ce035db959e2a1f1c0757789781664b45c0b7f7609646
Contents?: true
Size: 520 Bytes
Versions: 95
Compression:
Stored size: 520 Bytes
Contents
function toggleSource( id ) { var $src = $('#' + id).toggle(); $('#l_' + id).html($src.css('display') == 'none' ? 'show' : 'hide'); } function openCode( url ) { window.open( url, "SOURCE_CODE", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=480,width=750" ).focus(); } window.highlight = function(url) { var hash = url.match(/#([^#]+)$/) if(hash) { $('a[name=' + hash[1] + ']').parent().effect('highlight', {}, 'slow') } } $(function() { highlight('#' + location.hash); });
Version data entries
95 entries across 89 versions & 19 rubygems