]> source.dussan.org Git - jquery.git/log
jquery.git
8 years agoBuild: Don't lint every file in dist/ (#3245)
Michał Gołębiowski [Mon, 25 Jul 2016 23:22:53 +0000 (01:22 +0200)]
Build: Don't lint every file in dist/ (#3245)

Currently the "all" target for the eslint task includes way more than
the "dev" & "dist" targets combined and those 2 tasks are the one run in
`npm test`.

8 years agoBuild: use commitplease via husky, prohibit #NNNN github-style tickets
Alexander Lisianoi [Thu, 16 Jun 2016 09:42:26 +0000 (11:42 +0200)]
Build: use commitplease via husky, prohibit #NNNN github-style tickets

Closes gh-3176

8 years agoBuild: Update eslint config and fix associated errors
Oleg Gaidarenko [Fri, 15 Jul 2016 17:42:25 +0000 (21:42 +0400)]
Build: Update eslint config and fix associated errors

8 years agoBuild: Upgrade ESLint to 3.x again 3225/head
Michał Gołębiowski [Mon, 11 Jul 2016 17:22:48 +0000 (19:22 +0200)]
Build: Upgrade ESLint to 3.x again

ESLint is now skipped in Node older than 4.x so we're safe.

Refs gh-3222

8 years agoBuild: Skip running ESLint on Node.js 0.x
Michał Gołębiowski [Mon, 11 Jul 2016 17:21:57 +0000 (19:21 +0200)]
Build: Skip running ESLint on Node.js 0.x

