]> source.dussan.org Git - jquery.git/log
jquery.git
9 years agoOffset: Round offset value for the sake of floating errors
Michał Gołębiowski [Mon, 16 Mar 2015 17:23:21 +0000 (18:23 +0100)]
Offset: Round offset value for the sake of floating errors

IE10+ may return not exactly the offset.top value set in an offset callback
if parent has fractional top offset itself. Checking for being close to the
desired result fixes the test error.

(cherry-picked from 62ae2d0fb7ac011bf2ad778f8158de408e785927)

Fixes gh-2147

9 years agoDeferred: Backwards-compatible standards interoperability
Richard Gibson [Mon, 29 Dec 2014 19:14:13 +0000 (14:14 -0500)]
Deferred: Backwards-compatible standards interoperability

Fixes gh-1722
Closes gh-1996

(cherry picked from commit 555a50d340706e3e1e0de09231050493d0ad841e)

9 years agoTests: Expand CSS relative adjustment tolerance for IE
Richard Gibson [Tue, 17 Mar 2015 03:05:36 +0000 (23:05 -0400)]
Tests: Expand CSS relative adjustment tolerance for IE

Ref 48be675200e817f40fa8ec25da1be2ab0839d28d
Ref 4a8000b51a9854e21361e435e4c9b9cbd8ac458a

(cherry picked from commit e22ef5d9017c44cad97ae541fefce76cc455edcb)

9 years agoTests: Fix CSS relative adjustment test for round-down browsers
Richard Gibson [Tue, 17 Mar 2015 03:05:36 +0000 (23:05 -0400)]
Tests: Fix CSS relative adjustment test for round-down browsers

Ref 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17
Ref 6fb2cefc602cf8bd8b85373f480e978bb8978e37

(cherry picked from commit 48be675200e817f40fa8ec25da1be2ab0839d28d)

9 years agoAttributes: revert returning null for non-elements
Timmy Willison [Mon, 16 Mar 2015 18:11:38 +0000 (14:11 -0400)]
Attributes: revert returning null for non-elements

9 years agoTests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)
Michał Gołębiowski [Mon, 16 Mar 2015 16:54:36 +0000 (17:54 +0100)]
Tests: Restore IE8 workarounds (Sinon timers for IE & HTML5 shiv)

9 years agoAttributes: fix failing test for new return value
Timmy Willison [Mon, 16 Mar 2015 15:52:05 +0000 (11:52 -0400)]
Attributes: fix failing test for new return value

9 years agoAttributes: return null when attribute does not exist
Winston Howes [Mon, 16 Mar 2015 15:20:16 +0000 (11:20 -0400)]
Attributes: return null when attribute does not exist

Fixes gh-2118
Close gh-2129

Conflicts:
test/unit/attributes.js

9 years agoCSS: Support relative adjustment in any applicable unit
Mr21 [Wed, 4 Feb 2015 13:10:14 +0000 (14:10 +0100)]
CSS: Support relative adjustment in any applicable unit

Fixes gh-1711
Closes gh-2011

(cherry picked from commit 9b03f6df88a8d9dbda3f7893cdd84e3a3c70da17)

Conflicts:
src/css.js
src/effects.js

9 years agoBuild: remove deprecated JSHint options
Stephen Edgar [Sun, 25 Jan 2015 03:43:05 +0000 (14:43 +1100)]
Build: remove deprecated JSHint options

(cherry-picked from 34da7d552982d8ab7b18c2ceca9786d5023930f6)

JSHint no longer supports `onevar`, `smarttabs` or `trailing` options.

Closes gh-2029

9 years agoEvent: correct support comment
Oleg Gaidarenko [Sun, 8 Mar 2015 03:23:49 +0000 (06:23 +0300)]
Event: correct support comment

(cherry-picked from 361a0d5150a1c57b1857611cde1b05bd0ef21a50)

See discussion in
https://github.com/jquery/jquery/commit/a5e1c9b44c971fd7046d9a95bd0810e50840b663

9 years agoCore: change jQuery.each and jQuery#each signatures
Oleg Gaidarenko [Tue, 17 Feb 2015 07:09:54 +0000 (10:09 +0300)]
Core: change jQuery.each and jQuery#each signatures

(cherry-picked from 2380028ec4a6a77401b867a51de26a3cb8e8d311)
Fixes gh-2090
Closes gh-2097

9 years agoAjax: remove use of jQuery#each second argument
Oleg Gaidarenko [Tue, 17 Feb 2015 07:05:25 +0000 (10:05 +0300)]
Ajax: remove use of jQuery#each second argument

(cherry-picked from a4715f4216ace92fba6991106053415e66289686)
Ref gh-2090

9 years agoTests: make top of the HTML suite compliant with style guide
Oleg Gaidarenko [Tue, 17 Feb 2015 07:45:30 +0000 (10:45 +0300)]
Tests: make top of the HTML suite compliant with style guide

See http://contribute.jquery.org/style-guide/html/

(cherry-picked from 8356281bed643bb3d56ad02f52580a0e20dc0237)
Closes gh-2098

9 years agoAjax: remove deprecated extensions from ajax promise
Oleg Gaidarenko [Sun, 15 Feb 2015 02:41:38 +0000 (05:41 +0300)]
Ajax: remove deprecated extensions from ajax promise

(cherry-picked from 9d1b989f20b550af3590691723b0620f6914626e)
Fixes gh-2084
Closes gh-2092

9 years agoAjax: move explanatory comment to appropriate place
Oleg Gaidarenko [Sat, 14 Feb 2015 23:27:54 +0000 (02:27 +0300)]
Ajax: move explanatory comment to appropriate place

Ref 4b3e63066dd480d07b9ce8057cb0c02b8ad7e990

9 years agoBuild: fix broken assertions caused by QUnit update
Oleg Gaidarenko [Sat, 14 Feb 2015 23:22:09 +0000 (02:22 +0300)]
Build: fix broken assertions caused by QUnit update

QUnit update broke couple traversing and manipulation tests, since new qunit
added another form to the test-suite while some of
jQuery selectors weren't specific

(cherry-picked from 8b6aeae52d4c53a53468678ccd45e9dda9665004)
Ref db31206d36a3a75c011310e282e0fdc9a0f3d99d

9 years agoAjax: replace "jqXHR.complete" callback with "always"
Oleg Gaidarenko [Wed, 11 Feb 2015 13:40:40 +0000 (16:40 +0300)]
Ajax: replace "jqXHR.complete" callback with "always"

Since it was deprecated since 1.8.

Also add additional comments which explains tricky
behaviour of "always" callback

(cherry-picked from 97ef1f2612a9c5bd453d34146fdfd552cf9cee67)
Closes gh-2033

9 years agoAjax: make jQuery#load "type" field explicit
Oleg Gaidarenko [Sat, 14 Feb 2015 22:25:02 +0000 (01:25 +0300)]
Ajax: make jQuery#load "type" field explicit

* Move "evalScript.php" file to appropriate place

* Make jQuery#load "type" field explicit and add test for it

Ref trac-11264
Ref 4ef120d3f2578fe3d52eb6c0d0641df945991391

9 years agoAjax: simplify one ajax call and add explanatory comment
Oleg Gaidarenko [Sat, 14 Feb 2015 22:21:05 +0000 (01:21 +0300)]
Ajax: simplify one ajax call and add explanatory comment

* Remove "async = true" from script transport since it was needed
  for FF < 4 and old Opera which we do not support anymore

* Add comment to "evalUrl" method on why "type" field should be explicit

Ref 0ac28ed293681cb8f2e9fdd11efa0021da039c84

9 years agoCore: simplify "each" stylesheet iteration test
Oleg Gaidarenko [Fri, 13 Feb 2015 18:50:24 +0000 (21:50 +0300)]
Core: simplify "each" stylesheet iteration test

(cherry-picked from fcb6c4d1d6552c7e54df16a36b171858bdf0553f)
Closes gh-2089

9 years agoBuild: Update QUnit to latest (1.17.1)
Jörn Zaefferer [Mon, 26 Jan 2015 18:24:59 +0000 (19:24 +0100)]
Build: Update QUnit to latest (1.17.1)

(cherry-picked from 2d5c5d213f09fa0205d07a2d60a36581058cc40a)
Closes gh-2038

9 years agoOffset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0
Oleg Gaidarenko [Wed, 11 Feb 2015 19:44:57 +0000 (22:44 +0300)]
Offset: don't run scrollTop/scrollLeft iframe test in Android 2.3 & 4.0

Android 2.3 resize the iframe by its content meaning it's not possible
to scroll the iframe only its parent element.

