Fixed style issues

This commit is contained in:
Tom Catshoek 2018-03-09 15:31:07 +01:00
parent 57d82d9a28
commit 5c64404608

View file

@ -62,11 +62,13 @@ FileTypesManager.register('atlas', function (key, textureURL, atlasURL, textureX
{
var files;
// If param key is an object, use object based loading method
if ((typeof key === "object") && (key !== null))
if ((typeof key === 'object') && (key !== null))
{
files = new AtlasJSONFile(key.key, key.texture, key.data, this.path, textureXhrSettings, atlasXhrSettings);
}
// Else just use the parameters like normal
else
{