• Great, just tested nightly build and it works fine.

    What I'm doing now is to use something like this:

    1. copy my modules to sdcard in folder node_modules
    2. use require by variable not by string to avoid loading from WebIDE
    3. clear modules after running my init procedure

      var b,n;
      n = "myModule";
      b = require(n).connect(......
      // do a lot of functions
      b = ""; //to delete the object created during require
      Modules.removeCached(n);
      // do whatever is used after initialization
      

    Next test will be to split an application into modules which are loaded and unloaded by a main application.

About

Avatar for JumJum @JumJum started