Skip to content

Instantly share code, notes, and snippets.

@trullock
Created November 22, 2012 12:08
Show Gist options
  • Save trullock/4130823 to your computer and use it in GitHub Desktop.
Save trullock/4130823 to your computer and use it in GitHub Desktop.
var index = null;
var capture;
if(minY != minGroupY) {
for (index = 0; index < props.cols - 1; index++) {
if (props.colYs[index] == props.colYs[index + 1]) {
capture = index;
break;
}
}
}
// capture is null, when index is 2
instance._masonryPlaceBrick($this, groupY, index);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment