cocos2d / cocos2d-html5

Cocos2d for Web Browsers. Built using JavaScript.
https://www.cocos.com
3.07k stars 902 forks source link

Troubles with google closure compiler #2009

Closed vladkolotvin closed 10 years ago

vladkolotvin commented 10 years ago

I have pulled new version of cocos2d-html5 and now i have error while publishing. Log:

Publishing...
   [jscomp] D:\project\frameworks\cocos2d-html5\extensions\ccui\layouts\UILayoutManager.js:122: ERROR - Parse error. getters are not supported in older versions of JS. If you are targeting newer versions of JS, set the appropriate language_in option.
   [jscomp]     get _widgetChildren(){
   [jscomp] ^
   [jscomp] D:\project\frameworks\cocos2d-html5\extensions\ccui\layouts\UILayoutManager.js:125: ERROR - Parse error. setters are not supported in older versions of JS. If you are targeting newer versions of JS, set the appropriate language_in option.
   [jscomp]     set _widgetChildren(a){
   [jscomp] ^

BUILD FAILED
dingpinglv commented 10 years ago

Please pull the latest "develop" branch. This is my fault. So sorry. David