Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Refactor empty() to work better on non-IE browsers. #79
IIRC there was a lot of debate about whether a scorched-earth
1. Test node.innerHTML rather than node.canHaveChildren(), since the latter only works on IE. 2. Limit empty(parent) to orphaning parent's children, rather than orphaning parent's grandchildren. Fixes #17869.