Sha256: a83f96ef95d9c7b1b0123c7c8d99be38112a2c6131baed10bfe439a3a2974c82

Contents?: true

Size: 416 Bytes

Versions: 5

Compression:

Stored size: 416 Bytes

Contents

var mumuki = mumuki || {};
(function (mumuki) {

  function Laboratory(exerciseId){
    this.exerciseId = exerciseId;
  }

  Laboratory.prototype = {
    runTests: function (solution) {
      return $.ajax({
        type: 'POST',
        url: window.location + '/solutions',
        data: {
          solution: solution
        }
      })
    }
  };

  mumuki.bridge = {
    Laboratory: Laboratory
  };

}(mumuki));

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mumuki-laboratory-5.0.4 app/assets/javascripts/application/bridge.js
mumuki-laboratory-5.0.3 app/assets/javascripts/application/bridge.js
mumuki-laboratory-5.0.2 app/assets/javascripts/application/bridge.js
mumuki-laboratory-5.0.1 app/assets/javascripts/application/bridge.js
mumuki-laboratory-5.0.0 app/assets/javascripts/application/bridge.js