You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My console is littered with error statements (particularly when running tests) with the following: FB.init has already been called - this could indicate a problem
so far I have yet to encounter where this is problematic.
For reference, I have included the following files in my index.html: parse-angular-patch/dist/parse-angular.js parse-angular-demo/services/ParseServices.js parse-angular-demo/services/FacebookAngularPatch.js
and I have the following async sdk code there too:
<scripttype="text/javascript">(function(doc,script){varjs,fjs=doc.getElementsByTagName(script)[0],add=function(url,id){if(doc.getElementById(id)){return;}js=doc.createElement(script);js.src=url;id&&(js.id=id);fjs.parentNode.insertBefore(js,fjs);};// Facebook SDKadd('//connect.facebook.net/en_US/all.js','facebook-jssdk');}(document,'script'));</script><!-- Async resolve promise when FB SDK is loaded, this triggers Parse.FacebookUtils.init() --><script>varfbDeferred=$.Deferred();window.fbPromise=fbDeferred.promise();window.fbAsyncInit=function(){fbDeferred.resolve();};</script><scripttype="text/javascript">// manual bootstrapangular.element(document).ready(function(){angular.bootstrap(document,['cloakroomApp']);});</script>
What can I do to remove this error?
The text was updated successfully, but these errors were encountered:
My console is littered with error statements (particularly when running tests) with the following:
FB.init has already been called - this could indicate a problem
so far I have yet to encounter where this is problematic.
For reference, I have included the following files in my index.html:
parse-angular-patch/dist/parse-angular.js
parse-angular-demo/services/ParseServices.js
parse-angular-demo/services/FacebookAngularPatch.js
and I have the following async sdk code there too:
What can I do to remove this error?
The text was updated successfully, but these errors were encountered: