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

A more modest valHooks proposal #295

Merged
merged 3 commits into from
Apr 10, 2011
Merged

Commits on Apr 2, 2011

  1. A more modest valHooks proposal

    - The main difference is that this does not allow arbitrarily adding hooks to any collection of elements.
    
    - Modularizes val into a set of easily maintainable and conditional hooks.
    
    - valHooks is placed at jQuery.valHooks
    
      + This could technically be extended, but I do not see it being used except in very rare cases since you can only apply valHooks to nodeNames and input types, and not a collection of elements as before. We could theoretically privatize valHooks taking it off of jQuery and only use it internally for our own convenience, but again, I do not believe this patch carries with it the dangers of the first proposal.
    
    - Slightly improved performance of val on radios and checkboxes for browsers that support checkOn, given the conditional attachment of its hook.
    timmywil committed Apr 2, 2011
    Configuration menu
    Copy the full SHA
    64a0005 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2011

  1. Remove the unused radiocheck regex

    timmywil committed Apr 4, 2011
    Configuration menu
    Copy the full SHA
    94fff6f View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2011

  1. Performance testing: localize val to each block and only set val to v…

    …alue when not a function
    timmywil committed Apr 6, 2011
    Configuration menu
    Copy the full SHA
    d47c0ae View commit details
    Browse the repository at this point in the history