Permalink
Switch branches/tags
Commits on Apr 30, 2011
Commits on Apr 24, 2011
  1. Merge pull request #137 from ajdavis/zepto

    ---
    
    (Ignore my previous pull request, I needed to check for readyState loaded, not just complete.)
    
    jQuery compatibility: if document is already loaded, $(document).load(function) calls the function immediately.
    
    Discussion: WebKit supports (since when?) document.readyState (originally an IE extension) and reports "complete" after firing DOMContentLoaded.  Under circumstances I dont fully understand it may also report "loaded", at least in Safari 5.
    
    http://trac.webkit.org/browser/trunk/Source/WebCore/dom/Document.cpp#L1014
    madrobby committed Apr 24, 2011
  2. Merge pull request #145 from andregoncalves/zepto

    ---
    
    Hey,
    
    Just added support for custom event data + tests.
    I added a proxy function to the event listener to make sure that the callback works with the custom data.
    This should work with bind and delegate calls.
    madrobby committed Apr 24, 2011
Commits on Apr 21, 2011
  1. Test: calling $(document).ready() after doc is loaded executes callba…

    …ck immediately
    
    Tests a bugfix in commit ad74718; before that a callback is *never* called in this case
    ajdavis committed Apr 21, 2011
Commits on Apr 18, 2011
  1. Merge pull request #144 from hardbap/zepto

    ---
    
    Thomas,
    
    Heres the test case you asked for in issue #141.
    madrobby committed Apr 18, 2011
  2. Merge pull request #141 from krunkosaurus/zepto

    ---
    
    eg. Zepto(document.createTextNode(hi there));
    More importantly it fixes issue #140
    madrobby committed Apr 18, 2011
  3. selector support for Text nodes

    eg. Zepto(document.createTextNode('hi there'));
    Additionally fix for issue #33
    Mauvis Ledford committed with hardbap Apr 12, 2011
Commits on Apr 12, 2011
  1. selector support for Text nodes

    eg. Zepto(document.createTextNode('hi there'));
    Additionally fix for issue #33
    Mauvis Ledford committed Apr 12, 2011
Commits on Apr 4, 2011
  1. jQuery compatibility: if document is already loaded, $(document).load…

    …(function) calls the function immediately.
    
    Discussion: WebKit supports (since when?) document.readyState (originally an IE extension) and reports "complete" after firing DOMContentLoaded.  Under circumstances I don't fully understand it may also report "loaded", at least in Safari 5.
    
    http://trac.webkit.org/browser/trunk/Source/WebCore/dom/Document.cpp#L1014
    ajdavis committed Apr 4, 2011
Commits on Mar 29, 2011
  1. Merge pull request #123 from lvivski/zepto

    ---
    
    now Zepto works correctly with inline elements and elements that have overriden default display type. Also addClass and removeClass work with multiple classnames (coma separated)
    madrobby committed Mar 29, 2011
  2. whitespace

    madrobby committed Mar 29, 2011
  3. [] instanceof Object => true

    slavic committed with madrobby Mar 21, 2011
  4. add isFunction and isArray jQuery functions

    refactoring isArray and isObject - move from ajax.js to zepto.js
    slavic committed with madrobby Mar 21, 2011
  5. add isFunction and isArray jQuery functions

    refactoring isArray and isObject - move from ajax.js to zepto.js
    slavic committed with madrobby Mar 21, 2011
  6. refactoring of $.param function

    refactoring of settings.data handling
    add iObject and isArray function
    fix delete window.jsonpString;
    slavic committed with madrobby Mar 21, 2011
  7. Shorter way to express Object.prototype

    Removed unnecessary RegExp
    slavic committed with madrobby Mar 21, 2011
  8. typeof always return string so there is no need for strong equality, …

    …simple equality enough (economy of one symbol, but we want Zepto to be small as possible)
    slavic committed with madrobby Mar 21, 2011
  9. All string use ' instead of "

    slavic committed with madrobby Mar 21, 2011
  10. Merge pull request #130 from andrew/zepto

    ---
    madrobby committed Mar 29, 2011
Commits on Mar 27, 2011
  1. Fixed a typo in the readme

    andrew committed Mar 27, 2011
Commits on Mar 21, 2011
Commits on Mar 19, 2011
  1. whitespace fix

    madrobby committed Mar 19, 2011
  2. Revert "Smaller 1px gif."

    This reverts commit 2e7b461.
    
    Conflicts:
    
    	src/assets.js
    madrobby committed Mar 19, 2011
Commits on Mar 16, 2011
  1. Merge pull request #122 from arnemart/zepto

    ---
    
    Added this, since jQuery supports it. Data can be a query string (foo=bar&baz=qux) or a key-value object ({foo: bar, baz: qux}). Objects are serialized into query strings, and the query string is appended to settings.url.
    madrobby committed Mar 16, 2011
Commits on Mar 15, 2011
  1. optimized .show()/.hide()

    lvivski committed Mar 15, 2011
  2. - No longer uses 'typeof' to check type of data parameter

    - More robust handling of query string, will now insert ? or & as needed
    arnemart committed Mar 15, 2011