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
50c2625b
authored
2016-08-05 16:48:59 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Move wrapSync from a class method to the instance.
1 parent
071509ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
src/scripts/Auth.js
src/scripts/Auth.js
View file @
50c2625
...
...
@@ -265,14 +265,15 @@ define(function(require) {
};
bindMethods
(
this
,
'login'
,
'logout'
);
},
},
{
FacebookProvider
:
FacebookProvider
,
FormProvider
:
FormProvider
,
wrapSync
:
function
(
auth
,
origSync
)
{
wrapSync
:
function
(
origSync
)
{
var
auth
=
this
;
return
function
()
{
return
authSync
.
apply
(
this
,
[
auth
,
origSync
].
concat
(
_
.
toArray
(
arguments
)));
};
},
},
{
FacebookProvider
:
FacebookProvider
,
FormProvider
:
FormProvider
,
});
return
Auth
;
});
...
...
Please
register
or
sign in
to post a comment