Skip to content

Instantly share code, notes, and snippets.

@clauswitt
Created November 1, 2011 20:37
Show Gist options
  • Select an option

  • Save clauswitt/1331826 to your computer and use it in GitHub Desktop.

Select an option

Save clauswitt/1331826 to your computer and use it in GitHub Desktop.
Using Filename Generator
require(['utils/files/nameGenerator'], function(filenameGenerator) {
for(var i=0;i<100;i++) {
console.log(filenameGenerator.getName('mp'+(i%2+2)));
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment