Created
December 11, 2014 19:32
-
-
Save paulshen/dd023f582d9506c0b3dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.fbAsyncInit = function() { | |
// Fix in Parse's date parser | |
var _parseDate = Parse._parseDate; | |
Parse._parseDate = function(str) { | |
return new Date(Date.parse(str)); | |
}; | |
Parse.FacebookUtils.init({ | |
appId : '123', // Facebook App ID | |
version : 'v2.0' | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment