Sha256: db5a7487b83a42a2e57d359f9c3ce87b161b07dc7b077585abd64347d322e563

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

$(document).ready(function () {
  $(".mu-kids-submit-button").html("<kids-submit-button></kids-submit-button>");

  Blockly.WorkspaceAudio.prototype.preload = function () {
    for (var soundName in this.SOUNDS_) {
      var sound = this.SOUNDS_[soundName];
      sound.volume = 0.01;
      var playPromise = sound.play();
      playPromise && playPromise.then(sound.pause.bind(sound));
      if (goog.userAgent.IPAD || goog.userAgent.IPHONE) break;
    }
  };

});

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mumuki-gobstones-runner-1.6.1 lib/render/editor/editor.js
mumuki-gobstones-runner-1.6.0 lib/render/editor/editor.js