2010-04-20 18:09:09 +00:00
|
|
|
$(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"))
|
2010-11-23 06:09:18 +00:00
|
|
|
});
|
2010-11-27 23:13:47 +00:00
|
|
|
});
|
|
|
|
|
2010-12-11 20:37:09 +00:00
|
|
|
/*;(function()
|
2010-11-27 23:13:47 +00:00
|
|
|
{
|
|
|
|
typeof(require) != 'undefined' ? SyntaxHighlighter = require('shCore').SyntaxHighlighter : null;
|
|
|
|
function Brush(){};
|
|
|
|
Brush.prototype = new SyntaxHighlighter.Highlighter();
|
2010-12-11 00:16:27 +00:00
|
|
|
Brush.aliases = ['sass', 'scss', 'css', 'html'];
|
2010-11-27 23:13:47 +00:00
|
|
|
|
|
|
|
SyntaxHighlighter.brushes.Sass = Brush;
|
|
|
|
|
|
|
|
typeof(exports) != 'undefined' ? exports.Brush = Brush : null;
|
2010-12-11 20:37:09 +00:00
|
|
|
})();*/
|