You are reading a single comment by @Ethan_IRON and its replies. Click here to read the full conversation.
  • Hi everybody, i'm creating a module for my tiny webserver framework and i have a problem with a module if is not required in the main javascript code.
    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


    1 Attachment

About

Avatar for Ethan_IRON @Ethan_IRON started