mirror of
https://github.com/pyscript/pyscript.git
synced 2025-12-20 10:47:35 -05:00
adapt pyscript to new base class and clean Base
This commit is contained in:
@@ -204,7 +204,7 @@ export class PyRepl extends BaseEvalElement {
|
||||
}
|
||||
}
|
||||
|
||||
getSource(): string {
|
||||
getSourceFromElement(): string {
|
||||
const sourceStrings = [`output_manager.change("`+this.outputElement.id+`")`,
|
||||
...this.editor.state.doc.toString().split("\n")];
|
||||
return sourceStrings.join('\n')
|
||||
|
||||
Reference in New Issue
Block a user