Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 9, 2007
  1. @jeresig
Commits on Sep 8, 2007
  1. @jeresig

    Landing the new expando management code. Completely overhauls how dat…

    jeresig authored
    …a is associated with elements.
    
    Plugins will be most interested in:
    - jQuery.data(elem) -> Unique ID for the element
    - jQuery.data(elem, name) -> Named data store for the element
    - jQuery.data(elem, name, value) -> Saves a value to the named data store
    - jQuery.removeData(elem) -> Remove the expando and the complete data store
    - jQuery.removeData(elem, name) -> Removes just this one named data store
    
    jQuery's .remove() and .empty() automatically clean up after themselves. Once an element leaves a DOM document their events are no longer intact. Thus, statements like so:
    {{{
      $("#foo").remove().appendTo("#bar");
    }}}
    should be written like so:
    {{{
      $("#foo").appendTo("#bar");
    }}}
    in order to avoid losing the bound events.
  2. @jeresig
  3. @jeresig

    Landing the .clone() rewrite by Brandon (also includes the new event …

    jeresig authored
    …cloning functionality .clone(true)).
  4. @jeresig
  5. @jeresig
  6. @jeresig
  7. @jeresig
  8. @jeresig
  9. @jeresig
  10. @jeresig
Commits on Sep 7, 2007
  1. @jeresig

    Massive FX rewrite. Full list of changes:

    jeresig authored
    - You can now animate non-px values (em and %, for example)
    - You can animate things things that previously broke (like font-size)
    - You can now write fx plugins (to add in the ability to animate colors, for example)
    - Advanced queueing controls were added (.queue(), .dequeue(), and {queue:false})
    - Step was re-tooled to work with the new fx plugin scheme
    - Added the ability to do relative animations
    - Made it so that you can do simultaneous animations on a single element
    - A complete refactoring of jQuery.fx, improving naming, and usability
  2. @jeresig

    Fix for bug #760 (fontSize returns different values in IE). This was …

    jeresig authored
    …part of a larger issue where IE returned non-pixel values from it's computed style - this normalizes it (thanks to a fix by Dean Edwards).
  3. @jeresig
Commits on Sep 5, 2007
  1. @jeresig
  2. @jeresig
  3. @jeresig

    Integration of Mike Alsup's excellent form serialization code. The be…

    jeresig authored
    …nefits are as follows:
    
    - New method: .serializeArray()
    This returns an array of name/value pairs representing the contents of a form, or individual input elements.
    - Enhancement: .serialize()
    The results are correct now (as opposed to the mess from before), and allows you to serializes forms directly (rather than just the input elements).
    - Enhancement: .val()
    This now returns the correct value when dealing wih selects. Additionally, when dealing with multiple selects, it returns an array of values.
    
    Based upon Mike's code:
    http://malsup.com/jquery/form/comp/form.js
    
    and test suite:
    http://malsup.com/jquery/form/comp/test.html
Commits on Sep 4, 2007
  1. @jeresig

    Added support for the new .andSelf() method. This method combines the…

    jeresig authored
    … previous two matched sets on the stack into a single stack.
    
    For example:
      $("#foo").parent();
      // => [ #bar ]
    
      $("#foo").parent().andSelf();
      // => [ #bar, #foo ]
  2. @jeresig

    Fix for bug #1549, where the DOM conversion of <code/> and similar el…

    jeresig authored
    …ements would fail. This forces it to work correctly in all browsers.
  3. @jeresig

    Made it so that you can't change the type of an input element, having…

    jeresig authored
    … it throw an exception instead (except for input elements that haven't yet been injected into the DOM). (Bug #1536)
  4. @jeresig
  5. @jeresig
  6. @jeresig

    Added a new .stop() method which stops all animations running on the …

    jeresig authored
    …matched set of elements.
    
    Example:
      $("#foo").slideDown(1000);
      setTimeout(function(){
        $("#foo").stop();
      }, 500);
Commits on Sep 3, 2007
  1. @jeresig
  2. @jeresig

    Added support for:

    jeresig authored
    - Cross Domain getScript
      $.getScript("http://foo.com/script.js");
    - JSONP
      $.ajax({ url: "script.js", type: "jsonp" });
      $.getJSON("script.js?callback=?");
    - Cross Domain JSONP/getJSON
      $.getJSON("http://foo.com/script.js?callback=?");
    - No-cache Ajax Requests
      $.ajax({ url: "test.html", cache: false });
  3. @jeresig

    Added namespaced events to bind, unbind, and trigger. This allows you…

    jeresig authored
    … to deal with event handlers of a specific "class" (great for plugins).
Commits on Sep 2, 2007
  1. @jeresig
Commits on Aug 31, 2007
  1. @jeresig
  2. @jeresig
  3. @jeresig

    Added support for .wrapInner() and .wrapAll() - and re-wrote .wrap() …

    jeresig authored
    …to use .wrapAll(). (Fixes bug #1296)
  4. @jeresig

    Added support for .contents(). Returns ALL child nodes for an element…

    jeresig authored
    … - except for on an IFrame, then it returns the IFrame's document. This fixes #1024.
  5. @jeresig
Commits on Aug 30, 2007
  1. @jeresig

    Made it so that you can pass in an event object to the trigger data a…

    jeresig authored
    …rgs and it'll override the custom event object (this way you can pass in the event object of a mousemove to a drag event trigger, for example).
  2. @jeresig

    Added a new extra fn arg to trigger (so you don't have to simulate th…

    jeresig authored
    …e trigger yourself). (Bug #1467) Added a new .triggerHandler() method that allows you to NOT trigger native calls AND returns the response from the handlers. (Bug #873 & #1417)
Commits on Aug 28, 2007
  1. @jeresig
Something went wrong with that request. Please try again.