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

#135 - Added removeAttribute method #137

Closed
wants to merge 8 commits into from

Conversation

johnathanmdell
Copy link
Contributor

Added ability to remove attributes

Closes #135

@clue
Copy link
Member

clue commented Oct 2, 2015

Thanks for this PR @johnathanmdell, the changes LGTM! 👍

Issue #135 and this PR description only mentions removing attributes, but the changeset also includes a hasAttribute() method.

I'm 👍 on getting the removeAttribute() method in, but I'm undecided about the current state of the hasAttribute(). In particular, how should we take null values into account? See also #103 for some background.

We can look into working this out now, but I'm also okay with postponing this for a future PR.

What's your take on this?

@johnathanmdell
Copy link
Contributor Author

The hasAttribute was purely habit, good point on the on the null value, I'm happy with removing it for the current PR.

johnathanmdell and others added 7 commits October 2, 2015 13:38
Removal of hasAttribute, will relook for future usage.
Removal of hasAttribute, will relook for future usage.
Removal of hasAttribute, will relook for future usage.
Removal of hasAttribute, will relook for future usage.
Removal of hasAttribute, will relook for future usage.
@johnathanmdell
Copy link
Contributor Author

@clue PR updated

@clue
Copy link
Member

clue commented Oct 2, 2015

Thanks @johnathanmdell, merged via #138!

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.

2 participants