Skip to content

Commit

Permalink
Hotfix: Fix web audio not initializing data
Browse files Browse the repository at this point in the history
  • Loading branch information
kamranayub committed May 17, 2016
1 parent 6bb16dc commit d3022da
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 8 deletions.
Binary file modified dist/Excalibur.0.6.0.nupkg
Binary file not shown.
3 changes: 2 additions & 1 deletion dist/Excalibur.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! excalibur - v0.6.0 - 2016-05-12
/*! excalibur - v0.6.0 - 2016-05-16
* https://github.com/excaliburjs/Excalibur
* Copyright (c) 2016 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>; Licensed BSD-2-Clause*/
if (typeof window === 'undefined') {
Expand Down Expand Up @@ -9194,6 +9194,7 @@ var ex;
this._isPaused = false;
this._currentOffset = 0;
this._logger = ex.Logger.getInstance();
this._data = null;
this.onload = function () { return; };
this.onprogress = function () { return; };
this.onerror = function () { return; };
Expand Down
4 changes: 2 additions & 2 deletions dist/Excalibur.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion dist/excalibur-0.6.0.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! excalibur - v0.6.0 - 2016-05-12
/*! excalibur - v0.6.0 - 2016-05-16
* https://github.com/excaliburjs/Excalibur
* Copyright (c) 2016 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>; Licensed BSD-2-Clause*/
if (typeof window === 'undefined') {
Expand Down Expand Up @@ -9194,6 +9194,7 @@ var ex;
this._isPaused = false;
this._currentOffset = 0;
this._logger = ex.Logger.getInstance();
this._data = null;
this.onload = function () { return; };
this.onprogress = function () { return; };
this.onerror = function () { return; };
Expand Down
4 changes: 2 additions & 2 deletions dist/excalibur-0.6.0.min.js

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion sandbox/web/Excalibur.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! excalibur - v0.6.0 - 2016-05-12
/*! excalibur - v0.6.0 - 2016-05-16
* https://github.com/excaliburjs/Excalibur
* Copyright (c) 2016 Excalibur.js <https://github.com/excaliburjs/Excalibur/graphs/contributors>; Licensed BSD-2-Clause*/
if (typeof window === 'undefined') {
Expand Down Expand Up @@ -9194,6 +9194,7 @@ var ex;
this._isPaused = false;
this._currentOffset = 0;
this._logger = ex.Logger.getInstance();
this._data = null;
this.onload = function () { return; };
this.onprogress = function () { return; };
this.onerror = function () { return; };
Expand Down
2 changes: 1 addition & 1 deletion src/engine/Sound.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ module ex.Internal {
private _playPromise: ex.Promise<any>;

private _logger: Logger = Logger.getInstance();
private _data: any;
private _data: any = null;

constructor(public path: string, volume?: number) {

Expand Down

0 comments on commit d3022da

Please sign in to comment.