-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Support customizable prefix for getSkinName #397
Conversation
sdesai
commented
Jan 8, 2013
- Derived from Update Widget.getSkinName() to allow multiple skin prefixes #327, submitted by @aversini
- Submitting to dev-3.x, since it's new feature support for a core component and so that it gets some preview coverage since I'm not monitoring YUI day-to-day.
- All widget unit tests pass. All slider unit tests pass also, as do slider example tests [ slider is the only thing which uses getSkinName currently AFAIK ].
- Main src file change: https://github.com/yui/yui3/pull/397/files#diff-5 (wasn't sure if we still commit build files or not so they're in the pull request)
This looks good, @sdesai do you want to merge this in or should I? |
Should I be concerned about the failing travis tests on NodeJS 0.8, 0.9? Seem unrelated. |
They are Travis/Github issues, as long as |
widget tests are all passing on Chrome/Firefox/Safari/IE/iOS, but I have one getSkinName test (related to class names on body) failing in phantomjs. Figuring it's something phantomjs specific, since it looks good in the browsers with heads but I'll look into it before merging - maybe something more robust we can do with the tests, to avoid the phantomjs caveat. |
The class names didn't match the assertions. Moved all the classnames to be dynamic instead of the static + dynamic, which was getting confusing to maintain. Passes on FF, Chrome, Safari, IE, PhantomJS NOTE: Ideally, want to update the test page to follow the latest pattern, with test-console, but that's a separate commit.
Conflicts: src/widget/HISTORY.md
This is ready to merge, post-release (it's too late for this current release) |
These failures seem unrelated. Tests pass locally for me |
Support customizable prefix for getSkinName