'cocos2d-html'에 해당되는 글 2건
- 2014.07.25 이미지 시트 만들기 주의점
- 2014.07.03 [cocos2d-html5]exitFullScreen
카테고리 없음2014. 7. 25. 18:09
html52014. 7. 3. 17:58
# exitFullScreen 함수 오류
exitFullScreen: function ()
{
if (!this._supportsFullScreen || !this.fullScreen()) return;
return (this._browserPrefix === '') ? document.body["cancelFullScreen"]() : document.body[this._browserPrefix + 'CancelFullScreen']();<-- 에러 발생
},
- 수정
return (this._browserPrefix === '') ? document["cancelFullScreen"]() : document[this._browserPrefix + 'CancelFullScreen']();