Permalink
Browse files

debug auth sequence

  • Loading branch information...
1 parent d9ce3c6 commit 8629a40a7c2ed134b84f8173305e782cd557c9d8 @robrighter committed Apr 24, 2010
Showing with 2 additions and 2 deletions.
  1. +1 −1 prod-buildout/js/site.js
  2. +1 −1 static/js/site.js
View
@@ -24,7 +24,6 @@ var setProfile = function(user){
};
var unfollow = function(screenname,callback){
- window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
console.log(data);
if(data.error){
@@ -39,6 +38,7 @@ var unfollow = function(screenname,callback){
}
var authenticate = function(){
+ console.log('starting oauth sequence...');
window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
}
View
@@ -24,7 +24,6 @@ var setProfile = function(user){
};
var unfollow = function(screenname,callback){
- window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
$.getJSON('/__unfollow?screen_name='+screenname, function(data){
console.log(data);
if(data.error){
@@ -39,6 +38,7 @@ var unfollow = function(screenname,callback){
}
var authenticate = function(){
+ console.log('starting oauth sequence...');
window.open('./oauth','Connect with Twitter','menubar=no,location=no,resizable=yes,scrollbars=yes,status=yes,width=800,height=400');
}

0 comments on commit 8629a40

Please sign in to comment.