MCPcopy Create free account
hub / github.com/dabbott/javascript-playgrounds / runApplication

Method runApplication

components/workspace/PlayerFrame.js:81–92  ·  view source on GitHub ↗
(fileMap, entry)

Source from the content-addressed store, hash-verified

79 }
80
81 runApplication(fileMap, entry) {
82 this.props.onRun()
83 switch (this.status) {
84 case 'loading':
85 this.fileMap = fileMap
86 this.entry = entry
87 break
88 case 'ready':
89 this.refs.iframe.contentWindow.postMessage({fileMap, entry}, '*')
90 break
91 }
92 }
93
94 renderFrame = () => {
95 const {assetRoot, vendorComponents, playerStyleSheet, playerCSS} = this.props

Callers 2

Workspace.jsFile · 0.45
componentDidMountMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected