MCPcopy Create free account
hub / github.com/sshwsfc/xadmin / getGLInstance

Method getGLInstance

xadmin-dashboard/src/widgets/WebGL.js:64–75  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

62 }
63
64 getGLInstance(cb) {
65 if(this.init) {
66 cb(this.props.modal)
67 } else {
68 this.initing = true
69 this.props.modal.init(this.refs.webglDom, () => {
70 cb(this.props.modal)
71 this.init = true
72 this.initing = false
73 })
74 }
75 }
76
77 render() {
78 const style = {

Callers 1

renderGLDomMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected