chernikovalexey/Prevel — pull request #26 by herbdaily (2012-02-14 05:07:17+00:00)
Title: Dom.js changes

Hey Alexey,

Have a look especially at the `related()` function. It may be a good idea to make it part of core and migrate all appropriate functions in Sources and Extensions to use it. I suspect gains in both size and functionality and size (though not performance) would result.

Another point: the `next()`, `prev()`, and `children()` functions are currently changing `this`, which I think is a bad idea. `related()` fixes that as well.

I look forward to seeing what you end up doing with this :).

-Herb.