Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //...
- //for each unique user
- for(var i in GitHubRepos.displayObjects)
- {
- //format the github url for our given user and callback function
- var github_url = format(GITHUB_JSON_URL, i, "GitHubRepos.DisplayRepos");
- //insert a script into the DOM to add our JSON data via the github url
- //once the script loads it will callback the DATA_DISPLAY_FUCNTION
- $('head').append(format(DYNAMIC_SCRIPT_TEMPLATE, github_url));
- }
- //...
Add Comment
Please, Sign In to add comment