1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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