MCPcopy
hub / github.com/phaserjs/phaser / parse

Function parse

src/textures/TextureManager.js:576–586  ·  view source on GitHub ↗
(texture, sourceIndex, atlasData)

Source from the content-addressed store, hash-verified

574 if (atlasData)
575 {
576 var parse = function (texture, sourceIndex, atlasData)
577 {
578 if (Array.isArray(atlasData.textures) || Array.isArray(atlasData.frames))
579 {
580 Parser.JSONArray(texture, sourceIndex, atlasData);
581 }
582 else
583 {
584 Parser.JSONHash(texture, sourceIndex, atlasData);
585 }
586 };
587 if (Array.isArray(atlasData))
588 {
589 for (var i = 0; i < atlasData.length; i++)

Callers 1

TextureManager.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…