• Thanks for posting it up!

    You might find you can add:

    Object.keys(global).forEach(function(n) { 
      if (n!="onInit" && n!="reset") delete global[n]; 
    });
    

    To remove most of the other things that might have got defined before?

About

Avatar for Gordon @Gordon started