It seems (not confirmed) in android 4.0 it's not possible to scroll
iframes from the code

(cherry-picked from 0c466438d1feaec302fec13eafeeb063bbfd6a19)

Fixes gh-1981
Ref 4ab8603669e2bbc8644e402927c33ce422d7aaa3

9 years agoManipulation: don't auto-insert tbody
Oleg Gaidarenko [Wed, 11 Feb 2015 14:07:29 +0000 (17:07 +0300)]
Manipulation: don't auto-insert tbody

Fixes gh-1835
Closes gh-2021
Ref e984d1c79cc476062818e03df04a366baa13d197

9 years agoManipulation: simplify html wrappers
Oleg Gaidarenko [Tue, 10 Feb 2015 20:49:44 +0000 (23:49 +0300)]
Manipulation: simplify html wrappers

Take advantage of html serialization for html wrappers - saves 26 bytes
Plus add additional test for "col" element

(cherry-picked from 0ea342a6a6dce793c1b0f14f051c2573f40f4e44)

Closes gh-2031
Fixes gh-2002

9 years agoManipulation: simplification of manipulation wrappers
Oleg Gaidarenko [Mon, 26 Jan 2015 01:40:14 +0000 (04:40 +0300)]
Manipulation: simplification of manipulation wrappers

Since support for IE6-7 was dropped these wrappers no longer required

Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Ref gh-2002
Closes gh-2032

9 years agoCSS: Fix the pixelMarginRight support test in IE8
Michał Gołębiowski [Sun, 8 Feb 2015 01:03:17 +0000 (02:03 +0100)]
CSS: Fix the pixelMarginRight support test in IE8

9 years agoCSS: Add a support test for the hack for .css('marginRight') etc. 2061/head
Michał Gołębiowski [Wed, 4 Feb 2015 13:36:18 +0000 (14:36 +0100)]
CSS: Add a support test for the hack for .css('marginRight') etc.

This hack turns out to be needed by Android 4.0-4.3.

Add a support test so that the hack is invoked only where needed.

Refs 3747cc642a48d2a5a8ac83069f66bddd33bea301

Refs gh-1815
Refs gh-1820
Refs gh-1842
Closes gh-2061

9 years agoRelease: push dist to same remote as project
Timmy Willison [Fri, 30 Jan 2015 20:46:48 +0000 (12:46 -0800)]
Release: push dist to same remote as project

Conflicts:
build/release/dist.js

9 years agoRelease: remove sourcemap comment from all copies of minified file
Timmy Willison [Fri, 30 Jan 2015 20:22:25 +0000 (12:22 -0800)]
Release: remove sourcemap comment from all copies of minified file

Fixes gh-1707

9 years agoRelease: fix CDN archive creation
Timmy Willison [Fri, 30 Jan 2015 00:21:39 +0000 (16:21 -0800)]
Release: fix CDN archive creation

Fixes gh-1940

9 years agoRelease: dist can be run during a test
Timmy Willison [Thu, 29 Jan 2015 23:36:48 +0000 (15:36 -0800)]
Release: dist can be run during a test

9 years agoRelease: Distribute files to distribution repo
Timmy Willison [Wed, 28 Jan 2015 19:37:29 +0000 (11:37 -0800)]
Release: Distribute files to distribution repo

Fixes gh-1869
Fixes gh-1673
Fixes gh-2045

Conflicts:
bower.json
build/release.js

9 years agoData: Use a PDF object instead of a Java applet for acceptData testing
Michał Gołębiowski [Sun, 25 Jan 2015 00:32:54 +0000 (01:32 +0100)]
Data: Use a PDF object instead of a Java applet for acceptData testing

This should fix "Java out of date" errors on BrowserStack.

(cherry-picked from 087d280ad1160de53a45ea96184911194f7b46e0)

Fixes gh-1938
Closes gh-2028

9 years agoAjax: Run the PATCH test only in IE8 on TestSwarm 2026/head
Michał Gołębiowski [Sun, 25 Jan 2015 00:24:22 +0000 (01:24 +0100)]
Ajax: Run the PATCH test only in IE8 on TestSwarm

Fixes gh-1994
Closes gh-2026

9 years agoBuild: Speed up the Travis build
Michał Gołębiowski [Sun, 25 Jan 2015 00:27:08 +0000 (01:27 +0100)]
Build: Speed up the Travis build

