Subversion Repositories SmartDukaan

Rev

Rev 25090 | Rev 25245 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25090 Rev 25241
Line 64... Line 64...
64
function attachSignin(element) {
64
function attachSignin(element) {
65
	console.log(element.id);
65
	console.log(element.id);
66
	auth2.attachClickHandler(element, {}, function(googleUser) {
66
	auth2.attachClickHandler(element, {}, function(googleUser) {
67
		googleProfile = googleUser.getBasicProfile();
67
		googleProfile = googleUser.getBasicProfile();
68
		console.log(googleProfile.getImageUrl());
68
		console.log(googleProfile.getImageUrl());
69
		submitUser(googleUser, null,null);
69
		submitUser(googleUser, googleProfile.getEmail(),null);
70
	}, function(error) {
70
	}, function(error) {
71
		console.log(JSON.stringify(error, undefined, 2));
71
		console.log(JSON.stringify(error, undefined, 2));
72
	});
72
	});
73
}
73
}
74
 
74