]> source.dussan.org Git - jquery.git/log
jquery.git
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

8 years agoAttributes: remove the lower-casing logic for attribute names
Michał Gołębiowski [Wed, 10 Feb 2016 11:32:38 +0000 (12:32 +0100)]
Attributes: remove the lower-casing logic for attribute names

jQuery used to lower-case the attribute names passed to the .attr setter
to workaround an old IE issue. This is no longer in jQuery 3.0 and
removing it may even "accidentally" make this API sort-of work on SVGs
(see gh-2910) so why not.

Manual lowercasing had to be added to the place where the proper
attrHook is retrieved so that it works regardless of the casing of the
provided name. A regular `toLowerCase()` is enough there as those few
attributes don't contain any non-ASCII characters.

Fixes gh-2914
Closes gh-2916

8 years agoBuild: add `npm-debug.log` to `.gitignore`
Oleg Gaidarenko [Sat, 13 Feb 2016 19:35:59 +0000 (22:35 +0300)]
Build: add `npm-debug.log` to `.gitignore`

8 years agoBuild: remove npm-debug file
Oleg Gaidarenko [Sat, 13 Feb 2016 18:37:11 +0000 (21:37 +0300)]
Build: remove npm-debug file

8 years agoTests: use `jQuery` variable instead of `$`
Oleg Gaidarenko [Sat, 13 Feb 2016 18:14:46 +0000 (21:14 +0300)]
Tests: use `jQuery` variable instead of `$`

For some reason that works with `amd` but not with builded version

Fixes gh-2909

8 years agoBuild: simplify and correct .editorconfig
Oleg Gaidarenko [Thu, 11 Feb 2016 19:49:19 +0000 (22:49 +0300)]
Build: simplify and correct .editorconfig

8 years agoTests: test element position outside view
Oleg Gaidarenko [Thu, 11 Feb 2016 19:31:49 +0000 (22:31 +0300)]
Tests: test element position outside view

Ref 49833f7795d665ff1d543c4f71f29fca95b567e9
Ref gh-2828
Ref gh-2836
Fixes gh-2909

8 years agoBuild: use hard-coded path to sizzle in selector-sizzle
Timmy Willison [Wed, 10 Feb 2016 21:47:25 +0000 (13:47 -0800)]
Build: use hard-coded path to sizzle in selector-sizzle

Fixes gh-2898

8 years agoBuild: Drop testing on jsdom with Node 0.10 & 0.12
Michał Gołębiowski [Wed, 10 Feb 2016 11:57:49 +0000 (12:57 +0100)]
Build: Drop testing on jsdom with Node 0.10 & 0.12

Fixes gh-2841

8 years agoBuild: Move the stripJSONComments variable to the function that uses it
Michał Gołębiowski [Wed, 10 Feb 2016 11:54:25 +0000 (12:54 +0100)]
Build: Move the stripJSONComments variable to the function that uses it

8 years agoBuild: Stop removing the JSHint onevar option, it's no longer there
Michał Gołębiowski [Tue, 9 Feb 2016 09:18:19 +0000 (10:18 +0100)]
Build: Stop removing the JSHint onevar option, it's no longer there

8 years agoTests: account for new offset tests
Oleg Gaidarenko [Mon, 8 Feb 2016 21:27:03 +0000 (00:27 +0300)]
Tests: account for new offset tests

Ref 49833f7795d665ff1d543c4f71f29fca95b567e9

8 years agoRevert "Offset: account for scroll when calculating position"
Oleg Gaidarenko [Mon, 8 Feb 2016 21:17:25 +0000 (00:17 +0300)]
Revert "Offset: account for scroll when calculating position"

This reverts commit 2d715940b9b6fdeed005cd006c8bf63951cf7fb2.

This commit provoked new issues: gh-2836, gh-2828.

At the meeting, we decided to revert offending commit
(in all three branches - 2.2-stable, 1.12-stable and master)
and tackle this issue in 3.x.

