removed unused bonus jade files

This commit is contained in:
Henry Oswald 2014-07-24 13:58:02 +01:00
parent 7255231abc
commit 2ffe093952
5 changed files with 0 additions and 48 deletions

View file

@ -1,9 +0,0 @@
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'));

View file

@ -1,25 +0,0 @@
a(onclick='postToFeed(); return false;').facebook Post on Facebook
script(src='http://connect.facebook.net/en_US/all.js')
script(type='text/javascript')
FB.init({appId: "148710621956179", status: true, cookie: true});
function postToFeed() {
// calling the API ...
var obj = {
method: 'feed',
redirect_uri: 'https://www.sharelatex.com',
link: '#{buildReferalUrl()}',
picture: 'https://www.sharelatex.com/brand/logo/logosmall.png',
name: 'ShareLaTeX - Online LaTeX Editor',
caption: 'Free Unlimited Projects and Compiles',
description: 'ShareLaTeX is a free Online LaTeX Editor. Real time collaboration like Google Docs, with Dropbox, history and Auto Complete'
};
//function callback(response) {
// document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
//}
FB.ui(obj, callback);
}

View file

@ -1,10 +0,0 @@
<g:plusone size='tall' href='https://www.sharelatex.com'></g:plusone>
script(type='text/javascript')
window.___gcfg = {lang: 'en-GB'};
(function() {
var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
po.src = 'https://apis.google.com/js/plusone.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
})();

View file

@ -1,2 +0,0 @@
a(href='https://twitter.com/share', counturl='https://www.sharelatex.com', data-text="is trying out online latex editor ShareLaTeX #{buildReferalUrl()}", data-count='vertical').twitter-share-button Tweet
script(type='text/javascript', src='//platform.twitter.com/widgets.js')

View file

@ -1,2 +0,0 @@
a(href='https://twitter.com/share', counturl='https://www.sharelatex.com', data-text="is trying out online latex editor ShareLaTeX #{buildReferalUrl()}", data-count='none').twitter Tweet about us
script(type='text/javascript', src='//platform.twitter.com/widgets.js')