example/demo.js
function generateImagesToPreload(totalImages) {
  for (var i = 0, images = [], index; i < totalImages; i++) {
    index = (i < 10) ?  '0' + i : i
    images.push('https://github.com/rbartoli/threesixty/raw/master/example/images/sequence-' + index + '.png')
  }

  return images
}
function generateImagesToPreload(totalImages) {
  for (var i = 0, images = [], index; i < totalImages; i++) {
    index = (i < 10) ?  '0' + i : i
    images.push('https://github.com/rbartoli/threesixty/raw/master/example/images/sequence-' + index + '.png')
  }

  return images
}
function generateImagesToPreload ( totalImages ) { for ( var i = 0 , images = [ ] , index ; i < totalImages ; i ++ ) { index = ( i < 10 ) ? '0' + i : i images . push ( 'https://github.com/rbartoli/threesixty/raw/master/example/images/sequence-' + index + '.png' ) } return images }
/*global threesixty:true
/ * global threesixty : true