Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e7016ae

Browse files
committed
remove unused imports
1 parent 7fcdd80 commit e7016ae

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

pyscriptjs/src/components/pyenv.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as jsyaml from 'js-yaml';
22

3-
import { pyodideLoaded, loadedEnvironments, mode, addInitializer } from '../stores';
3+
import { pyodideLoaded, addInitializer } from '../stores';
44
import { loadPackage, loadFromFile } from '../interpreter';
55

66
// Premise used to connect to the first available pyodide interpreter

pyscriptjs/src/components/pytitle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { BaseEvalElement } from './base';
2-
import { addClasses, ltrim, htmlDecode } from '../utils';
2+
import { addClasses, htmlDecode } from '../utils';
33

44
export class PyTitle extends BaseEvalElement {
55
shadow: ShadowRoot;

pyscriptjs/src/pyscript.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
from js import document, setInterval, console
2-
import micropip
1+
from js import document, console
32
import asyncio
4-
import io, base64, sys
3+
import io, base64
54

65
loop = asyncio.get_event_loop()
76

0 commit comments

Comments
 (0)