Sha256: a348f292b3ed63b79c58ad2bedb48188c8707fbe843da8e67eac522ce42e76f7

Contents?: true

Size: 451 Bytes

Versions: 137

Compression:

Stored size: 451 Bytes

Contents

function toggleSource(id)
{
  var src = $('#' + id).toggle();
  var isVisible = src.is(':visible');
  $('#l_' + id).html(isVisible ? 'hide' : 'show');
}

window.highlight = function(url) {
  var hash = url.match(/#([^#]+)$/)
  if(hash) {
    $('a[name=' + hash[1] + ']').parent().effect('highlight', {}, 'slow')
  }
}

$(function() {
  highlight('#' + location.hash);
  $('.description pre').each(function() {
    hljs.highlightBlock(this);
  });
});

Version data entries

137 entries across 137 versions & 6 rubygems

Version Path
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/sdoc-0.4.1/lib/rdoc/generator/template/rails/resources/js/main.js
mls-0.14.0 lib/rdoc/generator/template/42floors/resources/js/main.js
sdoc-0.4.1 lib/rdoc/generator/template/rails/resources/js/main.js
sdoc-templates-42floors-0.3 template/rdoc/generator/template/42floors/resources/js/main.js
sdoc-templates-42floors-0.2 template/rdoc/generator/template/42floors/resources/js/main.js
mls-0.13.0 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.12.5 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.12.4 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.12.2 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.12.3 lib/rdoc/generator/template/42floors/resources/js/main.js
sdoc-0.4.0 lib/rdoc/generator/template/rails/resources/js/main.js
mls-0.12.1 lib/rdoc/generator/template/42floors/resources/js/main.js
sdoc-0.4.0.rc.1 lib/rdoc/generator/template/rails/resources/js/main.js
mls-0.11.3 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.11.2 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.11.1 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.11.0 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.9.9 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.9.8 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.9.6 lib/rdoc/generator/template/42floors/resources/js/main.js