Skip to content
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

Expose icons as an option and create a new option to set icon color #146

Merged
merged 7 commits into from
Sep 19, 2017
Merged

Expose icons as an option and create a new option to set icon color #146

merged 7 commits into from
Sep 19, 2017

Conversation

donnes
Copy link

@donnes donnes commented Sep 18, 2017

No description provided.

src/DPlayer.js Outdated
@@ -33,6 +33,8 @@ class DPlayer {

this.tran = new i18n(this.options.lang).tran;

this.icons = new Svg(this.options);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Svg seems to represent a single svg instead of a collection of svg, maybe change it to SvgCollection or other name to make it more semantic.

@micooz
Copy link
Contributor

micooz commented Sep 19, 2017

Apart from the naming, others are LGTM. And don't forget documents for the new options.

@donnes
Copy link
Author

donnes commented Sep 19, 2017

Thanks for the feedback @micooz
I made some changes according to what you pointed out

@DIYgod DIYgod merged commit 7d1b719 into DIYgod:master Sep 19, 2017
tsukumijima pushed a commit to tsukumijima/DPlayer that referenced this pull request Nov 21, 2019
Expose icons as an option and create a new option to set icon color
tsukumijima added a commit to tsukumijima/DPlayer that referenced this pull request Nov 21, 2019
Expose icons as an option and create a new option to set icon color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants