Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
frontend-auth
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
06c4e4b0
authored
2017-05-17 13:32:43 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Change the name of the facebook library to use.
1 parent
331463db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/scripts/Auth.js
src/scripts/Auth.js
View file @
06c4e4b
...
...
@@ -34,13 +34,13 @@ define(function(require) {
var
FacebookProvider
=
Backbone
.
Model
.
extend
({
initialize
:
function
(
data
,
globalOptions
)
{
// early facebook javascript load
require
([
'f
acebook
'
]);
require
([
'f
b
'
]);
FacebookProvider
.
__super__
.
initialize
.
apply
(
this
,
arguments
);
var
self
=
this
;
var
fbLoaded
=
$
.
Deferred
();
var
ready
=
attachReady
(
this
);
attachStart
(
this
,
function
()
{
require
([
'f
acebook
'
],
function
(
FB
)
{
require
([
'f
b
'
],
function
(
FB
)
{
FB
.
init
({
appId
:
globalOptions
.
appId
,
status
:
true
,
...
...
Please
register
or
sign in
to post a comment