compass/doc-src/assets/javascripts/fixups.js
Chris Eppstein bf83b2d5b3 Getting started with the new layout:
* Added susy and css-slideshow
* Converted legacy css to scss, moved it and updated reference.
* extracted some javascript to a file so it can be shared.
2010-04-20 11:16:43 -07:00

11 lines
301 B
JavaScript

$(function(){
$('span.color').each(function(i,e){
e = $(e);
e.after('<span class="swatch" style="background-color:'+e.text()+';"></span>');
});
$('span.arg[data-default-value]').each(function(i,e){
e = $(e);
e.attr("title", "Defaults to: " + e.attr("data-default-value"))
})
});