Skip to content

Fixes #226 - Added the AddBack, AddBackFiltered, and AddBackMatcher m… - #229

Merged
mna merged 2 commits into
PuerkitoBio:masterfrom
davidjwilkins:feature-226
Jan 11, 2018
Merged

mna merged 2 commits into
PuerkitoBio:masterfrom
davidjwilkins:feature-226

Conversation

@davidjwilkins

Copy link
Copy Markdown
Contributor

Fixes #226 - Added the AddBack, AddBackFiltered, and AddBackMatcher methods. Changed AndSelf to simply be an alias for AddBack, and added a deprecation notice to AddBack (as with https://api.jquery.com/andself/)

…ckMatcher methods. Changed AndSelf to simply be an alias for AddBack, and added a deprecation notice to AddBack (as with https://api.jquery.com/andself/)

@mna mna left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for the PR! Looks good, just one small request before merging.

Comment thread expand.go Outdated
return pushStack(s, appendWithoutDuplicates(s.Nodes, nodes, nil))
}

// Deprecated: This function has been deprecated and is now an alias for AddBack().

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you please move this deprecation warning line at the end of the comment?

@mna
mna merged commit cab5e2c into PuerkitoBio:master Jan 11, 2018
@mna

mna commented Jan 11, 2018

Copy link
Copy Markdown
Member

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.

2 participants