Mr.doob пре 9 година
родитељ
комит
435103fe5e
1 измењених фајлова са 3 додато и 5 уклоњено
  1. 3 5
      src/audio/AudioContext.js

+ 3 - 5
src/audio/AudioContext.js

@@ -1,8 +1,6 @@
 var context;
 
-function AudioContext() {}
-
-Object.assign( AudioContext, {
+var AudioContext = {
 
 	getContext: function () {
 
@@ -19,9 +17,9 @@ Object.assign( AudioContext, {
 	setContext: function ( value ) {
 
 		context = value;
-		
+
 	}
 
-} );
+};
 
 export { AudioContext };