Skip to content

Commit

Permalink
added support to pull screenname from user.js
Browse files Browse the repository at this point in the history
  • Loading branch information
robrighter committed Apr 11, 2010
1 parent ffeb92e commit 02133ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions dynamic/layout.haml
Expand Up @@ -3,6 +3,7 @@
%head
%title= 'Friendagon'
%link{:rel=>'stylesheet', :type=>'text/css', :href=>'/css/site.css'}
%script{:type=>'text/javascript', :src=>'user.js'}
%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');"
Expand Down
2 changes: 1 addition & 1 deletion static/js/site.js
Expand Up @@ -41,7 +41,7 @@ var replaceList = function(list){
}

$(document).ready(function() {
tw = new tweetWrap('robrighter', function(){
tw = new tweetWrap(theuser, function(){
populateList(tw.toogoodforme);
setProfile(tw.personalprofile);
});
Expand Down
1 change: 1 addition & 0 deletions static/user.js
@@ -0,0 +1 @@
var theuser = 'robrighter';

0 comments on commit 02133ac

Please sign in to comment.