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

a.add(b) is wrong #952

Closed
wants to merge 0 commits into from
Closed

a.add(b) is wrong #952

wants to merge 0 commits into from

Conversation

1003657663
Copy link

a.add(b) should be b is added into a ,in fact is a is added into b,I fixed this wrong,and change the test case

@coveralls
Copy link

coveralls commented Nov 30, 2016

Coverage Status

Coverage remained the same at 98.833% when pulling c554697 on 1003657663:master into 0f3d2dd on cheeriojs:master.

@fb55 fb55 closed this Mar 11, 2018
fb55 added a commit that referenced this pull request Mar 11, 2018
```js
$('<a>').add('<b>').map((i, e) => console.log(e.tagName))
```

produces `A`, then `B` in jQuery, and `b` and `a` in cheerio.

Adapter from #952.

Co-Authored-By: codeevery <1003657663@qq.com>
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

3 participants