Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Short-circuit for Element#down() without arguments #61

Merged
merged 1 commit into from Sep 1, 2012

Conversation

Projects
None yet
2 participants
Contributor

victor-homyakov commented Aug 28, 2012

Prevent selecting ALL descendants with Prototype.Selector.select('*', element) when invoking Element#down() without arguments

@victor-homyakov victor-homyakov Short-circuit for Element#down() without arguments
Prevent selecting ALL descendants with `Prototype.Selector.select('*', element)` when invoking Element#down() without arguments
2dfb3ae

@savetheclocktower savetheclocktower added a commit that referenced this pull request Sep 1, 2012

@savetheclocktower savetheclocktower Merge pull request #61 from victor-homyakov/patch-17
Optimize the case when `Element.down` is called without any arguments.
745bea6

@savetheclocktower savetheclocktower merged commit 745bea6 into sstephenson:master Sep 1, 2012

@victor-homyakov victor-homyakov deleted the victor-homyakov:patch-17 branch Nov 25, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment