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

Test fix for not removing style attribute #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions dist/big-ideas-text.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Big Ideas Text v0.4.1, 2016-02-02
* Big Ideas Text v0.4.1, 2016-07-10
* https://github.com/kennethormandy/big-ideas-text
* Copyright © 2011–2014 Zach Leatherman
* Copyright © 2016 Kenneth Ormandy (@kennethormandy)
Expand Down Expand Up @@ -394,9 +394,10 @@

// No sure if this needs to be its own
// forEach or can exist in one previous
forEach(children, function(child) {
child.removeAttribute('style');
});
// Removed for #4
// forEach(children, function(child) {
// child.removeAttribute('style');
// });

if( !BigIdeasText.DEBUG_MODE ) {
c.parentNode.removeChild(c);
Expand Down
7 changes: 4 additions & 3 deletions src/big-ideas-text.js
Original file line number Diff line number Diff line change
Expand Up @@ -386,9 +386,10 @@

// No sure if this needs to be its own
// forEach or can exist in one previous
forEach(children, function(child) {
child.removeAttribute('style');
});
// Removed for #4
// forEach(children, function(child) {
// child.removeAttribute('style');
// });

if( !BigIdeasText.DEBUG_MODE ) {
c.parentNode.removeChild(c);
Expand Down