-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smaller spine library, save 14KB package size #17731
Conversation
@cocos-robot run test cases |
👍 Package size ⤵ -14901 bytes, old: 5445998, new: 5431097Interface Check ReportThis pull request does not change any public interfaces ! |
property: 'str', | ||
getter: prototype.str, | ||
}, | ||
['length', prototype.length], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why can change object to array?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For smaller code. You could compare the code, and using array will make the code cleaner.
403dc0c
to
fb62f21
Compare
@cocos-robot run test cases |
…85-smaller-spine-define
…d in spine-core.js. (cocos#17759)" This reverts commit 1fa8897.
@cocos-robot run test cases |
Windows PR test result: |
@cocos-robot run test cases |
@dumganhar, Please check the result of
Task Details
|
@dumganhar, Please check the result of
Task Details |
Re: #17715
Changelog
Continuous Integration
This pull request:
Compatibility Check
This pull request: