Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: madrobby/zepto
base: v0.6
...
head fork: madrobby/zepto
compare: v0.7
Commits on Mar 30, 2011
Tom Germeau tomger Let css() add "px" when appropriate. 9e72507
Commits on May 08, 2011
David Lindkvist ffdead Added support for triggering Event objects - increased compability wi…
…th jQuery interface
6c115a6
David Lindkvist ffdead Added $.Event() constructor with jQuery 1.6 interface
Added tests for $.Event() and .trigger(eventObj)
3b60d77
Commits on May 15, 2011
Kir Belevich deepsweet $(document.createDocumentFragment()) fix. c2a3f2b
Kir Belevich deepsweet add a test for documentFragment. cf0cc6a
Commits on May 16, 2011
Aeron Glemann aglemann Implement wrap/wrapAll e641fd5
Aeron Glemann aglemann Optimization + tests for wrap/wrapAll e75d7cf
Commits on May 17, 2011
Romain Ruetschi romac Fixes a typo in the Zepto test suite. 038d0f0
Thomas Fuchs Merge pull request #168 from romac/038d0f05
Fixes a typo in the "testLive" test.
943afb1
Commits on May 20, 2011
Aeron Glemann aglemann Fixed replaceWith for case where target had no previousSibling c6e0d57
Commits on May 23, 2011
Thomas Fuchs Merge pull request #167 from Backcountry/master
wrap/wrapAll + tests
65afc38
Thomas Fuchs whitespace 5105da9
Thomas Fuchs merge 448f126
Thomas Fuchs fix some formatting 2202bea
Commits on May 24, 2011
Thomas Fuchs fix misdetections of early WebOS devices, and iPads that think that t…
…hey are just big iPhones, fixes #173
2b6487b
Khaled Ahmed ekhaled Fix .replaceWith to allow more than 1 node as replacement -- with tests 65a1c1d
Khaled Ahmed ekhaled Added support for .unwrap with tests dd7cbd0
Commits on May 26, 2011
Khaled Ahmed ekhaled Set element as context `this` on bound event handlers, with tests 725b1a8
Commits on May 27, 2011
Thomas Fuchs Merge pull request #179 from ekhaled/event_contexts
Set element as context `this` on bound event handlers, with tests
5a081a7
Khaled Ahmed ekhaled Fix .replaceWith to allow more than 1 node as replacement -- with tests 8c28a47
Khaled Ahmed ekhaled Added support for .unwrap with tests b193d1a
Khaled Ahmed ekhaled Merge branch 'master' of github.com:ekhaled/zepto 7f66996
Commits on May 28, 2011
Thomas Fuchs Merge pull request #175 from ekhaled/master
.replaceWith() fixes and support for .unwrap() with tests
e606a9a
Commits on May 29, 2011
John Boxall johnboxall Add $.slice w/ tests. 93c426b
Commits on May 30, 2011
John Boxall johnboxall Add negative indexing support for eq. ccd9455
Johan Brook johanbrook Separated append/prepend and before/after in Readme for clarity. dff5e6e
Johan Brook johanbrook Small fixes. a7c8abb
Johan Brook johanbrook Added info about 'filter'. 12739ba
Johan Brook johanbrook Added info about 'removeAttr' a65338b
Johan Brook johanbrook Added info about 'val' d88b6fd
Johan Brook johanbrook Added info about $.isFunction. $.isObject and $.isArray. 3427eea
Johan Brook johanbrook Added info about 'extend'. 8c37015
Johan Brook johanbrook Added info about 'data' 9f916c8
Commits on May 31, 2011
Thomas Fuchs Merge pull request #184 from johanbrook/newreadme
Updates to ReadMe
7b75663
Commits on Jun 01, 2011
Yuri Buyanov replaced insertAdjacentElement with appendChild to make it work in FF 89d8fb0
Commits on Jun 02, 2011
Phil Nash philnash One event binder callback now receives events in callback c36efa9
Thomas Fuchs Merge pull request #188 from philnash/fix-one-event-binder
One event binder callback now receives events in callback
83e5f44
Khaled Ahmed ekhaled fix .one() did not have the element as context `this` 3bb9966
Commits on Jun 03, 2011
John Boxall johnboxall Add end() support to Zepto by wrapping methods that change the workin…
…g elements.
ca6f41d
Commits on Jun 06, 2011
Felix Gnass fgnass appendTo() and prependTo() now accept a selector as parameter
for better jQuery compatibility
1253837
Felix Gnass fgnass Clear selector when called with fragment 25408ec
Commits on Jun 07, 2011
Filippo Diotalevi fdiotalevi added note to remind users to install the uglifier gem before buildin…
…g zepto
e850034
Thomas Fuchs Merge pull request #193 from fdiotalevi/master
Documentation patch
bbe7f0e
Thomas Fuchs Merge pull request #192 from fgnass/selector
Clear selector when called with fragment
ff513a2
Thomas Fuchs Merge pull request #182 from johnboxall/master
Add $.fn.slice with tests.
ab1dfa5
Thomas Fuchs Merge pull request #189 from ekhaled/one_fixes
fix .one() did not have the element as context `this` -- with tests
55b686d
Thomas Fuchs Merge pull request #186 from digal/master
Removal of another "insertAdjacentElement" to fix zepto in FF
a8103c7
John Boxall johnboxall Extend extends. Useful for plugins patterns: var opts = $.extend({}, …
…default, argOptions)
2b55a40
Commits on Jun 14, 2011
Sasha Koss kossnocorp Added failing spec (issue #200) 0f0c652
Sasha Koss kossnocorp Call callback if anim duration is 0 (closes #200) 8d9ee92
Thomas Fuchs Merge pull request #201 from kossnocorp/200_zero_anim_duration_bug
Fix "When animation duration is 0 callback never will be called"
c03bef9
Commits on Jun 16, 2011
John Boxall johnboxall If no argument is passed to the .index() method, the return value is …
…an integer indicating the position of the first element within the Zepto object relative to its sibling elements.
1fa2586
Commits on Jun 17, 2011
Sasha Koss kossnocorp Added failing assertion (issue #206) 5ba4219
Sasha Koss kossnocorp Set transition to none after webkitTransitionEnd event (closes #206) 4101400
Commits on Jun 27, 2011
Thomas Fuchs Merge pull request #207 from kossnocorp/206_disable_transition_after_…
…transition_end_event

Disable transition after webkitTransitionEnd event
01e5098
Mario Estrada marioestrada text method uses textContent instead of innerText for Firefox compati…
…bility
31fb51b
Thomas Fuchs Merge pull request #214 from marioestrada/master
Use textContent instead of innerText to support FF
b33bf64
Commits on Jul 01, 2011
Thomas Fuchs Merge pull request #190 from johnboxall/zepto
---

Add end() support to Zepto by wrapping methods that change the working elements.

Conflicts:
	test/zepto.html
ce072be
Thomas Fuchs Merge pull request #204 from johnboxall/index
.index() w/ no arg returns position of first element relative siblings
869e453
Thomas Fuchs Merge pull request #163 from ffdead/master
Added support for triggering Event objects
01591f2
Thomas Fuchs Merge pull request #191 from fgnass/master
Support passing a selector to appendTo/prependTo
c45d67f
Thomas Fuchs Merge pull request #194 from johnboxall/extends
Extend extend. Useful for plugins patterns: var opts = $.extend({}, defa
3572c6f
Thomas Fuchs Merge pull request #166 from deepsweet/upstream
$(document.createDocumentFragment()) fix.
c4cd3c0
Sasha Koss kossnocorp Added failing assertion (issue #203) 4cdaf27
Sasha Koss kossnocorp Allow to use css properties in anim function (related to issue #203) 1daf83c
Sasha Koss kossnocorp Convert RGB color to HEX in assertion (closes #203) b928798
Commits on Jul 02, 2011
Sasha Koss kossnocorp Added info about Zepto.js Convore group d05c462
Sasha Koss kossnocorp Merge pull request #221 from kossnocorp/203_allow_to_use_css_properti…
…es_in_anim_function

Allow to use css properties in anim function
5aad724
Commits on Jul 03, 2011
Sasha Koss kossnocorp Merge branch 'master' of https://github.com/tomger/zepto into tomger-…
…master

Conflicts:
	src/zepto.js
479a8c9
Sasha Koss kossnocorp Added assertions to pull request #138 50f44bb
Thomas Fuchs cleanup fx.js 4058d56
Thomas Fuchs cleanup fx.js 788c597
Thomas Fuchs cleanup use of var in zepto.js 8a0c798
Thomas Fuchs detect hp touchpad 40b93af
Thomas Fuchs cleanups 1586b94
Ed Tsech edtsech Added failing test for number css values #138 c2579fa
Ed Tsech edtsech Added fix 0f53bd9
Thomas Fuchs detect HP TouchPad 6c877b6
Thomas Fuchs Merge pull request #222 from edtsech/138_pull_request
138 pull request
ec5e96e
Thomas Fuchs support setting camelCased css property names 27b45c0
Ed Tsech edtsech Support setting camelCased css property with number values 1a4cced
Ed Tsech edtsech Define css variable locally 411dc73
Ed Tsech edtsech Added css3 properties to cssNumber & sort it alphabetically 5c3cfd8
Thomas Fuchs Merge pull request #224 from edtsech/camelCased_properties_with_numbe…
…r_values

Support setting camelCased css property with number values
31e68ba
Thomas Fuchs Merge pull request #226 from edtsech/css_number
Added css3 properties to cssNumber & sort it alphabetically
f12c5cb
Thomas Fuchs don't freak out on empty json returns (like on status code 204) 6da1f0a
Commits on Jul 04, 2011
Sasha Koss kossnocorp Merge pull request #225 from edtsech/var_css
Prevent css variable exports into global scope
d870f7b
Sasha Koss kossnocorp Added rake task "rake docs" which generates documentation from source…
… code
676f0e5
Sasha Koss kossnocorp Added copyright notes to top of each source file d36e4f8
Sasha Koss kossnocorp Added doc comments to $.get and $.post functions 0148977
Sasha Koss kossnocorp Added doc comments for $.getJSON, $.fn.load, $.param 8c091a0
Sasha Koss kossnocorp Success argument is optional for $.fn.load a4478c5
Commits on Jul 05, 2011
Thomas Fuchs make removeClass() without parameters remove all classes 6795f86
Thomas Fuchs tabs: you can't live with them and you can't live with them 43b379f
Thomas Fuchs support forcing true/false on .toggle 53e606f
Sasha Koss kossnocorp Added docs comments to $.ajax fd141e9
Sasha Koss kossnocorp Added docs comments to $.ajaxSettings 67fd7bd
Sasha Koss kossnocorp Added docs comments to $.ajaxJSONP e98f69d
Sasha Koss kossnocorp Fix copy-paste victim 22c685f
Sasha Koss kossnocorp Added docs comment to $.fn.remove 884609c
Sasha Koss kossnocorp Added docs comments to $.os 51a304c
Paul Miller paulmillr fix wrap() for Firefox ebef756
Paul Miller paulmillr provide an alternative for outerHTML in tests ad08d2a
Mislav Marohnić mislav improve NodeList detection in not()
A NodeList is detected by having a `length` property and an `items()`
method. This fixes the method for Firefox, whose NodeList objects don't
pass the `instanceof NodeList` test.

This also optimizes the `not()` method a little by reducing the
unnecessary number of cloned arrays.
8c5df63
Mislav Marohnić mislav wrap the test input element with a value in a form
It seems that Firefox will completely ignore the "value" attribute if
the input element is not nested inside a form.
d3b798b
Commits on Jul 06, 2011
Sasha Koss kossnocorp Added basic assertion to $.fn.remove() 1e27a67
Sasha Koss kossnocorp Added failing assertion to bug with removing already removed element 8a33348
Sasha Koss kossnocorp Check parentNode exists in $.fn.remove daef1f1
Commits on Jul 07, 2011
Hunter Loftis Fixed html fragment creation $('<th>fragment</th>') by creating a map…
… of special node types to their DOM containers, since <div> cannot contain all elements (th for example).
a67b28a
Hunter Loftis Wrote test for special html fragments. 0753f50
Sasha Koss kossnocorp Merge branch 'hunterloftis-original'
Conflicts:
	src/zepto.js
	test/zepto.html
b06b8b8
Sasha Koss kossnocorp Added failing assertion for #232 2bada65
Sasha Koss kossnocorp Added one more assertion for #232 abde019
Sasha Koss kossnocorp Prevent dom variable exports to global scope e9f99b4
Sasha Koss kossnocorp Added test to node creation via dollar 67e09d0
Sasha Koss kossnocorp Added failing assertion for #233 53a68a3
Thomas Fuchs remove failing test for #233 ef8150e
Mislav Marohnić mislav fix usage of outerHTML in tests 5b47811
Mislav Marohnić mislav refactor fragments handling to fix edge cases
Two bugs fixed:
 - fragment() method would trim whitespace, which is unwanted behavior
   for text nodes
 - adding some HTML to more than one element (e.g. via the append()
   method) didn't work; it would only add HTML to the last element in
   the collection

Closes #232, references #229
ecb3c70
Mislav Marohnić mislav avoid testing nodeType with regex 92d30f7
Mislav Marohnić mislav fix hasClass() on empty collection
closes #211
a5407a1
Commits on Jul 09, 2011
Mislav Marohnić mislav consistently use "doesnotexist" selector to return no results 8082738
Mislav Marohnić mislav make width() & height() methods also setters
closes #235
10adad4
Mislav Marohnić mislav add $.map() and make $.fn.map() same as jQuery's
Method signatures are:

  $.map(object, function(item, index) { ... })
  $(...).map(function(index, item) { ... })

The callback for $.fn.map() is executed with `item` as the value of
`this`, making the method similar to $.fn.each().

Closes #216
869a45d
Mislav Marohnić mislav enable creating all table elements with $('<...>')
closes #234
858c64b
Thomas Fuchs shave a few bytes 87aaf7e
Mislav Marohnić mislav test $.map() with hash argument 043e1c8
Thomas Fuchs one more byte 20956d9
Commits on Jul 13, 2011
Sasha Koss kossnocorp Added form.js 27b6449
Sasha Koss kossnocorp Added failing assertions for $.fn.serializeArray 23b79bb
Sasha Koss kossnocorp Added $.fn.serializeArray function 5998890
Sasha Koss kossnocorp Added failing assertions for $.fn.serialize 6c5fe95
Sasha Koss kossnocorp Use encoded string in $.fn.serialize assertion a291e78
Sasha Koss kossnocorp Added $.fn.serialize function 2945368
Sasha Koss kossnocorp Move $.fn.submit to form.js a29196e
Sasha Koss kossnocorp Added failing assertion for bind via $.fn.submit (related to #150) 80e78f8
Sasha Koss kossnocorp Allow to bind submit event via $.fn.submit (closes #150) 5c0d076
Sasha Koss kossnocorp Added form.js to ZEPTO_FILES in Rakefile 7407d06
Thomas Fuchs add info about how to run docco 132d764
Sasha Koss kossnocorp Added failing assertion for #187 31bdaf2
Sasha Koss kossnocorp Allow to return false in events to prevent default (closes #187) 492b36d
Sasha Koss kossnocorp Added failing assertions for #171 and #185 d764290
Sasha Koss kossnocorp Split append and html eval tests 1e6bbf8
Sasha Koss kossnocorp Execute embeded js on $.fn.html and $.fn.append (and friends) — closes
…#171, closes #185
e99a257
Commits on Jul 14, 2011
Max Power max-power add rotate3d to supportedTransforms 48126e0
Sasha Koss kossnocorp Merge pull request #238 from max-power/patch-1
add rotate3d to supportedTransforms
d158a83
Sasha Koss kossnocorp Use setTimeout with 0 delay in $.fn.anim (because just inserted nodes…
… doesn't playback CSS animation without delay)
272513b
Sasha Koss kossnocorp Refactor usage cssProperties in $.fn.anim ec559a4
Commits on Jul 17, 2011
Karol Kowalski karolk Edited src/event.js via GitHub a84bb26
Commits on Jul 24, 2011
Sébastien Gruhier fix scale transformation 6f76a87
Commits on Jul 28, 2011
Björn Rixman bjrn $.fn.serializeArray() now ignores unchecked checkboxes with a value ee38ea5
Mislav Marohnić mislav Merge pull request #248 from bjrn/master
fix for $.fn.serializeArray() returning values for unchecked checkboxes
a71c62b
Commits on Jul 29, 2011
Thomas Fuchs Merge pull request #244 from sgruhier/master
scale transformation fixed
da3a132
Thomas Fuchs Merge pull request #240 from karolk/zepto
---

This adds around 300b to the library size but provides support for $.click and other popular events. This is based on jQuery but simplify because Zepto isnt trying to pass data with events.
50f802b
Thomas Fuchs merge dom event wrappers patch and add tests f52541d
Matthew O'Riordan mattheworiordan Support for long tap event 7241894
Mislav Marohnić mislav disable selecting text in touch functional tests 093474e
Commits on Jul 31, 2011
Thomas Fuchs add $.each 6e3e9b6
Commits on Aug 01, 2011
Mislav Marohnić mislav implement focus() & blur() methods
closes #178
a6144a0
Mislav Marohnić mislav ability to create events with $.Event() that don't bubble 5f611ef
Mislav Marohnić mislav fix $.fn.submit() triggerring DOM event handlers
closes #236
5a682f9
Mislav Marohnić mislav we don't support mouseenter/mouseleave yet 0e572ea
Mislav Marohnić mislav implement $.fn.triggerHandler() e1bca2d
Mislav Marohnić mislav remove stray console.log c37694f
Mislav Marohnić mislav don't expect submit() method to be defined in zepto.js 90a0ec1
John Boxall johnboxall event handlers now receive custom data in multiple arguments
For jQuery compatibility.

closes #183
11de4dc
Mislav Marohnić mislav fix submit() test in form.html bbca54c
Thomas Fuchs party like it's 0.7 3858eed
Mislav Marohnić mislav prevent endless submit on test failure in form.html eae1af3