Skip to content

Commit acf9e29

Browse files
committed
Merge pull request #1292 from ShengxiangChen/issue_audioEngine
api useage error
2 parents 3ebd212 + ed1612f commit acf9e29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

CocosDenshion/SimpleAudioEngine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1818,7 +1818,7 @@ cc.AudioEngine.getInstance = function () {
18181818
if (cc.Browser.supportWebAudio && !(/iPhone OS/.test(ua)||/iPad/.test(ua))) {
18191819
this._instance = new cc.WebAudioEngine();
18201820
} else {
1821-
if(cc.Browser.isMobile()) //TODO construct a supported list for mobile browser
1821+
if(cc.Browser.isMobile) //TODO construct a supported list for mobile browser
18221822
this._instance = new cc.SimpleAudioEngineForMobile();
18231823
else
18241824
this._instance = new cc.SimpleAudioEngine();

README.mdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Contact us
3232
------------------
3333
* Forum: [http://forum.cocos2d-x.org][5]
3434
* Twitter: [http://www.twitter.com/cocos2dhtml5][6]
35-
* Sina macro-blog: [http://t.sina.com.cn/cocos2dhtml5][7]
35+
* Sina Microblog: [http://t.sina.com.cn/cocos2dhtml5][7]
3636

3737
[1]: http://www.cocos2d-x.org "Cocos2d-html5"
3838
[2]: http://www.cocos2d-x.org "Cocos2d-X"

0 commit comments

Comments
 (0)