You are reading a single comment by @Mark_M and its replies. Click here to read the full conversation.
  • Thanks Gordon!
    If I want to make and test the changes in this library, should I put it (copy of it) into my /modules/ dir on my web server? Or it should be there in /lib/js/banglejs/ ?

    tried to put it into /modules/ and load with

    require("http://localhost/mark/BangleApp­s/modules/E_showMenu_Q3.js");
    

    Output

    No errors in http://localhost/mark/BangleApps/modules­/E_showMenu_Q3.js. Minified 4256 bytes to 0 bytes.
    >
     ____                 _
    |  __|___ ___ ___ _ _|_|___ ___
    |  __|_ -| . |  _| | | |   | . |
    |____|___|  _|_| |___|_|_|_|___|
             |_| espruino.com
     2v10.187 (c) 2021 G.Williams
    >
    >Uncaught Error: Unable to load module "http://localhost/mark/BangleApps/module­s/E_showMenu_Q3.js"
     at line 1 col 91
    ...howMenu_Q3.js",function(){});
                                  ^
    >Uncaught Error: Module http://localhost/mark/BangleApps/modules­/E_showMenu_Q3.js not found
     at line 1 col 68
    ...s/modules/E_showMenu_Q3.js");
                                  ^
    
About

Avatar for Mark_M @Mark_M started