linsong / sedona

The Sedona Framework for building smart, networked embedded devices easier.
https://linsong.github.io/sedona
Other
33 stars 28 forks source link

make SpyWeblet and SpyRESTWeblet just like normal component #28

Closed linsong closed 5 years ago

linsong commented 5 years ago

now the SpyWeblet and SpyRESTWeblet create static object during svm startup if web kit is installed. It is kind of risky to user since for normal component, its object goes alive only after user adds it to wiresheet explicitly. Consider the spy weblet can access most of data, it is kind of dangerous.

User has to uninstall the web kit if he wants to disable the spy weblets.

In this task, I will make the weblets work just like normal component.