MCPcopy Create free account
hub / github.com/melonjs/melonJS / loadText

Method loadText

packages/spine-plugin/src/AssetManager.js:119–121  ·  view source on GitHub ↗

* Load a JSON skeleton file. * @param {string} skel - skeleton JSON filename * @param {Function} [onload] - callback on successful load * @param {Function} [onerror] - callback on error

(skel, onload, onerror)

Source from the content-addressed store, hash-verified

117 * @param {Function} [onerror] - callback on error
118 */
119 loadText(skel, onload, onerror) {
120 return this.spineAssetManager.loadText(skel, onload, onerror);
121 }
122
123 /**
124 * Load all queued spine assets.

Callers 2

constructorMethod · 0.95
loadAssetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected