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

Twipsy now respects custom classes #907

Merged
merged 2 commits into from Jan 6, 2012
Merged

Twipsy now respects custom classes #907

merged 2 commits into from Jan 6, 2012

Conversation

ansman
Copy link
Contributor

@ansman ansman commented Jan 6, 2012

Before all custom classes were overwritten by twipsy if you used a template.

This fixes that, twipsy will only remove classes that it adds itself.

This fixes issue #908.

If you had a custom class to the root object twipsy would overwrite
that class ($tip[0].className = 'twipsy'), now this has been changed
so it removes only classes that twipsy adds.
The test case verifies that a custom class is respected.
fat added a commit that referenced this pull request Jan 6, 2012
Twipsy now respects custom classes
@fat fat merged commit 64c8623 into twbs:2.0-wip Jan 6, 2012
@fat
Copy link
Member

fat commented Jan 6, 2012

cool thanks

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.

None yet

2 participants