Run Travis tests on a container infrastructure to make it start faster.

See http://docs.travis-ci.com/user/workers/container-based-infrastructure/

(cherry-picked from 31f4f8e3f30e67e677a2aa167b9e894d46d5b81e)

Closes gh-2027

9 years agoEvent: Add a note about a mouseenter bug in Chrome
Michał Gołębiowski [Sun, 25 Jan 2015 00:09:26 +0000 (01:09 +0100)]
Event: Add a note about a mouseenter bug in Chrome

Also, add a support comment about older Safari.

Refs https://code.google.com/p/chromium/issues/detail?id=333868
Partially cherry-picked from a5e1c9b44c971fd7046d9a95bd0810e50840b663

9 years agoRelease: update AUTHORS.txt
Timmy Willison [Mon, 19 Jan 2015 17:03:14 +0000 (12:03 -0500)]
Release: update AUTHORS.txt

9 years agoCore: Return empty array instead of null for parseHTML("")
Timo Tijhof [Wed, 7 Jan 2015 20:12:49 +0000 (20:12 +0000)]
Core: Return empty array instead of null for parseHTML("")

Fixes gh-1997
Close gh-1998

Conflicts:
test/unit/core.js

9 years agoManipulation: increase delay of data-URI test
Oleg Gaidarenko [Thu, 15 Jan 2015 02:41:27 +0000 (05:41 +0300)]
Manipulation: increase delay of data-URI test

For Safar7/Opera - shot in the dark, can't reproduce this locally

Ref gh-1993

9 years agoEvent: HTML5 drop events inherit from MouseEvent
Dave Methvin [Wed, 14 Jan 2015 19:34:09 +0000 (14:34 -0500)]
Event: HTML5 drop events inherit from MouseEvent

Fixes gh-2009
Ref gh-1925
(cherry picked from commit d7e5fcee519e5f3e840beef9e67a536e75133df9)

Conflicts:
test/unit/event.js

9 years agoManipulation: blacklist IE8 from running tests for tag-hyphenated elems
Oleg Gaidarenko [Wed, 14 Jan 2015 02:22:42 +0000 (05:22 +0300)]
Manipulation: blacklist IE8 from running tests for tag-hyphenated elems

IE8 supports only HTML elements it knows about, but if user uses custom
elements a.k.a. tag-hyphenated, we assume it doesn't try to use them with IE8

Ref 5d522f5c740f1f919a630a5f6ec3d40fad840ff7

9 years agoOffset: simplify jQuery#offsetParent method
Oleg Gaidarenko [Tue, 13 Jan 2015 05:16:32 +0000 (08:16 +0300)]
Offset: simplify jQuery#offsetParent method

* It seems, check for html element (and previously for body element)
  was redundant

* Simplify "return" statement

* Add comment about potential errors that didn't find themselves
  in real life app

Ref 74ae5444832b2fb966768a97281d2ad8c088bc58

9 years agoManipulation: add support to tag-hyphenated elements
Leonardo Braga [Tue, 13 Jan 2015 04:50:23 +0000 (07:50 +0300)]
Manipulation: add support to tag-hyphenated elements

Ref #1987
Ref 85ffc6d973865a031ded170934e0acfc2e97cb11

9 years agoCore: add support to tag-hyphenated elements
Leonardo Braga [Sun, 4 Jan 2015 22:48:35 +0000 (17:48 -0500)]
Core: add support to tag-hyphenated elements

Ref #1987
Ref 534f13025aeb59a7d5893ce62efafa0b066a4934

9 years agoBuild: Sanctify the component name status of Wrap
Dave Methvin [Mon, 12 Jan 2015 03:24:02 +0000 (22:24 -0500)]
Build: Sanctify the component name status of Wrap
(cherry picked from commit a4133ffafa6ac43b3aa22bc4edb4444b09f5250c)

9 years agoCore: Remove deprecated context and selector properties
Dave Methvin [Thu, 8 Jan 2015 18:35:28 +0000 (13:35 -0500)]
Core: Remove deprecated context and selector properties

Fixes gh-1908
Closes gh-2000
(cherry picked from commit 0ea8c32863af31fb5cfc184e8d513bbae35583e8)

9 years agoAjax: $.post and $.get can now take an options object
George Mauer [Tue, 6 Jan 2015 03:00:12 +0000 (21:00 -0600)]
Ajax: $.post and $.get can now take an options object

Fixes gh-1986
Closes gh-1995
(cherry picked from commit 89ce0af2cf7f001647e74fc1de92ce94a51fd5c2)

9 years agoBuild: Rearrange grunt/npm tasks into a build/dist/test pattern
Richard Gibson [Tue, 30 Dec 2014 02:07:03 +0000 (21:07 -0500)]
Build: Rearrange grunt/npm tasks into a build/dist/test pattern

Ref 76df9e4e389d80bff410a9e5f08b848de1d21a2f
Ref bb928bde7e7b85357fef3fedd450b04c03e965d7

Conflicts:
Gruntfile.js
package.json

9 years agoCore: Standardize indexOf comparisons
Richard Gibson [Wed, 31 Dec 2014 23:31:27 +0000 (18:31 -0500)]
Core: Standardize indexOf comparisons

not present: `< 0`
present: `> -1`
at index: `=== N`

(cherry picked from commit 53aa87f3bf4284763405f3eb8affff296e55ba4f)

Closes gh-1985

9 years agoCallbacks: Reduce size
Richard Gibson [Sun, 4 Jan 2015 01:48:54 +0000 (20:48 -0500)]
Callbacks: Reduce size

9 years agoCallbacks: Don't abort execution on .lock()
Richard Gibson [Sun, 4 Jan 2015 00:55:31 +0000 (19:55 -0500)]
Callbacks: Don't abort execution on .lock()

Fixes gh-1990
Closes gh-1991

9 years agoCallbacks: No object starts out locked
Richard Gibson [Fri, 2 Jan 2015 14:42:06 +0000 (09:42 -0500)]
Callbacks: No object starts out locked

Fixes gh-1989

9 years agoBuild: Specify valid components for commit messages
Richard Gibson [Sun, 7 Dec 2014 06:46:25 +0000 (01:46 -0500)]
Build: Specify valid components for commit messages

Closes gh-1909

(cherry picked from commit 0c9d018889944da3d60cac135dc38dfcc37ac14a)

9 years agoDocs: Clarify custom build instructions
Dave Methvin [Wed, 7 Jan 2015 03:15:53 +0000 (22:15 -0500)]
Docs: Clarify custom build instructions

Closes gh-1854
(cherry picked from commit a3779bc3254159f5a99e8204e69a0f0b9e191f6f)

9 years agoRelease: Remove copying of jquery-latest files
Dave Methvin [Wed, 7 Jan 2015 03:03:07 +0000 (22:03 -0500)]
Release: Remove copying of jquery-latest files

Closes gh-1942

9 years agoAjax: Fix cross-domain detection test for non-default port
Victor Homyakov [Wed, 7 Jan 2015 02:23:16 +0000 (21:23 -0500)]
Ajax: Fix cross-domain detection test for non-default port

Closes gh-1954

9 years agoMisc: Mac OS is now OS X, thanks @xfq
Dave Methvin [Wed, 7 Jan 2015 02:04:17 +0000 (21:04 -0500)]
Misc: Mac OS is now OS X, thanks @xfq

Closes gh-1970
(cherry picked from commit d30c482910bf35c5dbaec9c82174d1e6ae8839b5)

9 years agoEvent: Normalize mouse event properties in drag events
Aditya Raghavan [Sat, 20 Dec 2014 23:41:24 +0000 (18:41 -0500)]
Event: Normalize mouse event properties in drag events

DragEvent is a superset of MouseEvent, so we want to fix up mouse
properties like pageX and pageY.

Fixes gh-1925
(cherry picked from commit 389b2ab3b93bfd68ca6c6153a43e11d93ab9ec71)

9 years agoBuild: Remove dates from copyright notice
Anne-Gaelle Colom [Thu, 1 Jan 2015 19:34:48 +0000 (19:34 +0000)]
Build: Remove dates from copyright notice

Closes gh-1983
(cherry picked from commit 66e1b6b8d49812239b5712d65922ff94c60f7b02)

Conflicts:
Gruntfile.js

9 years agoREADME: update the Homebrew site address
Michał Gołębiowski [Sat, 3 Jan 2015 18:42:37 +0000 (19:42 +0100)]
README: update the Homebrew site address

Thanks @xfq

(cherry-picked from b410b15e8da1a8d285f431640ff165e634196115)

Closes gh-1971

9 years agoEvent: Add reference to data module
Norman Xu [Wed, 17 Dec 2014 21:51:36 +0000 (21:51 +0000)]
Event: Add reference to data module

Since we are using _data() quite a lot in event module
and drop data/accepts as there is no direct reference

Ref gh-1948

9 years agoDeferred: Fix $.when with resolved deferred and progress callbacks
Nicolas HENRY [Tue, 9 Dec 2014 12:57:15 +0000 (12:57 +0000)]
Deferred: Fix $.when with resolved deferred and progress callbacks

Ref ab20d9d24f0a95df382c02e9ef3dcc4adb86e4f1

9 years agoOffset: fix iframe scrollTop/Left test for IE8 and iPhone
Oleg Gaidarenko [Wed, 24 Dec 2014 21:49:46 +0000 (00:49 +0300)]
Offset: fix iframe scrollTop/Left test for IE8 and iPhone

* IE8 need a doctype, otherwise IE will scroll it, but will
  still show old values. It wasn't noticable before, since IE8 will
  update values if in the dev tools you swtich to "Quirks mode"
  and then back again, then this tab will always show the correct values
  even if you update it

* iPhone resize the iframe by its content regardless of
  the width, height values, meaning it's not possible to scroll
  the iframe only its parent element

Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8

9 years agoOffset: fix iframe scrollTop/Left test for IE8
Oleg Gaidarenko [Wed, 24 Dec 2014 01:24:59 +0000 (04:24 +0300)]
Offset: fix iframe scrollTop/Left test for IE8

Ref ae30fb6c27a2121578d3ce7ca6e2ba1d205545b8

9 years agoCSS: simplify hack of css getter for the computed values
Oleg Gaidarenko [Thu, 18 Dec 2014 15:36:58 +0000 (18:36 +0300)]
CSS: simplify hack of css getter for the computed values

Ref gh-1906

9 years agoCSS: simplify "defaultDisplay" module
Oleg Gaidarenko [Sun, 21 Dec 2014 20:03:38 +0000 (23:03 +0300)]
CSS: simplify "defaultDisplay" module

Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Ref gh-1961

9 years agoTraversing: simplify jQuery#contents method
Oleg Gaidarenko [Sun, 21 Dec 2014 20:01:11 +0000 (23:01 +0300)]
Traversing: simplify jQuery#contents method

Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278
Ref gh-1961

9 years agoManipulation: make wrapAll funarg execute only once
Oleg Gaidarenko [Tue, 23 Dec 2014 22:56:21 +0000 (01:56 +0300)]
Manipulation: make wrapAll funarg execute only once

Ref 359b03cac74d7336676a6992f14b7ccab9b28659

9 years agoCSS: Add unit tests for negative margins and positioning
Aditya Raghavan [Sat, 20 Dec 2014 09:08:44 +0000 (04:08 -0500)]
CSS: Add unit tests for negative margins and positioning

Ref 1b932bb7867924b98529537f8ccd35db979ae22a

9 years agoEvent: add test for window scrollTop/Left logic in iframes
Aditya Raghavan [Sun, 21 Dec 2014 02:52:17 +0000 (21:52 -0500)]
Event: add test for window scrollTop/Left logic in iframes

Ref d21edb599d8f5f80a3f3ecba5b62311b9cd1a3e6

9 years agoBuild: Sizzle version labels must start with a dash
Timmy Willison [Wed, 17 Dec 2014 16:17:41 +0000 (11:17 -0500)]
Build: Sizzle version labels must start with a dash

9 years agoBuild: update node dependencies
Timmy Willison [Wed, 17 Dec 2014 15:42:23 +0000 (10:42 -0500)]
Build: update node dependencies

9 years agoBuild: account for version labels in Sizzle versions
Timmy Willison [Wed, 17 Dec 2014 15:35:59 +0000 (10:35 -0500)]
Build: account for version labels in Sizzle versions

Fixes gh-1939

9 years agoAuthors: Update AUTHORS.txt and .mailmap
Dave Methvin [Wed, 17 Dec 2014 02:49:54 +0000 (21:49 -0500)]
Authors: Update AUTHORS.txt and .mailmap

9 years agoSizzle: update 2.1.1
Timmy Willison [Mon, 15 Dec 2014 17:33:46 +0000 (12:33 -0500)]
Sizzle: update 2.1.1

9 years agoREADME: various text fixes
Oleg Gaidarenko [Mon, 15 Dec 2014 00:48:53 +0000 (19:48 -0500)]
README: various text fixes

Thank you @essamjoubori, @bcbcb, @namlede

Ref 31b63fc23674ede657f019783ad7b942bb83f9c3

9 years agoSupport: Correct iOS 8 support test results, re-arrange entries
Michał Gołębiowski [Sat, 13 Dec 2014 20:45:58 +0000 (21:45 +0100)]
Support: Correct iOS 8 support test results, re-arrange entries

9 years agoAjax: use anchor tag for parsing urls
Ben Toews [Sun, 23 Nov 2014 01:29:13 +0000 (18:29 -0700)]
Ajax: use anchor tag for parsing urls

Fixes gh-1875
Closes gh-1880
(cherry picked from commit 5a75278e4c5359e07303fc4d8e78a1cf94f6ad65)

Conflicts:
src/ajax.js

9 years agoData: use removeAttribute in cleanData to bypass Chrome bug
Jason Bedard [Wed, 10 Dec 2014 16:42:00 +0000 (11:42 -0500)]
Data: use removeAttribute in cleanData to bypass Chrome bug

Related:
https://code.google.com/p/chromium/issues/detail?id=378607

Fixes gh-1664

9 years agoBuild: fix tests in AMD mode
Timmy Willison [Tue, 9 Dec 2014 20:39:24 +0000 (15:39 -0500)]
Build: fix tests in AMD mode

9 years agoCore: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left out
Timmy Willison [Wed, 10 Dec 2014 14:48:55 +0000 (09:48 -0500)]
Core: introduce createHTMLDocument in parseHTML; Safari 8/IE8 left out

Close gh-1506

9 years agoEvent: Empty namespaces should be uneventfully ignored
Dave Methvin [Wed, 10 Dec 2014 00:59:56 +0000 (19:59 -0500)]
Event: Empty namespaces should be uneventfully ignored

Thanks @hamishdickson for the report!

Closes gh-1769
(cherry picked from commit 8653068dd6b8a515f5c1d8a0fda4479e9534103e)

9 years agoCss: Remove non-functional unit test for negative margin
Dave Methvin [Tue, 9 Dec 2014 21:30:22 +0000 (16:30 -0500)]
Css: Remove non-functional unit test for negative margin

Thanks @MatthewMueller

Closes gh-1474
Ref gh-1918
(cherry picked from commit 30b3b33251abc38386b787c64494265177302b86)

9 years agoSupport: Re-organize browser order, add Safari 8
Michał Gołębiowski [Tue, 9 Dec 2014 20:08:25 +0000 (21:08 +0100)]
Support: Re-organize browser order, add Safari 8

Most browsers were put in order newest to oldest, Android was
treated differently; this has been fixed.

Also, browsers that share test results between different versions were
grouped together.

(refs 43faf6d1f922ba44a84c93f4ff2461d208b2bf48)

9 years agoCore: Simplify and speed up .each
Daniel Husar [Fri, 7 Feb 2014 10:30:13 +0000 (10:30 +0000)]
Core: Simplify and speed up .each

Closes gh-1510

(cherry picked from commit eeda11cdd6a69ec2ef4e9c1ed12b82a79910fda5)

9 years agoAttributes: Simplify the option val hook; backport a test from master
Michał Gołębiowski [Thu, 4 Dec 2014 13:43:35 +0000 (14:43 +0100)]
Attributes: Simplify the option val hook; backport a test from master

The hook is still defined; not using it could cause issues in IE<11.
Backport the test from the master branch.

Also, IE10 no longer throws when value not set but it still doesn't trim the
value. IE11 has all those issues fixed; support comments are updated.

(cherry-picked from f6302b0b53d61dfe1adbfaf6612be5cbced5bbc1)

Fixes gh-1902
Closes gh-1901

9 years agoMisc: Drop support for older browsers; update support comments 1837/head
Michał Gołębiowski [Mon, 3 Nov 2014 18:53:22 +0000 (19:53 +0100)]
Misc: Drop support for older browsers; update support comments

That includes IE<8, Opera 12.x, Firefox<29, Safari<6.0 and some hacks
for old Blackberry.

