dist/example/index.js
function toHeightMap() {
    if (rasterToGcode.running) {
        return rasterToGcode.abort();
    }

    console.log('toHeightMap:', file.name);
    $toHeightMap.text('Abort').addClass('btn-danger');
    $progressBar.removeClass('progress-bar-danger');
    $progressBar.parent().show();
    rasterToGcode.getHeightMap();
}
function toHeightMap() {
    if (rasterToGcode.running) {
        return rasterToGcode.abort();
    }

    console.log('toHeightMap:', file.name);
    $toHeightMap.text('Abort').addClass('btn-danger');
    $progressBar.removeClass('progress-bar-danger');
    $progressBar.parent().show();
    rasterToGcode.getHeightMap();
}
function toHeightMap ( ) { if ( rasterToGcode . running ) { return rasterToGcode . abort ( ) ; } console . log ( 'toHeightMap:' , file . name ) ; $toHeightMap . text ( 'Abort' ) . addClass ( 'btn-danger' ) ; $progressBar . removeClass ( 'progress-bar-danger' ) ; $progressBar . parent ( ) . show ( ) ; rasterToGcode . getHeightMap ( ) ; }
To height-map
To height - map