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
mls-0.3.2 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.3.1 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.3.0 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.54 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.53 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.52 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.51 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.50 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.49 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.48 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.47 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.46 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.45 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.44 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.43 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.42 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.41 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.40 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.39 lib/rdoc/generator/template/42floors/resources/js/main.js
mls-0.2.38 lib/rdoc/generator/template/42floors/resources/js/main.js