MCPcopy Create free account
hub / github.com/SplootCode/splootcode / constructor

Method constructor

packages/editor/src/runtime/python_frame.tsx:45–61  ·  view source on GitHub ↗
(props: PythonFrameProps)

Source from the content-addressed store, hash-verified

43 private resizeObserver: ResizeObserver
44
45 constructor(props: PythonFrameProps) {
46 super(props)
47 this.frameRef = React.createRef()
48 this.termRef = React.createRef()
49 this.resolveActiveInput = null
50 this.wasmTty = null
51 this.pasteLinesBuffer = []
52 this.resizeObserver = new ResizeObserver((entries) => {
53 this.handleResize()
54 })
55
56 const runType = this.props.runtimeContextManager.runSettings.runType
57 this.state = {
58 frameSrc: this.getFrameSrc(runType),
59 responseData: null,
60 }
61 }
62
63 render() {
64 const { runtimeContextManager } = this.props

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected