arvindr21/blueimp-file-upload-expressjs — pull request #27 by orthes (2014-11-14 09:38:26+00:00)
Title: fix initializing without imageVersions set

[Demo](http://thejackalofjavascript.com/uploading-files-made-fun/) says, that minimal options are these:
```
var options = {
tmpDir: __dirname + '/../public/uploaded/tmp',
uploadDir: __dirname + '/../public/uploaded/files',
uploadUrl: '/uploaded/files/',
storage : {
type : 'local'
}
};
```

But when you initialize the module without ```imageVersions``` an error occurs:
```
.../blueimp-file-upload-expressjs/index.js:50
Object.keys(opts.imageVersions).forEach(function(version) {
^
TypeError: Object.keys called on non-object
```

This simple PR fixes this issue with checking for ```opts.imageVersions``` before working with it.