Skip to content

Instantly share code, notes, and snippets.

@mreq
mreq / protect_emails
Created July 12, 2014 10:02
Protect emails
$ ->
$('.em').filter('[data-em]').each ->
t = $(this)
e = t.data('em').replace '/', '@'
t.attr('href', 'mailto:'+e).not('.custom-text').text e
@mreq
mreq / mreq.less
Created April 14, 2014 15:51
mreq less mixins
@bf: @font-size-base;
@bl: @line-height-computed;
@br: @border-radius-base;
.wh(@width, @height) {
width: @width;
height: @height;
}
.sq(@s) {
.square(@s);
}