Commit Graph

116 Commits

Author SHA1 Message Date
yinkaile dc7ae7fc8f refine code 2017-10-20 09:29:45 +08:00
yinkaile 62841321a5 fallback function if not support Function 2017-10-19 17:32:03 +08:00
Jare Guo 47dc522e92 support formerlySerializedAs attribute 2017-08-31 12:27:49 +08:00
Jare Guo f81b0ba77b check if user overwrite destroy in component unexpectedly 2017-08-08 16:54:37 +08:00
pandamicro 6533180e9d Remove ...args in engine 2017-07-26 18:03:58 +08:00
Jare Guo 26e5e23631 make code more concise by using regexp 2017-07-14 16:58:16 +08:00
Wang Nan 40eceb7590 Merge pull request #1763 from cocos-creator/v1.5
merge V1.5
2017-06-27 11:51:18 +08:00
Jare Guo 01b18fd269 fix api link 2017-06-23 14:58:27 +08:00
Jare Guo d936b9628b fix CC_DEV in build worker 2017-06-21 17:34:17 +08:00
Jare Guo fbb31cbe4c fix api doc for loader.getDependsRecursively 2017-06-12 11:52:11 +08:00
Jare Guo 7f79e0d8f7 remove eval 2017-05-26 11:52:10 +08:00
Jare Guo 4393080acf refine creator.d.ts 2017-05-17 10:55:03 +08:00
Jare Guo d187f903e4 refine cc.Enum 2017-05-16 14:31:41 +08:00
Jare Guo 713126f51e optimize instantiate 2017-05-12 17:11:31 +08:00
Jare Guo 8f831af4d3 reviewed 2017-05-10 01:00:20 +08:00
Jare Guo 0c26addab6 fix ES6 Classes on JSB 2017-05-09 15:04:48 +08:00
Jare Guo ff6dd78d2a fix typescript on JSB 2017-05-08 15:03:05 +08:00
Jare Guo 830b51d9bd should not skip onLoad when previous sibling node is deactivated 2017-05-05 18:07:02 +08:00
Jare Guo e3c926cc7d fix inspector 2017-05-05 15:20:14 +08:00
Jare Guo 633e976f69 optimizing startup time by reusing property descripter 2017-05-05 13:37:03 +08:00
Jare Guo 65a3f04796 optimizing startup time 2017-05-05 13:37:03 +08:00
Jare Guo 5757403b95 fix cc.Integer 2017-04-27 16:14:58 +08:00
Jare Guo f054f504b6 fix typescript api 2017-04-26 17:17:59 +08:00
Jare Guo fa44c6bc00 minor tweaks 2017-04-14 16:15:32 +08:00
Jare Guo 0bd31f0932 Merge commit 'be31191693322daf4f2cd5c25060502fa2fda0ca'
# Conflicts:
#	cocos2d/core/platform/CCClass.js
2017-04-07 10:37:08 +08:00
Jare Guo 900b2b5dc2 fix TypeScript support 2017-04-06 19:58:10 +08:00
Jare Guo e1110c9741 add some editor decorators 2017-04-06 11:43:11 +08:00
Jare Guo 7b660e8c9f add decorators for CCClass, add ES6 support for unit test 2017-04-01 16:27:11 +08:00
Jare Guo 91889c06e1 fix merge 2017-03-29 20:17:46 +08:00
Nan Wang d9b5cef497 merge v1.4 2017-03-29 18:16:41 +08:00
pandamicro 4ed743263a Reviewed 2017-03-12 15:25:36 +08:00
pandamicro 34cd3c30b7 Remove arguments usage in jsb 2017-03-12 15:25:36 +08:00
Jare Guo 21eb9ed894 Merge pull request #1523 from jareguo/master
重新实现组件生命周期调用,支持脚本优先级
2017-03-09 12:56:41 +08:00
Nan Wang 7620cdb009 update accord to review feedback 2017-03-09 09:54:01 +08:00
Jare Guo f2d66a3e7f test execution order 2017-03-08 17:33:20 +08:00
Jare Guo b272941cf6 working on execution order of lifecycle methods 2017-03-08 17:33:20 +08:00
Nan Wang 3ac4c75c1e add typescript class, add decorator for typescript 2017-03-02 18:39:13 +08:00
Jare Guo 1f0b5503f0 Merge commit 'aaa2ac73b9dc0b05bf3d1b05342d10676e0ad432' into temp2
# Conflicts:
#	cocos2d/core/platform/CCClass.js
#	cocos2d/core/platform/CCView.js
#	cocos2d/core/platform/_CCClass.js
#	jsb/jsb-director.js
2017-03-02 14:30:09 +08:00
Jare Guo fff91611cb use shorthand function in properties
stash 2
2017-02-18 22:48:05 +08:00
Jare Guo 52b1e9d5e1 reviewed 2017-02-17 17:19:26 +08:00
Jare Guo 56baab044e fix error when ctor parameter defined 2017-02-17 14:09:14 +08:00
Jare Guo a4beba2740 use Function instead eval to optimize evaluation and variable mangling (cocos-creator/fireball#5220) 2017-02-14 17:33:57 +08:00
Jare Guo 84d0bfff38 fix error when calling super prototype.ctor in CCClass 2017-02-10 15:35:02 +08:00
Jare Guo 5f9e46996b refine CCClass 2017-02-04 02:24:03 +08:00
Jare Guo 7c872f947c receive __ctor__ in CCClass to allow user to skip ctor detection 2017-01-17 17:46:11 +08:00
Jare Guo 2efa1d9d1d allow declare constructor for components 2017-01-16 21:47:01 +08:00
Jare Guo 14f0ba913a fix cocos-creator/fireball#5056 2017-01-16 18:35:04 +08:00
Jare Guo 09583033f1 extract cc._RF for v1.5 2017-01-09 15:04:44 +08:00
Jare Guo 338c8d90d2 prevent method name duplicate with property name 2016-12-28 23:51:03 +08:00
Nan Wang 4dea8e7a8a move all error logs to DebugInfos.js and only show error id in release build 2016-12-15 17:07:01 +08:00