Sha256: 1b505b75f16cd53ab19d5d38eaf79c6cba681a2c7d5c682cedc41fcfdb941823
Contents?: true
Size: 563 Bytes
Versions: 6
Compression:
Stored size: 563 Bytes
Contents
prettyPrint(); highlightLineFromFragment(); function highlightLineFromFragment() { highlightLine(window.location.hash) } $(".js-file-code").on("click", ".js-smell-location", highlightSmellyLine); function highlightSmellyLine() { var lineId = "#" + this.href.split("#")[1]; $(".js-file-code li").removeClass("highlight"); highlightLine(lineId); } function highlightLine(lineReference) { $(lineReference).addClass("highlight"); } $("#js-toggle-smells").on("click", toggleSmells); function toggleSmells() { $(".js-smells").toggle(); }
Version data entries
6 entries across 6 versions & 1 rubygems