Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/melonjs/melonJS
/ getBinary
Function
getBinary
packages/melonjs/src/loader/loader.js:838–845 ·
view source on GitHub ↗
(elt)
Source
from the content-addressed store, hash-verified
836
* @category Assets
837
*/
838
export
function
getBinary(elt) {
839
// force as string
840
elt =
""
+ elt;
841
if
(elt in binList) {
842
return
binList[elt];
843
}
844
return
null;
845
}
846
847
/**
848
*
return
the specified Image Object
Callers
1
constructor
Method · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected