Skip to content

Instantly share code, notes, and snippets.

@optikalefx
Created July 6, 2012 05:53
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 optikalefx/3058311 to your computer and use it in GitHub Desktop.
Save optikalefx/3058311 to your computer and use it in GitHub Desktop.
render rows
// run 3 loops of 5, to fill with loading boxes
for(var i=0;i<3;i++) {
for(var j=0;j<5;j++) {
$(".news-row:eq("+i+") .news-inner-row").append(
render(template)({
title : "",
image : "",
author : "",
source : "loading...",
body : []
})
);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment