mirror of
https://github.com/photonstorm/phaser
synced 2025-02-17 06:28:30 +00:00
Fixed style issues
This commit is contained in:
parent
57d82d9a28
commit
5c64404608
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue