Skip to content
This repository
  • 99 commits
  • 21 files changed
  • 9 comments
  • 18 contributors
Jan 26, 2011
Joao P Dubas added swipe up/down and gestures for iphone aef3f41
Joao P Dubas added gestures.js to Rakefile 50eff2f
Feb 15, 2011
Joao P Dubas Merge remote branch 'origin/master' into local 45194b6
Feb 24, 2011
Joao P Dubas Merge branch 'master' into local 5213585
Mar 01, 2011
Joao P Dubas Merge remote branch 'origin/master' into local 00cdc7d
Thomas Fuchs remove old test 83c5626
Mar 02, 2011
Mislav Marohnić ability to select the document node with $(document)
enables usage like `$(document).delegate(...)`
7cf0d71
Mislav Marohnić $.ajax(): "beforeSend", "complete" callbacks, custom headers
 - "beforeSend" callback can abort the request by returning false
 - refactor ajax settings so a `settings` object can be provided to beforeSend
 - "complete" callback runs after "success" or "error"
 - define custom headers with the "headers" parameter
 - `$.ajax.mimeTypes` are now `$.ajaxSettings.accepts`
1012a9a
Thomas Fuchs Merge pull request #113 from mislav/zepto
---

★★★★★ A bucketful of awesomesauce
24019c0
Mar 04, 2011
Thomas Fuchs Merge pull request #116 from ekhaled/zepto
---
0df258a
Mar 05, 2011
ekhaled shorter version of flatten(array) 82fd6b0
Mar 11, 2011
Added support for 'data'-parameter for GET-type ajax requests 3e6c1bd
Now using $.param for object serialization instead of custom code be20b3c
Mar 15, 2011
Yehor Lvivski Modified addClass()/removeClass() to work with multiple classnames; c…
…hanged show()/hide() to work correctly with overrided default display types and inline elements
ea3d061
skue fragmentRE now recognizes HTML tags that wrap multiple lines 7699b71
Thomas Fuchs Merge pull request #124 from skue/zepto
---

If you pass HTML into Zepto and the first HTML tag includes a linebreak, fragmentRE fails to recognize it (because . doesnt match newline by default). So the HTML fragment gets passed to qsa, producing a DOM error.

Example:
    $(<div id="myid"\ndata-item="val">)

This regex change fixes that.
30bc455
Thomas Fuchs add test for newlines in fragments 68f7b7f
Arne Martin Aurlien - No longer uses 'typeof' to check type of data parameter
- More robust handling of query string, will now insert ? or & as needed
e31e3e5
Arne Martin Aurlien Added unit tests for using data with GET-requests aa6173a
Yehor Lvivski optimized .show()/.hide() 3877085
Mar 16, 2011
Yehor Lvivski Merge remote branch 'upstream/master' 6bbae1a
Thomas Fuchs 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.
efeedfc
Mar 19, 2011
Thomas Fuchs Revert "Smaller 1px gif."
This reverts commit 2e7b461.

Conflicts:

	src/assets.js
6909ee7
Thomas Fuchs Merge branch 'master' of github.com:madrobby/zepto 4497f4f
Thomas Fuchs whitespace fix 97c4fe2
Mar 21, 2011
Yehor Lvivski use only native methods in defaultDisplay() c3dd785
Mar 25, 2011
Joao P Dubas Merge remote branch 'origin/master' into local 96e7dc2
Mar 27, 2011
Andrew Nesbitt Fixed a typo in the readme 147c0fc
Mar 29, 2011
Thomas Fuchs Merge pull request #130 from andrew/zepto
---
e2e46d3
All string use ' instead of " a1c01b7
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)
1fe9f96
Shorter way to express Object.prototype
Removed unnecessary RegExp
dcd4804
refactoring of $.param function
refactoring of settings.data handling
add iObject and isArray function
fix delete window.jsonpString;
2ffb3eb
add isFunction and isArray jQuery functions
refactoring isArray and isObject - move from ajax.js to zepto.js
b99f046
add isFunction and isArray jQuery functions
refactoring isArray and isObject - move from ajax.js to zepto.js
704879c
[] instanceof Object => true 7d877cf
Thomas Fuchs whitespace 6dfd364
Thomas Fuchs 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)
79dd84c
Apr 04, 2011
Joao P Dubas Merge remote branch 'origin/master' into local 8fa2a7f
A. Jesse Jiryu Davis 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
ad74718
Apr 05, 2011
Joao P Dubas Correct reference to gesture script on Rakefile 0af7263
Apr 06, 2011
Joao P Dubas Corrected direction for vertical swipe. c6c2a2a
Joao P Dubas Added swipeUp and swipeDown to test pages. fbcefc2
Apr 11, 2011
selector support for Text nodes
eg. Zepto(document.createTextNode('hi there'));
Additionally fix for issue #33
eea08ab
Apr 18, 2011
Thomas Fuchs return null for offset(), width(), and height() for empty sets. fixes #… 2ad719e
Thomas Fuchs update README with info on how to submit patches 3e6e82f
selector support for Text nodes
eg. Zepto(document.createTextNode('hi there'));
Additionally fix for issue #33
67118cb
Mike Breen Add a test case for commit eea08ab. Closes #141. 4d6dc98
Thomas Fuchs Merge pull request #141 from krunkosaurus/zepto
---

