Permalink
Commits on Nov 3, 2011
  1. release v0.8

    mislav committed Nov 3, 2011
  2. fix package task

    mislav committed Nov 3, 2011
  3. minor README tweaks

    mislav committed Nov 3, 2011
  4. add a compatible $.fn.animate() method

    mislav committed Nov 3, 2011
    Difference between animate() and anim():
     - animate() receives duration in milliseconds instead of seconds
     - animate() can receive an parameter hash as 2nd argument with keys:
       "duration", "easing", "complete"
    
    anim() is now informally deprecated.
  5. use window.pageXOffset/pageYOffset instead of body.scrollLeft/scrollTop

    宇蠢Yuest committed with mislav Sep 21, 2011
    iPhone 3 with iOS 4.1 support
  6. make first() & last() useful for non-DOM collections

    mislav committed Nov 3, 2011
    Example:
      $(['a', 'b']).last()  //=> 'b'
    
    Closes #298
Commits on Oct 31, 2011
  1. more solid async Ajax tests

    mislav committed Oct 31, 2011
    Be careful that callbacks/events for one Ajax request don't occur after
    the test case where it originated already finished.
  2. improve form serialization

    mislav committed Oct 31, 2011
    Changes:
     - ignore disabled elements
     - ignore buttons ("submit", "reset", "button")
Commits on Oct 30, 2011
  1. fix jasmine Ajax spec

    mislav committed Oct 30, 2011
  2. fix jasmine YAML config

    mislav committed Oct 30, 2011
  3. add "global" Ajax events as well as an extra "ajaxBeforeSend" event

    mislav committed Oct 30, 2011
    "Global" events aren't really global because Zepto doesn't support them
    yet. Instead they are simply fired on `document`.
    
    Ajax lifecycle is now:
      1. ajaxStart (global) – only fired if there are no active requests
      2. beforeSend callback (cancellable)
      3. ajaxBeforeSend (global, cancellable)
      4. ajaxSend (global)
      5. success/error callback
      6. ajaxSuccess/ajaxError (global)
      7. complete callback
      8. ajaxComplete (global)
      9. ajaxStop (global) – only fired if this is the last active request
    
    Also added:
      - $.active (0) – number of active requests
      - $.ajaxSettings.global (true) – whether global events will fire
    
    If Ajax "context" element is given, "global" events are fired on this
    element instead of `document` and they bubble.
Commits on Oct 27, 2011
Commits on Oct 26, 2011
  1. Merge pull request #291 from fgnass/fix_insert_text_nodes

    kossnocorp committed Oct 26, 2011
    Fix: Support insertion of CharacterData nodes
  2. Merge pull request #294 from arexkun/master

    kossnocorp committed Oct 26, 2011
    Fix for #293
  3. Merge pull request #296 from jocafa/master

    kossnocorp committed Oct 26, 2011
    The variable "name" is being leaked into the global scope.
Commits on Oct 25, 2011
  1. Added 'name' variable to line 9 to prevent global variable leak on li…

    jocafa committed Oct 25, 2011
    …ne 198: "for (name in settings.headers)..."
  2. Merge branch 'jasmine'

    kossnocorp committed Oct 25, 2011
  3. Merge branch 'master' into jasmine

    kossnocorp committed Oct 25, 2011
    Conflicts:
    	src/ajax.js
Commits on Oct 20, 2011
  1. Modify adjacency operators so the content of a script node is evaluat…

    arextar committed Oct 20, 2011
    …ed only if it has no type attribute or the type attribute is 'text/javascript'
Commits on Oct 17, 2011
  1. Fix: Support insertion of CharacterData nodes

    fgnass committed Oct 17, 2011
    The original test for arrays yields false positives, since CharacterData elements also have a length property. Hence $('body').append(document.createTextNode('foo')) throws a TypeError.