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

Introduce VirtualMethods::children_changed() #6660

Merged
merged 2 commits into from Jul 25, 2015
Merged

Commits on Jul 23, 2015

  1. Introduce RootedVec<JS<T>>::r()

    nox committed Jul 23, 2015

Commits on Jul 25, 2015

  1. Introduce VirtualMethods::children_changed()

    This virtual method mimics the behaviour of mutation observers and make it more
    viable than the older child_inserted(), which didn't cover removed nodes and
    was called as many times as there were inserted nodes.
    
    A few other shortcomings where remove_child() was called directly instead of
    Node::remove() were also fixed while at it.
    nox committed Jul 25, 2015
You can’t perform that action at this time.