eg. Zepto(document.createTextNode(hi there));
More importantly it fixes issue #140
30e02e4
Thomas Fuchs Merge pull request #144 from hardbap/zepto
---

Thomas,

Heres the test case you asked for in issue #141.
f6bd11f
Apr 20, 2011
A. Jesse Jiryu Davis 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
e1b53e3
Apr 21, 2011
Andre Goncalves Modified event.js to add support for custom event data. Should solve …
…issue #143
5325235
Apr 24, 2011
Thomas Fuchs fix compatibility of attr, fixes #148 a5bf760
Thomas Fuchs 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.
f5ac38e
Thomas Fuchs 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
9418673
Apr 25, 2011
Sasha Koss Added failing assertion for form submit functional 8b11127
Sasha Koss Added submit function eec2112
Sasha Koss Added submit function to readme 8d8eec7
Sasha Koss Change code order in form submit assertion 8e412bf
May 02, 2011
Thomas Fuchs Merge pull request #153 from errorhandler/zepto
---

Ive added a simple `.empty()` method that removes all the elements children.
c28aac5
Thomas Fuchs clear out with innerHTML, faster b6b8b6d
Thomas Fuchs fix whitespace b563f8b
Thomas Fuchs Merge pull request #151 from kossnocorp/zepto
---

This pull request related to #139
0d2eb8a
Thomas Fuchs return xhr object on $.ajax call, fixes #119 f3c6078
Thomas Fuchs Merge pull request #95 from joaodubas/zepto
---

Enabled vertical swipe, by defining which movement was greater (vertical or horizontal). Also added support to pinch gesture, via gesture events (only available on iOS).
Tests where also generated, on touch.html and gesture.html.
eac226f
Thomas Fuchs touch/gesture support is now optional f6f938e
Thomas Fuchs Merge pull request #154 from errorhandler/master.
Added .replaceWith
eb4f84a
May 03, 2011
Added .empty() fa2ec7b
Added .replaceWith() 05bfe4d
Add another test example 7b0e91e
ekhaled Add internal helper function for Zepto methods
that also accept functions as arguments
d73726a
ekhaled modify .addClass() to accept functions as argument 50ee09a
ekhaled modify .removeClass() to accept functions as argument 677054c
ekhaled modify .toggleClass() to accept functions as argument 4d6ff56
ekhaled modify .htl and .attr to use new funcArg internal
helper function
bd1903d
ekhaled fix whitespace to follow existing coding convention ba3bc18
ekhaled Documentation update adc14c9
Thomas Fuchs Merge pull request #157 from ekhaled/master.
Modify .addClass, .removeClass and .toggleClass to accept functions as arguments.
672767f
Thomas Fuchs whitespace d0e614b
Patrick Walton Remove uses of insertAdjacentElement() f23bcd0
Thomas Fuchs Merge pull request #158 from pcwalton/master.
Remove uses of insertAdjacentElement()
7d0b31f
May 05, 2011
Thomas Fuchs cleanups; fix accidental globals; optimize further for gzipping aec627c
Thomas Fuchs shorten uniq 742dbf2
Thomas Fuchs event.js cleanup; update iphone example; bump rakefile to 0.6 5dccd5b
Thomas Fuchs party like it's 2011 f80613b
May 06, 2011
Thomas Fuchs Merge branch 'master' of github.com:madrobby/zepto
Conflicts:
	src/zepto.js
54c9528
Thomas Fuchs slightly better final size 9bc1cd3
Added .appendTo() & .prependTo() functions 2a4df72
May 07, 2011
Added test for appendTo() and prependTo() 33ba3c8
May 08, 2011
ekhaled Added support for .add() with tests b566a9d
Thomas Fuchs Merge pull request #161 from joelambert/zepto
---

Added support for reverse operators for appending and prepending elements to the DOM. These functions should behave the same as the jQuery API.
d7c0b98
Thomas Fuchs fix formatting 22d442a
Thomas Fuchs Merge pull request #162 from ekhaled/zepto
---
e57d374
Thomas Fuchs fix test formatting eeff9f9
Thomas Fuchs README updates 05598be
May 14, 2011
Thomas R. Koll Just a little update of the current rake output 200c73e
Thomas Fuchs Merge pull request #165 from TomK32/master
update of example rake output in README
42f8d07
Thomas Fuchs fix detection test, add 4.3 simulator 332f558
Thomas Fuchs whitespace c102eaa