OSDN Git Service

Version 0.6.144, fix Gesture for iOS4, fix Node.css, fix X.Net.
[pettanr/clientJs.git] / 0.6.x / js / 07_audio / 01_XWebAudio.js
index 8a5e1ed..958b441 100644 (file)
@@ -69,7 +69,7 @@ if( X_Audio_WebAudio_context ){
                                        // TODO 当てにしていたaudioがclose 等した場合
                                        audio.proxy[ 'listenOnce' ]( 'canplaythrough', this, this._onBufferReady );
                                } else {
-                                       this.xhr = X.Net.xhrGet( url, { type : 'arraybuffer' } )
+                                       this.xhr = X.Net( { 'xhr' : url, 'type' : 'arraybuffer' } )
                                                                        [ 'listen' ]( X_EVENT_PROGRESS, this )
                                                                        [ 'listenOnce' ]( [ X_EVENT_SUCCESS, X_EVENT_COMPLETE, X_EVENT_CANCELED ], this );                                      
                                };