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

Method loadBinary

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

* Load a binary skeleton (.skel) file. * @param {string} skel - skeleton binary 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

107 * @param {Function} [onerror] - callback on error
108 */
109 loadBinary(skel, onload, onerror) {
110 return this.spineAssetManager.loadBinary(skel, onload, onerror);
111 }
112
113 /**
114 * Load a JSON skeleton file.

Callers 2

constructorMethod · 0.95
loadAssetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected