-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Insert methods should return new node #193
Comments
What if you append more than one node (I think we can, right)? |
Hm. Good questions. Maybe we should allow to send only |
Don't know, just askin question. |
If |
@MoOx +1 about jQuery methods :). I added root1.append(root2.nodes) But it is a rare case, instead of var rule = atrule.append({ selector: 'a' });
rule.append({ prop: 'color', value: 'black' }); So we can just remove array support from insert methods, |
Why not. And with es6 arrow func, will be short to replace appended array :) |
It is important to use shortcuts API:
The text was updated successfully, but these errors were encountered: