Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- New Firebase instance:
- var authRef = new Firebase(myfirebase);
- $('social-auth').on('click',function(e) {
- e.preventDefault();
- var socialSite = this.getAttribute('data-social-site');
- If(socialSite === 'facebook') {
- // this where the Facebook OAuthPopUp is called.
- facebook();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement