src/SkimoPage.js
/**
   * Loads the skimo's JSON-data and inserts one card per entry (only once).
   */
Loads the skimo's JSON-data and inserts one card per entry (only once).
Loads the skimo ' s JSON - data and inserts one card per entry ( only once ) .
async loadSkimos(skimoId) {
    this.skimoId = skimoId;
    $.ajax({
      url: 'http://localhost:2345/skimo/' + skimoId,
      context: this,
      error: function(result) {
        console.log("Server error", result);
        $('#add2').prop('disabled', false);
      },
      success: (result) => this.createCard(result),
      async: true
    });
  }
async loadSkimos ( skimoId ) { this . skimoId = skimoId ; $ . ajax ( { url : 'http://localhost:2345/skimo/' + skimoId , context : this , error : function ( result ) { console . log ( "Server error" , result ) ; $ ( '#add2' ) . prop ( 'disabled' , false ) ; } , success : ( result ) => this . createCard ( result ) , async : true } ) ; }
Loads the skimo's JSON-data and inserts one card per entry (only once).
Loads the skimo ' s JSON - data and inserts one card per entry ( only once ) .