Fixes gh-1836
Fixes gh-1701
Refs gh-1815
Refs gh-1820

9 years agoManipulation: improve test for data-URI 1910/head
Oleg Gaidarenko [Sun, 7 Dec 2014 10:01:16 +0000 (13:01 +0300)]
Manipulation: improve test for data-URI

Some environments do not support data-uri in "src" attribute of script element.
Mitigate it with equality assertion

9 years agoEvent: Fully clean up events in unit test
Veaceslav Grimalschi [Wed, 8 Oct 2014 11:24:55 +0000 (15:24 +0400)]
Event: Fully clean up events in unit test

Closes gh-1685
(cherry picked from commit 4467ed606ab0a9b28ed495e682576910937fa5e0)

9 years agoCallbacks: Disabling a callback should prevent firing
Dave Methvin [Mon, 8 Dec 2014 01:51:04 +0000 (20:51 -0500)]
Callbacks: Disabling a callback should prevent firing

Thanks to @TheDistantSea for the report!

Fixes gh-1790
Closes gh-1643
(cherry picked from commit bc1cb122db30be034b3da84ee2546c86e2a5268f)

9 years agoManipulation: Plug an IE8 memory leak in noCloneEvent feature detect
Dave Methvin [Sat, 6 Dec 2014 21:51:50 +0000 (16:51 -0500)]
Manipulation: Plug an IE8 memory leak in noCloneEvent feature detect

Fixes gh-1840

This feature detect could be simplified now that the only supported browser
with this problem is IE8.

9 years agoTests: Tilt at a few style guide windmills
Richard Gibson [Sat, 6 Dec 2014 18:30:31 +0000 (13:30 -0500)]
Tests: Tilt at a few style guide windmills

Ref 3c13f4c6297566a71102c2362347987f6d6a636e

(cherry picked from commit 906caebb3f3bc542904a94846e778aa8d71c0575)

9 years agoTests: Accommodate page changes from the QUnit HTML reporter
Richard Gibson [Sat, 6 Dec 2014 18:23:40 +0000 (13:23 -0500)]
Tests: Accommodate page changes from the QUnit HTML reporter

Ref 6748ba349650353c7bed6eec201a3192f6b2cae1

(cherry picked from commit 3c13f4c6297566a71102c2362347987f6d6a636e)

9 years agoTests: Minor updates for QUnit 1.16 compatibility
Richard Gibson [Fri, 5 Dec 2014 17:28:40 +0000 (12:28 -0500)]
Tests: Minor updates for QUnit 1.16 compatibility

More to come later.

9 years agoTests: Update QUnit
Richard Gibson [Fri, 5 Dec 2014 14:49:02 +0000 (09:49 -0500)]
Tests: Update QUnit

(cherry picked from commit 6748ba349650353c7bed6eec201a3192f6b2cae1)

9 years agoBuild: Remove empty define({}) from build output
David Corbacho [Thu, 1 May 2014 10:21:34 +0000 (13:21 +0300)]
Build: Remove empty define({}) from build output

Fixes gh-1768
Closes gh-1569
(cherry picked from commit 2c1b556d98da597b0490f204e3561f656987f17c)

9 years agoCONTRIBUTING: Condense info and add directions to other resources
Dave Methvin [Thu, 4 Dec 2014 00:07:48 +0000 (19:07 -0500)]
CONTRIBUTING: Condense info and add directions to other resources

Fixes gh-1824
(cherry picked from commit bfd5dab2c6f387dce08e7c153ad0b3854ed971e4)

Conflicts:
CONTRIBUTING.md

9 years agoEvent: Copy detail property to jQuery.Event on native events
Dave Methvin [Wed, 3 Dec 2014 20:56:50 +0000 (15:56 -0500)]
Event: Copy detail property to jQuery.Event on native events

Fixes gh-1867
(cherry picked from commit d9ed166c865e91ccc8cef1ca282785c500ca2306)

Conflicts:
   test/unit/event.js

9 years agoCore: Throw an error on $("#") rather than returning 0-length collection
Dave Methvin [Wed, 3 Dec 2014 19:51:24 +0000 (14:51 -0500)]
Core: Throw an error on $("#") rather than returning 0-length collection

Closes gh-1682

Thanks @goob for the issue report!
(cherry picked from commit 80022c81ce4a07a232afd3c580b0977555a2daec)