Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

added anywhere

  • Loading branch information...
commit 911a6f6d80ac8787c83fafad1e96fb9948182efb 1 parent b44627f
@robrighter authored
View
1  dynamic/layout.haml
@@ -3,6 +3,7 @@
%head
%title= 'Friendagon'
%link{:rel=>'stylesheet', :type=>'text/css', :href=>'/css/site.css'}
+ %script{:type=>'text/javascript', :src=>'http://platform.twitter.com/anywhere.js?id=goFZuKd8zB1TXCWy2nD4w&v=1'}
%script{:type=>'text/javascript', :src=>'/js/underscore.js'}
%script{:type=>'text/javascript', :src=>'http://www.google.com/jsapi'}
%script{:type=>'text/javascript', :charset=>'utf-8'}= "google.load('jquery', '1.4.2');"
View
1  prod-buildout/index.html
@@ -3,6 +3,7 @@
<head>
<title>Friendagon</title>
<link href='/css/site.css' rel='stylesheet' type='text/css' />
+ <script src='http://platform.twitter.com/anywhere.js?id=goFZuKd8zB1TXCWy2nD4w&amp;v=1' type='text/javascript'></script>
<script src='/js/underscore.js' type='text/javascript'></script>
<script src='http://www.google.com/jsapi' type='text/javascript'></script>
<script charset='utf-8' type='text/javascript'>google.load('jquery', '1.4.2');</script>
View
4 prod-buildout/js/friendpage.js
@@ -36,5 +36,9 @@ $(document).ready(function() {
$('.profile .nofollowback').addClass('selected');
});
+ twttr.anywhere(function (T) {
+ T('#wrapper').connectButton({ size: "large" });
+ });
+
});
View
2  prod-buildout/js/site.js
@@ -9,7 +9,7 @@ var insertUser = function (user){
template.find('.following .count').html(user.friends_count);
template.find('.followers .count').html(user.followers_count);
template.find('.minus').attr('onClick','tw.unfollowByScreenName("'+ user.screen_name +'",function() {alert("Unfollowed '+ user.screen_name +'");});');
- $(template).appendTo('#userlist').hide().removeClass('template').addClass('added').show();
+ $(template).appendTo('#userlist').hide().removeClass('template').addClass('added').addClass('userclass' + user.screen_name).show();
}
var setProfile = function(user){
View
3  prod-buildout/landing.html
@@ -3,6 +3,7 @@
<head>
<title>Friendagon</title>
<link href='/css/site.css' rel='stylesheet' type='text/css' />
+ <script src='http://platform.twitter.com/anywhere.js?id=goFZuKd8zB1TXCWy2nD4w&amp;v=1' type='text/javascript'></script>
<script src='/js/underscore.js' type='text/javascript'></script>
<script src='http://www.google.com/jsapi' type='text/javascript'></script>
<script charset='utf-8' type='text/javascript'>google.load('jquery', '1.4.2');</script>
@@ -28,7 +29,7 @@
<div class='instructions'>
<span class='prompt'>Twitter Screen Name:</span>
<form id='searchform'>
- <input 2150638360='q' type='text' />
+ <input 2150568620='q' type='text' />
</form>
<div class='go'>GO</div>
</div>
View
1  prod-buildout/layout.html
@@ -3,6 +3,7 @@
<head>
<title>Friendagon</title>
<link href='/css/site.css' rel='stylesheet' type='text/css' />
+ <script src='http://platform.twitter.com/anywhere.js?id=goFZuKd8zB1TXCWy2nD4w&amp;v=1' type='text/javascript'></script>
<script src='/js/underscore.js' type='text/javascript'></script>
<script src='http://www.google.com/jsapi' type='text/javascript'></script>
<script charset='utf-8' type='text/javascript'>google.load('jquery', '1.4.2');</script>
View
4 static/js/friendpage.js
@@ -36,5 +36,9 @@ $(document).ready(function() {
$('.profile .nofollowback').addClass('selected');
});
+ twttr.anywhere(function (T) {
+ T('#wrapper').connectButton({ size: "large" });
+ });
+
});
View
2  static/js/site.js
@@ -9,7 +9,7 @@ var insertUser = function (user){
template.find('.following .count').html(user.friends_count);
template.find('.followers .count').html(user.followers_count);
template.find('.minus').attr('onClick','tw.unfollowByScreenName("'+ user.screen_name +'",function() {alert("Unfollowed '+ user.screen_name +'");});');
- $(template).appendTo('#userlist').hide().removeClass('template').addClass('added').show();
+ $(template).appendTo('#userlist').hide().removeClass('template').addClass('added').addClass('userclass' + user.screen_name).show();
}
var setProfile = function(user){
Please sign in to comment.
Something went wrong with that request. Please try again.