refactor(examples) drop JS-specific code from header.py

This logic was moved into the JS simulator itself
This commit is contained in:
embeddedt
2021-07-11 15:09:25 -04:00
committed by GitHub
parent 5f6e07e57f
commit ef41450ed8

View File

@@ -3,9 +3,4 @@
import lvgl as lv
import usys as sys
# JS requires a special import
if sys.platform == 'javascript':
import imp
sys.path.append('https://raw.githubusercontent.com/lvgl/lv_binding_micropython/4c04dba836a5affcf86cef107b538e45278117ae/lib')
import display_driver