Sha256: a761d6ef336138aeb5ea33346d438d1dbe56f7bcdc80ba4805d2264025bcb710
Contents?: true
Size: 544 Bytes
Versions: 65
Compression:
Stored size: 544 Bytes
Contents
function toggle_feature_dir(feature_dir) { $(feature_dir).parent('div.feature_dir').nextUntil('div.feature_dir').toggle(250); }; function toggle_step_file(step_file) { $(step_file).closest('li').next('.step_contents').toggle(250); event.stopPropagation(); }; $(document).ready(function() { $('li.step').each(function() { var messages = $(this).nextUntil('li.step').filter('.message'); if (messages.length > 0) { $(this).css('cursor', 'pointer').click(function() { messages.toggle(250); }); } }); });
Version data entries
65 entries across 65 versions & 2 rubygems