compass/doc-src/assets/javascripts/fixups.js
2010-11-23 00:09:18 -06:00

10 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"))
});
});