ESLint 3.0 drops support for Node.js older than 4.x. To be able to update
to this version and yet not block our contributors from building jQuery
on older Node.js (at least until it's supported by upstream) this commit
makes ESLint skipped on older Node; a proper message is displayed then.

Fixes gh-3222

8 years agoBuild: Fix the regex removing the ESLint comment from wrapper.js
Michał Gołębiowski [Wed, 13 Jul 2016 08:49:13 +0000 (10:49 +0200)]
Build: Fix the regex removing the ESLint comment from wrapper.js

The new regex from after the switch from JSHint to ESLint wasn't catching
the ESLint pragma correctly.

Also, the spacing of the pragma comment was updated to match other comments.

8 years agoBuild: Don't use ESLint 3.x
Oleg Gaidarenko [Fri, 8 Jul 2016 23:05:15 +0000 (02:05 +0300)]
Build: Don't use ESLint 3.x

Since it is not supported by older node versions :/

8 years agoBuild: More ESLint related changes
Oleg Gaidarenko [Fri, 8 Jul 2016 21:46:58 +0000 (00:46 +0300)]
Build: More ESLint related changes

8 years agoBuild: Updating the master version to 3.1.1-pre.
Timmy Willison [Thu, 7 Jul 2016 21:46:08 +0000 (17:46 -0400)]
Build: Updating the master version to 3.1.1-pre.

8 years agoBuild: ignore cdn and slim files when linting
Timmy Willison [Thu, 7 Jul 2016 21:29:24 +0000 (17:29 -0400)]
Build: ignore cdn and slim files when linting

8 years agoBuild: Updating the master version to 3.1.0-pre.
Timmy Willison [Thu, 7 Jul 2016 19:46:40 +0000 (15:46 -0400)]
Build: Updating the master version to 3.1.0-pre.

8 years agoCore: Re-throw errors that happened in callbacks wrapped in jQuery ready 3210/head
Michał Gołębiowski [Wed, 29 Jun 2016 12:19:04 +0000 (14:19 +0200)]
Core: Re-throw errors that happened in callbacks wrapped in jQuery ready

Also, expose jQuery.readyException that allows to overwrite the default
ready error handler.

Fixes gh-3174
Closes gh-3210

8 years agoBuild: Improve ESLint configuration (#3188)
Oleg Gaidarenko [Wed, 22 Jun 2016 15:41:57 +0000 (19:41 +0400)]
Build: Improve ESLint configuration (#3188)

* Bump eslint-config-jquery package to 0.1.4 version

* Add subtask "dist" to "eslint" task and add it to the build task list

* Make gitignore globs more flexible for the "dist" folder

Fixes gh-3169

8 years agoBuild: ESLint details 3148/head
Oleg Gaidarenko [Tue, 10 May 2016 09:12:28 +0000 (12:12 +0300)]
Build: ESLint details

Use eslint pragmas, fix new errors, etc

Closes gh-3148

8 years agoTests: Move promise/A+ adapters for tests to dedicated folder
Oleg Gaidarenko [Sat, 11 Jun 2016 07:30:12 +0000 (10:30 +0300)]
Tests: Move promise/A+ adapters for tests to dedicated folder

8 years agoBuild: Switch from jscs+jshint to eslint
Oleg Gaidarenko [Tue, 10 May 2016 09:06:37 +0000 (12:06 +0300)]
Build: Switch from jscs+jshint to eslint

8 years agoBuild: Updating the master version to 3.0.1-pre.
Timmy Willison [Thu, 9 Jun 2016 18:33:16 +0000 (14:33 -0400)]
Build: Updating the master version to 3.0.1-pre.

8 years agoEvent: Add the most commonly used pointer event properties
Scott González [Wed, 8 Jun 2016 13:08:47 +0000 (09:08 -0400)]
Event: Add the most commonly used pointer event properties

Ref gh-3104
Close gh-3152

8 years agoDeferred: Propagate progress correctly from unwrapped promises 3150/head
Michał Gołębiowski [Wed, 8 Jun 2016 12:22:13 +0000 (14:22 +0200)]
Deferred: Propagate progress correctly from unwrapped promises

Progress parameters are now correctly propagated from a deferred to which
another deferred resolved unwrapping it.

Thanks to @gibson042 for the report and a clear description of the problem
and the needed fix.

Fixes gh-3062
Closes gh-3150

8 years agoAttributes: Avoid infinite recursion on non-lowercase attribute getters 3134/head
Michał Gołębiowski [Sun, 29 May 2016 20:24:28 +0000 (22:24 +0200)]
Attributes: Avoid infinite recursion on non-lowercase attribute getters

Attribute hooks are determined for the lowercase versions of attribute names
but this has not been reflected in the bool attribute hooks. The code that
temporarily removed a handler to avoid an infinite loop was removing an
incorrect handler causing stack overflow.

Fixes gh-3133
Refs gh-2914
Refs gh-2916
Closes gh-3134

8 years agoDocs: Fix an incorrect comment in the attributes module
Michał Gołębiowski [Sun, 29 May 2016 21:08:37 +0000 (23:08 +0200)]
Docs: Fix an incorrect comment in the attributes module

Attributes are no longer always treated as lowercase, although hooks for
them are. This commit fixes a no longer correct comment.

8 years agoTests: Remove side-effects of one attributes test
Michał Gołębiowski [Sun, 29 May 2016 20:50:28 +0000 (22:50 +0200)]
Tests: Remove side-effects of one attributes test

One test in the attribute module was overwriting jQuery.expr.attrHandle.checked
and wasn't restoring the original state after it finished. It started causing
issues for another checked-related test.

8 years agoEvent: Allow constructing a jQuery.Event without a target 3141/head
Dave Methvin [Thu, 2 Jun 2016 22:33:47 +0000 (18:33 -0400)]
Event: Allow constructing a jQuery.Event without a target

Fixes gh-3139
Closes gh-3140

8 years agoBuild: Drop testing on Node.js 5
Michał Gołębiowski [Sun, 29 May 2016 19:42:54 +0000 (21:42 +0200)]
Build: Drop testing on Node.js 5

Node.js 5's upstream support ends in about a month, there is not much point
in testing it when we're releasing a new major version of jQuery

8 years agoDocs: Use HTTPS URLs for jsfiddle & jsbin
Michał Gołębiowski [Fri, 20 May 2016 20:16:17 +0000 (22:16 +0200)]
Docs: Use HTTPS URLs for jsfiddle & jsbin

8 years agoDocs: Tweak formatting of ISSUE_TEMPLATE.md
Michał Gołębiowski [Fri, 20 May 2016 20:14:45 +0000 (22:14 +0200)]
Docs: Tweak formatting of ISSUE_TEMPLATE.md

8 years agoRelease: update AUTHORS.txt
Timmy Willison [Fri, 20 May 2016 18:16:33 +0000 (14:16 -0400)]
Release: update AUTHORS.txt

8 years agoEvents: don't execute native stop(Immediate)Propagation from simulation
Oleg Gaidarenko [Thu, 19 May 2016 17:56:39 +0000 (21:56 +0400)]
Events: don't execute native stop(Immediate)Propagation from simulation

In Firefox, called `stop(Immediate)Propagation` methods,
in capturing phase prevents receiving focus

Fixes gh-3111

8 years agoCSS: Remove units from a 0 width/height element
Christophe Tafani-Dereeper [Mon, 16 May 2016 12:44:45 +0000 (14:44 +0200)]
CSS: Remove units from a 0 width/height element

Close gh-3122

8 years agoRelease: remove extraneous files from dist during release
Timmy Willison [Mon, 9 May 2016 17:53:03 +0000 (13:53 -0400)]
Release: remove extraneous files from dist during release

Fixes gh-3094
Close gh-3116

8 years agoRelease: copy sizzle separately into an 'external' folder
Timmy Willison [Mon, 9 May 2016 15:57:31 +0000 (11:57 -0400)]
Release: copy sizzle separately into an 'external' folder

Fixes gh-2945

8 years agoDeferred: Give better stack diagnostics on exceptions
Dave Methvin [Wed, 11 May 2016 01:50:00 +0000 (21:50 -0400)]
Deferred: Give better stack diagnostics on exceptions

Ref gh-2736

The exception stack has the name of the immediately outer function where the
exception occurred, which can be very handy for tracing errors. Since we already
have the exception object we might as well use it.

8 years agoRelease: update AUTHORS.txt
Timmy Willison [Mon, 9 May 2016 18:17:01 +0000 (14:17 -0400)]
Release: update AUTHORS.txt

8 years agoEvent: Add touch event properties, eliminates need for a plugin
Dave Methvin [Thu, 5 May 2016 20:41:42 +0000 (16:41 -0400)]
Event: Add touch event properties, eliminates need for a plugin

Fixes gh-3104
Closes gh-3108

See https://github.com/aarongloege/jquery.touchHooks

Other properties are already present thanks to mouse events.

squash! Add targetTouches

8 years agoDeferred: Make jQuery.when synchronous when possible
Richard Gibson [Wed, 4 May 2016 19:30:24 +0000 (15:30 -0400)]
Deferred: Make jQuery.when synchronous when possible

Closes gh-3102
Fixes gh-3100
Closes gh-3105

8 years agoEvent: Cover invalid delegation selector edge cases
Richard Gibson [Sat, 7 May 2016 02:12:53 +0000 (22:12 -0400)]
Event: Cover invalid delegation selector edge cases

Ref 7fd36ea145a11d5896de6d064b546b1c57a83f34

8 years agoEvent: Evaluate delegate selectors at add time
Felipe Sateler [Sun, 1 May 2016 21:40:20 +0000 (18:40 -0300)]
Event: Evaluate delegate selectors at add time

This ensures that invalid selectors throw right away.

Fixes gh-3071
Closes gh-3097

8 years agoEvent: Remove pageX/pageY fill for event object
Dave Methvin [Thu, 5 May 2016 01:36:11 +0000 (21:36 -0400)]
Event: Remove pageX/pageY fill for event object

Fixes gh-3092
CLoses gh-3106

IE8 was the last major browser missing these.

8 years agoEvent: Remove fixHooks, propHooks; switch to ES5 getter with addProp
Jason Bedard [Fri, 1 Nov 2013 05:36:38 +0000 (22:36 -0700)]
Event: Remove fixHooks, propHooks; switch to ES5 getter with addProp

Fixes gh-3103
Fixes gh-1746
Closes gh-2860

- Removes the copy loop in jQuery.event.fix
- Avoids accessing properties such as client/offset/page/screen X/Y
  which may cause style recalc or layouts
- Simplifies adding property hooks to event object

8 years agoTests: Make the regex catching Safari 9.0/9.1 more resilient
Michał Gołębiowski [Mon, 2 May 2016 21:05:56 +0000 (23:05 +0200)]
Tests: Make the regex catching Safari 9.0/9.1 more resilient

The word boundary character will prevent iOS from being a false positive.

8 years agoTests: take Safari 9.1 into account
Michał Gołębiowski [Mon, 2 May 2016 20:49:17 +0000 (22:49 +0200)]
Tests: take Safari 9.1 into account

Safari 9.1 shares its support test results with Safari 9.0 but it's been
excluded from the regex catching Safari 9.0. This has been fixed.

8 years agoDeferred: Separate the two paths in jQuery.when
Richard Gibson [Fri, 15 Apr 2016 03:59:30 +0000 (23:59 -0400)]
Deferred: Separate the two paths in jQuery.when

Single- and no-argument calls act like Promise.resolve.
Multi-argument calls act like Promise.all.

Fixes gh-3029
Closes gh-3059

8 years agoAjax: Remove unnecessary use of jQuery.trim
Ralin Chimev [Fri, 29 Apr 2016 19:22:27 +0000 (22:22 +0300)]
Ajax: Remove unnecessary use of jQuery.trim

The subsequent .match already ignores leading/trailing space.

Ref gh-3003
Closes gh-3095

8 years agoBuild: Don't lint the built file in the husky precommit hook
Michał Gołębiowski [Fri, 29 Apr 2016 08:36:57 +0000 (10:36 +0200)]
Build: Don't lint the built file in the husky precommit hook

The husky Git precommit hook was linting not only the source but also the
built file. Normally it's expected, we want to run basic checks on what's
built but in the precommit hook we're not building the file so we might
be linting some previous, broken version.

Fixes gh-3091

8 years agoDocs: Add FAQ to reduce noise in issues 3088/head
Dave Methvin [Wed, 27 Apr 2016 23:47:50 +0000 (19:47 -0400)]
Docs: Add FAQ to reduce noise in issues

8 years agoRevert "Effects: Remove additional parameters of easings"
Oleg Gaidarenko [Wed, 27 Apr 2016 20:21:56 +0000 (23:21 +0300)]
Revert "Effects: Remove additional parameters of easings"

This reverts commit b7a7dea95f84d6d8e5a8186d4fb09a762baf79bb.

Fixes #3064

8 years agoDeferred: Provide explicit undefined context for jQuery.when raw casts
Richard Gibson [Wed, 27 Apr 2016 16:46:14 +0000 (12:46 -0400)]
Deferred: Provide explicit undefined context for jQuery.when raw casts

Fixes gh-3082
Closes gh-3084

8 years agoEvent: Make event dispatch optimizable by JavaScript engines
Damian Senn [Thu, 14 Jan 2016 20:24:43 +0000 (21:24 +0100)]
Event: Make event dispatch optimizable by JavaScript engines

Closes gh-2834

- Do not assign to function parameters
- Do not pass arguments object to other functions

8 years agoAjax: Ensure ajaxSettings.traditional is still honored
Dave Methvin [Tue, 26 Apr 2016 14:28:02 +0000 (10:28 -0400)]
Ajax: Ensure ajaxSettings.traditional is still honored

Fixes gh-3023
Closes gh-3081

Since .param() no longer looks at this setting we need unit tests
to ensure it is still honored by $.ajax().

8 years agoSerialize: .param - don't use ajaxSettings.traditional
Alexander K [Fri, 1 Apr 2016 14:50:28 +0000 (19:50 +0500)]
Serialize: .param - don't use ajaxSettings.traditional

Ref gh-3023
Closes gh-3030

8 years agoBuild: Strip the strict-mode related comment in exports/global.js 3078/head
Michał Gołębiowski [Mon, 25 Apr 2016 20:35:15 +0000 (22:35 +0200)]
Build: Strip the strict-mode related comment in exports/global.js

The comment (& the JSHint pragma) doesn't make sense in the context of the
full built file.

Closes gh-3078

8 years agoBuild: Strip excessive "use strict" pragmas when building
Michał Gołębiowski [Mon, 25 Apr 2016 20:34:29 +0000 (22:34 +0200)]
Build: Strip excessive "use strict" pragmas when building

Fixes gh-3077

8 years agoBuild: test on Node.js 6
Michał Gołębiowski [Tue, 26 Apr 2016 20:44:11 +0000 (22:44 +0200)]
Build: test on Node.js 6

8 years agoCSS: Don't workaround the IE 11 iframe-in-fullscreen sizing issues
Michał Gołębiowski [Tue, 26 Apr 2016 19:18:53 +0000 (21:18 +0200)]
CSS: Don't workaround the IE 11 iframe-in-fullscreen sizing issues

IE 11 used to have an issue where if an element inside an iframe was put
in fullscreen mode, the element dimensions started being 100 times too small;
we've added a workaround that would multiply them by 100. However, the IE 11
issue has been unexpectedly fixed and since our detection was really detecting
the browser and not a bug, we've started breaking the browser instead of fixing
it.

Since there's no good way to detect if the bug exists, we have to back the
workaround out completely.

Fixes gh-3041
Refs gh-1764
Refs gh-2401
Refs 90d828bad0d6d318d73d6cf6209d9dc7ac13878c

8 years agoTests: Weaken sync-assumption from jQuery.when to jQuery.ready.then
Richard Gibson [Tue, 26 Apr 2016 14:14:53 +0000 (10:14 -0400)]
Tests: Weaken sync-assumption from jQuery.when to jQuery.ready.then

8 years agoBuild: Put all AMD modules in "src/" in strict mode
Michał Gołębiowski [Mon, 25 Apr 2016 18:25:08 +0000 (20:25 +0200)]
Build: Put all AMD modules in "src/" in strict mode

Fixes gh-3073

8 years agoBuild: Fix grunt-compare-size branch-tip storage
Richard Gibson [Sun, 24 Apr 2016 01:52:00 +0000 (21:52 -0400)]
Build: Fix grunt-compare-size branch-tip storage

8 years agoBuild: A more modest block-level function proposal
Richard Gibson [Sun, 24 Apr 2016 02:06:52 +0000 (22:06 -0400)]
Build: A more modest block-level function proposal

This reverts commit fa610da68440530e73bba296a1f982f94dfeac99.

8 years agoBuild: Update dependencies
Richard Gibson [Sun, 24 Apr 2016 01:52:00 +0000 (21:52 -0400)]
Build: Update dependencies

Ref bc39338d3545522e31b68c50caa2a7d719354a70

8 years agoBuild: Revert grunt from 1.0.1 to 0.4.5
Michał Gołębiowski [Sat, 23 Apr 2016 18:53:09 +0000 (20:53 +0200)]
Build: Revert grunt from 1.0.1 to 0.4.5

grunt-compare-size specifies grunt ">= 0.4.0 < 0.5" in its peerDependencies
which makes `npm install` break with npm <3.

Refs rwaldron/grunt-compare-size#25

8 years agoBuild: Workaround strict mode violations caused by UglifyJS
Michał Gołębiowski [Sat, 23 Apr 2016 18:30:00 +0000 (20:30 +0200)]
Build: Workaround strict mode violations caused by UglifyJS

This commit increases the gzipped size by 90 bytes so a better solution
is needed but, at the same time, it disables the very optimizations
that are causing strict mode violations in Firefox 45, Safari 9 & IE 10.

Refs 76084372c29a59b3fa790ea4d2687f0767514999
Refs mishoo/UglifyJS2#1052

8 years agoBuild: Update dependencies (except jsdom)
Michał Gołębiowski [Sat, 23 Apr 2016 17:25:47 +0000 (19:25 +0200)]
Build: Update dependencies (except jsdom)

8 years agoOffset: Resolve strict mode ClientRect "no setter" exception
Richard Gibson [Sat, 23 Apr 2016 04:31:28 +0000 (00:31 -0400)]
Offset: Resolve strict mode ClientRect "no setter" exception

8 years agoDeferred: Remove default callback context
Richard Gibson [Fri, 15 Apr 2016 21:13:59 +0000 (17:13 -0400)]
Deferred: Remove default callback context

Employs strict mode to simplify Deferred callback context handling.

Fixes gh-3060
Closes gh-3061

8 years agoMisc: Add issue and pull request templates
Dave Methvin [Wed, 20 Apr 2016 23:31:55 +0000 (19:31 -0400)]
Misc: Add issue and pull request templates

Fixes gh-2929
Closes gh-3070

8 years agoTests: Refactor testIframe() to make it DRYer and more consistent
Dave Methvin [Sun, 10 Apr 2016 19:42:44 +0000 (15:42 -0400)]
Tests: Refactor testIframe() to make it DRYer and more consistent

Ref gh-3040
Closes gh-3049

8 years agoTests: Make iframe tests wait after checking isReady
Dave Methvin [Fri, 8 Apr 2016 16:00:17 +0000 (12:00 -0400)]
Tests: Make iframe tests wait after checking isReady

Ref gh-3040

8 years agoCSS: Toggle detached elements as visible unless they have display: none
Richard Gibson [Mon, 4 Apr 2016 13:58:14 +0000 (09:58 -0400)]
CSS: Toggle detached elements as visible unless they have display: none

Fixes gh-2863
Closes gh-3037

8 years agoCore: add test for `jQuery.isPlainObject(localStorage)`
Oleg Gaidarenko [Fri, 8 Apr 2016 10:51:32 +0000 (13:51 +0300)]
Core: add test for `jQuery.isPlainObject(localStorage)`

Ref gh-3045

8 years agoSerialize: Reduce size
Richard Gibson [Tue, 5 Apr 2016 14:54:37 +0000 (10:54 -0400)]
Serialize: Reduce size

Ref 9fdbdd393a0f0ebdcd837cf102878c8b45860c3b

8 years agoSerialize: Treat literal and function-returned null/undefined the same
Joe Trumbull [Thu, 17 Mar 2016 14:06:11 +0000 (10:06 -0400)]
Serialize: Treat literal and function-returned null/undefined the same

Fixes gh-3005

Closes gh-3007

8 years agoAjax: execute jQuery#load callback with correct context
Oleg Gaidarenko [Mon, 4 Apr 2016 19:42:01 +0000 (22:42 +0300)]
Ajax: execute jQuery#load callback with correct context

Thanks @blq (Fredrik Blomqvist)

Fixes gh-3035
Close gh-3039

8 years agoTests: do not run IE9 effect tests if inside testswarm
Oleg Gaidarenko [Sun, 3 Apr 2016 22:07:14 +0000 (01:07 +0300)]
Tests: do not run IE9 effect tests if inside testswarm

That test doesn't work properly in such environment

Ref e04e246552c27e872bbf4ae00b55def02b197189
Fixes gh-2888
Closes gh-3034

8 years agoCore: Simplify isPlainObject
Richard Gibson [Mon, 14 Mar 2016 20:46:51 +0000 (16:46 -0400)]
Core: Simplify isPlainObject

Fixes gh-2986
Close gh-2998

8 years agoCore: set the base href of the context in parseHTML
Timmy Willison [Mon, 28 Mar 2016 14:32:15 +0000 (10:32 -0400)]
Core: set the base href of the context in parseHTML

Fixes gh-2965
Close gh-3022

8 years agoCore: implement ready without Deferred
Timmy Willison [Tue, 19 Jan 2016 19:47:52 +0000 (14:47 -0500)]
Core: implement ready without Deferred

- Make jQuery.ready promise-compatible
- Gives up sync guarantee for post-ready callbacks

Fixes gh-1778
Fixes gh-1823
Close gh-2891

8 years agoDocs: Update support comments to follow the new syntax 3014/head
Michał Gołębiowski [Wed, 23 Mar 2016 14:03:06 +0000 (15:03 +0100)]
Docs: Update support comments to follow the new syntax

The changes follow the spec proposed in:
https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197

8 years agoDocs: Update support comments related to IE
Michał Gołębiowski [Wed, 23 Mar 2016 14:02:26 +0000 (15:02 +0100)]
Docs: Update support comments related to IE

All support comments were checked for Edge applicability.

8 years agoDocs:Tests: Remove legacy code & add support comments where needed
Michał Gołębiowski [Wed, 23 Mar 2016 13:16:38 +0000 (14:16 +0100)]
Docs:Tests: Remove legacy code & add support comments where needed

This commits backports some changes done in the patch to the then-existing
compat branch that removed support for old browsers and added some support
comments.

Refs 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278

8 years agoSupport: improve support properties computation
Oleg Gaidarenko [Mon, 28 Mar 2016 13:11:39 +0000 (16:11 +0300)]
Support: improve support properties computation

* Remove div from the memory if it is not needed anymore

* Make `computeStyleTests` method a singleton

Fixes gh-3018
Closes gh-3021

8 years agoBuild: add "Support" module to commitplease list
Oleg Gaidarenko [Mon, 28 Mar 2016 13:11:10 +0000 (16:11 +0300)]
Build: add "Support" module to commitplease list

8 years agoAttributes: strip/collapse whitespace for set values on selects
Timmy Willison [Tue, 15 Mar 2016 22:15:02 +0000 (18:15 -0400)]
Attributes: strip/collapse whitespace for set values on selects

Fixes gh-2978
Close gh-3002

8 years agoBuild: try insight package to get info about custom builds
Oleg Gaidarenko [Sat, 12 Mar 2016 14:48:37 +0000 (17:48 +0300)]
Build: try insight package to get info about custom builds

Fixes gh-2890
Closes gh-2988

8 years agoCore: Restore 1.x isPlainObject constructor checks
Richard Gibson [Fri, 11 Mar 2016 15:48:00 +0000 (10:48 -0500)]
Core: Restore 1.x isPlainObject constructor checks

- Guard isPlainObject against inherited scalar constructors

Fixes gh-2982
Close gh-2985

8 years agoRelease: set version in source for releases
Timmy Willison [Wed, 9 Mar 2016 17:06:17 +0000 (12:06 -0500)]
Release: set version in source for releases

Fixes gh-2979
Close gh-2981

8 years agoTests: add additional test for jQuery.isPlainObject 2992/head 2993/head 2994/head
Oleg Gaidarenko [Sat, 12 Mar 2016 13:40:41 +0000 (16:40 +0300)]
Tests: add additional test for jQuery.isPlainObject

Ref 00575d4d8c7421c5119f181009374ff2e7736127
Also see discussion in
https://github.com/jquery/jquery/pull/2970#discussion_r54970557

8 years agoTests: Restrict "p > * > *" selection in selector.js to #qunit-fixture
Alexander Lisianoi [Sat, 5 Mar 2016 09:48:52 +0000 (10:48 +0100)]
Tests: Restrict "p > * > *" selection in selector.js to #qunit-fixture

Add `match` and `QUnit.assert.selectInFixture` functions that
mimic `QUnit.assert.t`.

Ref gh-2880
Closes gh-2973

8 years agoRelease: update AUTHORS.txt
Timmy Willison [Wed, 9 Mar 2016 17:13:21 +0000 (12:13 -0500)]
Release: update AUTHORS.txt

8 years agoBuild: combine intro and outro
Timmy Willison [Mon, 7 Mar 2016 16:57:35 +0000 (11:57 -0500)]
Build: combine intro and outro

Fixes gh-2975
Close gh-2976

8 years agoDocs:Tests: Remove obsolete code from tests, update support comments 2949/head
Michał Gołębiowski [Thu, 25 Feb 2016 00:18:55 +0000 (01:18 +0100)]
Docs:Tests: Remove obsolete code from tests, update support comments

Support comments that were lacking the final IE/Edge version that exhibits
the bug were checked & updated. Links to the Chromium bug tracker were updated.
Code in tests related to unsupported browsers (like Android 2.3 in non-basic
tests) has been removed.

Fixes gh-2868
Closes gh-2949

8 years agoAttributes: remove redundant parent check
Timmy Willison [Mon, 7 Mar 2016 16:29:39 +0000 (11:29 -0500)]
Attributes: remove redundant parent check

8 years agoSelector: filters -> pseudos
Timmy Willison [Thu, 3 Mar 2016 20:33:57 +0000 (15:33 -0500)]
Selector: filters -> pseudos

Fixes gh-2073
Close gh-2969

8 years agoCore: restore enumeration behavior in isPlainObject
Timmy Willison [Thu, 3 Mar 2016 23:29:45 +0000 (18:29 -0500)]
Core: restore enumeration behavior in isPlainObject

Fixes gh-2968
Close gh-2970

8 years agoBuild: update husky dependency
Oleg Gaidarenko [Fri, 4 Mar 2016 18:41:05 +0000 (21:41 +0300)]
Build: update husky dependency

Fixes gh-2915

8 years agoBuild: update grunt-contrib-jshint and grunt-jscs while we at it
Oleg Gaidarenko [Thu, 3 Mar 2016 21:49:58 +0000 (00:49 +0300)]
Build: update grunt-contrib-jshint and grunt-jscs while we at it

8 years agoCore: Deprecate jQuery.parseJSON
Michał Gołębiowski [Wed, 24 Feb 2016 22:47:19 +0000 (23:47 +0100)]
Core: Deprecate jQuery.parseJSON

Fixes gh-2800
Closes gh-2948

8 years agoRelease: include external/sizzle in releases
Timmy Willison [Wed, 24 Feb 2016 15:20:22 +0000 (10:20 -0500)]
Release: include external/sizzle in releases

Ref gh-2945

8 years agoDimensions: Add tests for negative borders & paddings
Vitaliy Terziev [Mon, 25 Jan 2016 23:32:15 +0000 (01:32 +0200)]
Dimensions: Add tests for negative borders & paddings

Closes gh-2869

8 years agoTests: limit selection to #qunit-fixture in attributes.js
Alexander Lisianoi [Sun, 14 Feb 2016 21:18:21 +0000 (00:18 +0300)]
Tests: limit selection to #qunit-fixture in attributes.js

Ref gh-2880
Close gh-2921

8 years agoTests: fix typos
William Robinet [Wed, 17 Feb 2016 15:34:24 +0000 (16:34 +0100)]
Tests: fix typos

Closes gh-2927