Skip to content

Commit 929b8f6

Browse files
committed
rebuild dist
1 parent d19f6c3 commit 929b8f6

File tree

3 files changed

+18
-18
lines changed

3 files changed

+18
-18
lines changed

dist/frozen.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frozen.js.consoleStripped.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12820,7 +12820,7 @@ define("frozen/sounds/WebAudio", [
1282012820
var source = audioContext.createBufferSource();
1282112821
source.buffer = audioContext.createBuffer(1, 1, 22050);
1282212822
source.connect(audioContext.destination);
12823-
source.noteOn(0);
12823+
source.start(0);
1282412824
});
1282512825
}
1282612826
}
@@ -12893,7 +12893,7 @@ define("frozen/sounds/WebAudio", [
1289312893
}
1289412894

1289512895
var audio = this._initAudio(volume, true);
12896-
audio.noteOn(0);
12896+
audio.start(0);
1289712897
},
1289812898

1289912899
play: function(volume, startTime){
@@ -12905,7 +12905,7 @@ define("frozen/sounds/WebAudio", [
1290512905
startTime = startTime || 0;
1290612906

1290712907
var audio = this._initAudio(volume, false);
12908-
audio.noteOn(startTime);
12908+
audio.start(startTime);
1290912909
},
1291012910

1291112911
_initAudio: function(volume, loop){
@@ -12915,10 +12915,10 @@ define("frozen/sounds/WebAudio", [
1291512915
source.buffer = this.buffer;
1291612916
source.loop = loop;
1291712917
if(volume){
12918-
var gainNode = this.audioContext.createGainNode();
12919-
gainNode.gain.value = volume;
12920-
source.connect(gainNode);
12921-
gainNode.connect(this.audioContext.destination);
12918+
var gain = this.audioContext.createGain();
12919+
gain.gain.value = volume;
12920+
source.connect(gain);
12921+
gain.connect(this.audioContext.destination);
1292212922
} else {
1292312923
source.connect(this.audioContext.destination);
1292412924
}
@@ -13982,7 +13982,7 @@ define("frozen/box2d/entities/Entity", [
1398213982
/**
1398313983
* Fixes the rotation of the entity, no angular damping is applied
1398413984
* @type {Boolean}
13985-
* @memberOf Rectangle#
13985+
* @memberOf Entity#
1398613986
* @default
1398713987
*/
1398813988
fixedRotation: false,

dist/frozen.js.uncompressed.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12820,7 +12820,7 @@ define("frozen/sounds/WebAudio", [
1282012820
var source = audioContext.createBufferSource();
1282112821
source.buffer = audioContext.createBuffer(1, 1, 22050);
1282212822
source.connect(audioContext.destination);
12823-
source.noteOn(0);
12823+
source.start(0);
1282412824
});
1282512825
}
1282612826
}
@@ -12893,7 +12893,7 @@ define("frozen/sounds/WebAudio", [
1289312893
}
1289412894

1289512895
var audio = this._initAudio(volume, true);
12896-
audio.noteOn(0);
12896+
audio.start(0);
1289712897
},
1289812898

1289912899
play: function(volume, startTime){
@@ -12905,7 +12905,7 @@ define("frozen/sounds/WebAudio", [
1290512905
startTime = startTime || 0;
1290612906

1290712907
var audio = this._initAudio(volume, false);
12908-
audio.noteOn(startTime);
12908+
audio.start(startTime);
1290912909
},
1291012910

1291112911
_initAudio: function(volume, loop){
@@ -12915,10 +12915,10 @@ define("frozen/sounds/WebAudio", [
1291512915
source.buffer = this.buffer;
1291612916
source.loop = loop;
1291712917
if(volume){
12918-
var gainNode = this.audioContext.createGainNode();
12919-
gainNode.gain.value = volume;
12920-
source.connect(gainNode);
12921-
gainNode.connect(this.audioContext.destination);
12918+
var gain = this.audioContext.createGain();
12919+
gain.gain.value = volume;
12920+
source.connect(gain);
12921+
gain.connect(this.audioContext.destination);
1292212922
} else {
1292312923
source.connect(this.audioContext.destination);
1292412924
}
@@ -13982,7 +13982,7 @@ define("frozen/box2d/entities/Entity", [
1398213982
/**
1398313983
* Fixes the rotation of the entity, no angular damping is applied
1398413984
* @type {Boolean}
13985-
* @memberOf Rectangle#
13985+
* @memberOf Entity#
1398613986
* @default
1398713987
*/
1398813988
fixedRotation: false,

0 commit comments

Comments
 (0)