overleaf/services/web/app/views/referal/facebookLike.jade
2014-02-12 10:23:40 +00:00

9 lines
No EOL
507 B
Text

div.fb-like(data-href='https://www.sharelatex.com', ref='#{getReferalId()}', data-send='false', data-layout='box_count', data-width='450', data-show-faces='true', data-font='lucida grande')
script(type='text/javascript')
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) {return;}
js = d.createElement(s); js.id = id;
js.src = '//connect.facebook.net/en_GB/all.js#xfbml=1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));