Fixes gh-2828

8 years agoAttributes: Add a support comment & fix a link @ tabIndex hook 2903/head
Michał Gołębiowski [Wed, 3 Feb 2016 10:49:19 +0000 (11:49 +0100)]
Attributes: Add a support comment & fix a link @ tabIndex hook

Ref gh-2664

8 years agoTests: fix another traverse test
Oleg Gaidarenko [Sun, 31 Jan 2016 09:09:48 +0000 (12:09 +0300)]
Tests: fix another traverse test

Tricky test - if isolated, was executed fine, but falling
if runned with other tests

Ref b97c8d30c5aedace75dc17056d429f28e41b20c1

8 years agoTests:Build: update qunit and fix incorrect test
Oleg Gaidarenko [Fri, 29 Jan 2016 18:07:28 +0000 (21:07 +0300)]
Tests:Build: update qunit and fix incorrect test

* Update QUnit to the latest version (1.20.0)

* Corrected test was dependent on QUnit UI, which is always a bad idea

8 years agoBuild: add scripts.precommit script
Oleg Gaidarenko [Thu, 28 Jan 2016 23:41:04 +0000 (02:41 +0300)]
Build: add scripts.precommit script

It was losted while merging gh-2881

8 years agoBuild: run linters on git-commit
Jha Naman [Thu, 28 Jan 2016 23:29:49 +0000 (02:29 +0300)]
Build: run linters on git-commit

Fixes gh-2577
Closes gh-2881

8 years agoSelector: add jQuery.escapeSelector
Timmy Willison [Wed, 27 Jan 2016 17:57:04 +0000 (12:57 -0500)]
Selector: add jQuery.escapeSelector

Fixes gh-1761
Close gh-2878

8 years agoCSS: Add test for gh-2867
Timmy Willison [Wed, 27 Jan 2016 16:36:34 +0000 (11:36 -0500)]
CSS: Add test for gh-2867

8 years agoCSS: Make sure elem.ownerDocument.defaultView is not null
Todor Prikumov [Tue, 26 Jan 2016 09:58:34 +0000 (11:58 +0200)]
CSS: Make sure elem.ownerDocument.defaultView is not null

Fixes gh-2866
Close gh-2867

8 years agoDocs: use https where possible
Bernhard M. Wiedemann [Wed, 27 Jan 2016 08:18:40 +0000 (09:18 +0100)]
Docs: use https where possible

Close gh-2875

8 years agoBuild: switch from win-spawn to cross-spawn
Michał Gołębiowski [Wed, 27 Jan 2016 12:02:58 +0000 (13:02 +0100)]
Build: switch from win-spawn to cross-spawn

The win-spawn package is deprecated.

Refs gh-2877
Refs 67c96a59f5af9e8404b3f904028e1c730d647498

8 years agoBuild: Update npm deps, fix Sinon npmcopy config
Michał Gołębiowski [Wed, 27 Jan 2016 11:54:39 +0000 (12:54 +0100)]
Build: Update npm deps, fix Sinon npmcopy config

All deps were updated except:
 * jsdom - tests using a Symbol polyfill are hacky and break with newer jsdom;
   we need to re-do them properly first
 * qunitjs - versions 1.19.0 & 1.20.0 introduce race conditions to the tests,
   making the fail randomly

Those two packages will be updated once issues related to them get resolved.

Fixes gh-2877

8 years agoBuild: Add .npmrc with save-exact=true
Michał Gołębiowski [Wed, 27 Jan 2016 11:26:52 +0000 (12:26 +0100)]
Build: Add .npmrc with save-exact=true

This makes commands like `npm install package --save-dev` always get saved
to package.json as a pinned version and not as a `^`-delimited range.

8 years agoBuild: enable JSCS for test/unit/support.js, fix styling issues
Michał Gołębiowski [Wed, 27 Jan 2016 11:13:32 +0000 (12:13 +0100)]
Build: enable JSCS for test/unit/support.js, fix styling issues