docs/openjscad.js
function(err, objs) {
        that.worker = null;
        if(err) {
          that.setError(err);
          that.setStatus("Error.");
          that.state = 3; // incomplete
        } else {
          that.setCurrentObjects(objs);
          that.setStatus("Ready.");
          that.state = 2; // complete
        }
        that.enableItems();
      }
function(err, objs) {
        that.worker = null;
        if(err) {
          that.setError(err);
          that.setStatus("Error.");
          that.state = 3; // incomplete
        } else {
          that.setCurrentObjects(objs);
          that.setStatus("Ready.");
          that.state = 2; // complete
        }
        that.enableItems();
      }
function ( err , objs ) { that . worker = null ; if ( err ) { that . setError ( err ) ; that . setStatus ( "Error." ) ; that . state = 3 ; // incomplete } else { that . setCurrentObjects ( objs ) ; that . setStatus ( "Ready." ) ; that . state = 2 ; // complete } that . enableItems ( ) ; }
handle the results
handle the results