Skip to content

Instantly share code, notes, and snippets.

@dbani-dev
Created March 26, 2015 06:11
Show Gist options
  • Save dbani-dev/a07d8e4a50ffb56efef4 to your computer and use it in GitHub Desktop.
Save dbani-dev/a07d8e4a50ffb56efef4 to your computer and use it in GitHub Desktop.
var getReams = this.calculateReams();
for (var targetColumn = 0; targetColumn <= this.options.columnCount; targetColumn++) {
for (var i = 0; i < getReams[targetColumn - 1]; i++) {
this.$element.find(".column-" + targetColumn).append("<span class=" + this._classed.ream + ">");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment