Skip to content

Instantly share code, notes, and snippets.

@johnbender
Created November 28, 2008 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnbender/29915 to your computer and use it in GitHub Desktop.
Save johnbender/29915 to your computer and use it in GitHub Desktop.
//...
//create an array of all unique userids in the page
if(this.id != undefined)
{
var username = this.id;
//add this object (div by default) that met the query parameters
//to a list to be altered later
if( GitHubRepos.displayObjects[username] == undefined)
{
GitHubRepos.displayObjects[username] = new Array();
}
GitHubRepos.displayObjects[username][i] = this;
}
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment