This file contains hidden or 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
| // User ID | |
| var _id; | |
| // Dependency handlers | |
| var dep = []; | |
| var depDone = (function() { | |
| var i = 0;//# dependencies | |
| return function() { | |
| i += 1; | |
| if(dep.length === i) {//all dependencies are done |
This file contains hidden or 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
| // User ID | |
| var _id; | |
| // Facebook ready | |
| window.fbAsyncInit = function() { | |
| FB.init({ appId: 'XXX' }); | |
| // Do we have a user? | |
| FB.getLoginStatus(function(response) { | |
| if('connected' === response.status) { |
This file contains hidden or 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
| // User ID | |
| var _id; | |
| // Facebook ready | |
| window.fbAsyncInit = function() { | |
| FB.init({ appId: 'XXX' }); | |
| // Do we have a user? | |
| FB.getLoginStatus(function(response) { | |
| if('connected' === response.status) { |
NewerOlder