You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • The actual code for loading widgets is:

    (function() {
      require("Storage").list(/\.wid\.js$/).fo­rEach(widget=>{try { eval(require("Storage").read(widget)); } catch (e) {print(widget,e);}}); 
      var W = WIDGETS;
      WIDGETS = {};

    So it should work just to have what you're doing... You could check the WIDGETS object and make sure everything is in the order you want and has sortorder set right?


Avatar for Gordon @Gordon started