Sha256: 7d2569f8e821753fa5b10a03146d5b5f8e76a61aefb749df5374f111bc2e75e2
Contents?: true
Size: 420 Bytes
Versions: 15
Compression:
Stored size: 420 Bytes
Contents
<% count = 1; @crumbs.each do |pair| %> <% clazz = (pair == @crumbs.last ? "selected" : "" )%> <span rel="<%=pair.last%>" class="crumb <%=clazz%>"><%=pair.first%></span> <% if count < @crumbs.size %>»<%end%> <% count +=1; end %> <script> $( function() { $('span.crumb').click( function() { $.ajax( {url: $(this).attr('rel'), dataType: 'script', method: 'GET'} ); }); } ); </script>
Version data entries
15 entries across 15 versions & 1 rubygems