Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. New Firebase instance:
  2. var authRef = new Firebase(myfirebase);
  3.  
  4. $('social-auth').on('click',function(e) {
  5. e.preventDefault();
  6. var socialSite = this.getAttribute('data-social-site');
  7.  
  8. If(socialSite === 'facebook') {
  9. // this where the Facebook OAuthPopUp is called.
  10. facebook();
  11. }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement