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

fix RichText use font and on event param invalid #3723

Merged
merged 2 commits into from Jan 8, 2019

Conversation

Projects
None yet
3 participants
@knoxHuang
Copy link
Collaborator

knoxHuang commented Jan 8, 2019

Re: cocos-creator/2d-tasks#

Changes:

  • 修复 RichText 使用 font 无效
  • 完善 RichText 通过 on 标签传参的 bug

@knoxHuang knoxHuang requested a review from pandamicro Jan 8, 2019

@knoxHuang knoxHuang self-assigned this Jan 8, 2019

@knoxHuang knoxHuang changed the title fix RichText use font invalid fix RichText use font and on event param invalid Jan 8, 2019

@pandamicro pandamicro merged commit 7897096 into cocos-creator:v2.0-release Jan 8, 2019

1 check passed

ci/circleci: test Your tests passed on CircleCI!
Details
@@ -24,7 +24,7 @@
THE SOFTWARE.
****************************************************************************/

var eventRegx = /^(click)(\s)*=/;
var eventRegx = /^(click)(\s)*=|(param)(\s)*=/;

This comment has been minimized.

@jareguo

jareguo Jan 11, 2019

Contributor

你测过没啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment