Permalink
Browse files

fix Infinity file names

  • Loading branch information...
tih-ra committed Dec 3, 2011
1 parent 8ac6625 commit 3f94397b8347e6fd303a9f31faf9ddf7c92024e1
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/alleup.js
View
@@ -134,7 +134,7 @@ Alleup.prototype = {
var _resize = config['variants']['resize'];
var _crop = config['variants']['crop'];
- var new_file = Math.round(new Date().getTime()/Math.floor(Math.random() * 8) + 2);
+ var new_file = Math.round(new Date().getTime());
var ext = this.setExtension(file['type']);
new_file += ext;

0 comments on commit 3f94397

Please sign in to comment.