• exports.constructor=Date;

    I've always done:

    exports.constructor = function() {
           return new Date();
    }
    

    like the example modules do.

    Last time I tried optimization from WebIDE, it didn't work. Try turning off minification for now. I was asked to provide simplified code that would make it fail, but I've been super busy lately, and haven't had any time to fiddle with that and cut the code that caused it to a smaller size than "my whole project"

About

Avatar for DrAzzy @DrAzzy started