Skip to content

Instantly share code, notes, and snippets.

@dotKokott
Forked from ravensinth/gist:2023719
Created March 12, 2012 18:14
Show Gist options
  • Save dotKokott/2023740 to your computer and use it in GitHub Desktop.
Save dotKokott/2023740 to your computer and use it in GitHub Desktop.
//click
if (TAB.TabContent.length != 0)
{
for (var i=0; i< TAB.TabContent.length; i++)
{
for (var j=0; j< TAB.TabContent[i].BeadsX.length; j++)
{
if ( x== TAB.TabContent[i].BeadsX[j])
{
if ( y== TAB.TabContent[i].BeadsY[j])
{
BrickSelected[0] = BrickSelected[0] *-1;
BrickSelected[1] = i;
if (BrickSelected[0] == 1)
{
SelectionCounter++;
}
}
}
}
j++;
}
}
//Table
function Table()
{
this.TabContent = new Array();
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment