Fixed linting issue

This commit is contained in:
iamchristopher 2018-04-11 15:03:18 -04:00
parent 95e44527c5
commit 135db3089e

View file

@ -64,14 +64,14 @@ var ImageFile = new Class({
function ImageFile (key, url, path, xhrSettings, config)
{
var fileKey = (typeof key === 'string') ? key : GetFastValue(key, 'key', '');
if (url === undefined) url = GetFastValue(key, 'file');
var fileUrl = (url === undefined) ? GetFastValue(key, 'file') : url;
var fileConfig = {
type: 'image',
extension: GetFastValue(key, 'extension', 'png'),
responseType: 'blob',
key: fileKey,
url: url,
url: fileUrl,
path: path,
xhrSettings: GetFastValue(key, 'xhr', xhrSettings),
config: GetFastValue(key, 'config', config)