Let me explain better:
in the main code i require module A that requires module C
in the main code i require module B that requires module C
i never need to require module C in the main code but if i don't do it the code dies when it require the module b because it says that module c does not exists...
I attach the code (i only kept the code usefull to understand the problem)
Is this an Espruino bug? can it be fixed? is it just a stupid idea? :D
Thanks in advance
Save the module in Storage.
See more here http://www.espruino.com/Modules#from-storage
oh... ok thank you
Don't worry about formatting, just type in the text and we'll take care of making sense of it. We will auto-convert links, and if you put asterisks around words we will make them bold.
For a full reference visit the Markdown syntax.
© Espruino, powered by microcosm.
Report a problem