Commits on Apr 9, 2012
  1. framework ☞ library

    mislav committed Apr 9, 2012
  2. one more `on()` test

    mislav committed Apr 9, 2012
  3. Ajax: HTTP 304 status code should not be treated as error.

    This adds a test for issue #386.
    hardbap committed with mislav Apr 9, 2012
  4. fix `rake docco`

    We can't generate individual files since that breaks docco's
    jump-to-file feature.
    mislav committed Apr 9, 2012
  5. add more tests for `attr()`, `removeAttr()`

    references #473
    mislav committed Apr 9, 2012
  6. add `fn.clone()`

    mislav committed Apr 9, 2012
Commits on Apr 8, 2012
  1. enable overriding internal core functions such as `$.zepto.qsa()`

    Previously some of core functionality referenced them via local
    variables, meaning overriding them on the `$.zepto` object wouldn't have
    effect. This removes such local variables.
    mislav committed Apr 8, 2012
  2. improve Ember.js compatibility

    references #462
    mislav committed Apr 8, 2012
  3. add `fn.prop()`

    mislav committed Apr 8, 2012
  4. remove debug code

    madrobby committed Apr 8, 2012
  5. Use simulated touch events to enable testing of touch events on devic…

    …es that do not or not properly support generating touch events
    madrobby committed Apr 8, 2012
  6. Merge pull request #259 from gobhi/zepto

    When theres a tap, the swipe event is fired on Nokia Symbian and Playbook tablet devices (this should not be the case since this is just a tap and not a swipe).
    It seems that there is a slight move when tap event is fired on these devices, so touch.x2 and touch.y2 get set.  But because the delta comparison Math.abs(touch.x1 - touch.x2) > 30) and Math.abs(touch.y1 - touch.y2) > 30) are inside the conditional block that checks if touch.x2 or touch.y2 > 0, the last conditional "else if (last in touch)" is never reached.  Moving the delta comparison in the conditional check fixes this issue.
    This has been tested on Playbook, Nokia Symbian, iPad and iPhone devices.
    madrobby committed Apr 8, 2012
  7. add `removeData()` method to data module

    closes #383
    mislav committed Apr 8, 2012
  8. support camelized names in `data()` method

      - `data('fooBar')` reads from "data-foo-bar" attribute
      - data.js plugin is improved to store keys in camelCase form
    Closes #471
    mislav committed Apr 8, 2012
  9. Merge pull request #416 from bengourley/zepto

    If you want to instantaneously alter the CSS of an element while some of its properties are being animated with a call to zeptos `animate()` function, the alteration to the CSS is animated too. This is because the transition was set using the shorthand syntax where only one property can be applied and all was used, eg.: `transition: all 0.3s ease-in-out;`.
    I have factored out the transition into the more explicit components, `transition-property`, `transition-duration` and `transition-timing-function` so that only the properties that are modified in the call to `animate()` are transitioned.
    This fixes my use case where an element that had an animation sprite as its background (so no transition required on `background-position`), was animated across the screen (transition required on `transform`).
    I have updated the test `fx.html` to reflect this change.
    madrobby committed Apr 8, 2012
Commits on Apr 7, 2012
  1. ajax: simplify setting Content-Type

    references #472
    mislav committed Apr 7, 2012
  2. more tests for `is()` on an orphan element

    references #326
    arextar committed with mislav Nov 22, 2011
Commits on Apr 6, 2012
  1. improve dealing with DOM fragments and orphans

    When DOM elements are generated via `$()`, they are now immediately
    orphaned (previously they belonged to a temporary internal element).
    When trying to insert DOM nodes around an orphan via `before()` or
    `after()`, they now become orphaned too (instead of the operation being
    a no-op).
    Fixes #417
    mislav committed Apr 6, 2012