]> source.dussan.org Git - jquery.git/log
jquery.git
10 years agoReadme: updating QUnit information
Leonardo Balter [Wed, 22 Jan 2014 03:47:54 +0000 (01:47 -0200)]
Readme: updating QUnit information

updates QUnit reference site and method naming.

Closes gh-1493
(cherry picked from commit 594687abdcd8427df1face9466ebff7f04b36fc6)

10 years agoAMD: Note on AMD best practices
S. Andrew Sheppard [Thu, 9 Jan 2014 21:27:18 +0000 (15:27 -0600)]
AMD: Note on AMD best practices

Fixes #14687
Closes gh-1478
(cherry picked from commit 19220c0f29fa60d80a2beb76f048ffc8b972ba35)

Conflicts:
AUTHORS.txt

10 years agoCore: Bump timeouts to stabilize doc ready test
Michał Gołębiowski [Thu, 13 Mar 2014 02:26:27 +0000 (03:26 +0100)]
Core: Bump timeouts to stabilize doc ready test

The "document ready when jQuery loaded asynchronously" test fails all the time
in iOS7 and sometimes in other browsers. Bumping the timeouts *might* help
these other browsers to be less flakey here.

(cherry-picked from 854d242db457e3191e3ca1f2a366f6c981a12fbc)

10 years agoEvent: Call underlying stopImmediatePropagation when present
Dave Methvin [Thu, 6 Mar 2014 03:46:23 +0000 (22:46 -0500)]
Event: Call underlying stopImmediatePropagation when present

Fixes #13997
(cherry picked from commit 6a89db86ed817f6a7498076e2a06b90f9fce0831)

10 years agoCore: Add test for jQuery.ready.promise fallback load
Michał Gołębiowski [Thu, 13 Mar 2014 01:18:29 +0000 (02:18 +0100)]
Core: Add test for jQuery.ready.promise fallback load

Fix #13655
Close gh-1209
Ref 32b066d3805a48f8c8312562ed52a1b5910b1d85

10 years agoSupport: Make the support matrix for iOS 6 match iOS 7 as well
Michał Gołębiowski [Thu, 13 Mar 2014 00:48:35 +0000 (01:48 +0100)]
Support: Make the support matrix for iOS 6 match iOS 7 as well

(cherry-picked from 26ce21786252981563e49e91a85b3e0bfa16c3e3)

10 years agoBuild: Fix testswarm task, use API correctly
Jörn Zaefferer [Wed, 12 Mar 2014 10:08:16 +0000 (11:08 +0100)]
Build: Fix testswarm task, use API correctly

(cherry-picked from 22c515c6717efe46685b43215208aa4e5648fbc8)

10 years agoBuild: Allow to specify timeout in the testswarm task
Michał Gołębiowski [Tue, 11 Mar 2014 20:12:39 +0000 (21:12 +0100)]
Build: Allow to specify timeout in the testswarm task

(cherry-picked from a81dbc4ed82bc38b1ac5f6a8242e044232ea1594)

10 years agoBuild: Make it possible to change browserSets in the testswarm task
Michał Gołębiowski [Mon, 10 Mar 2014 19:37:11 +0000 (20:37 +0100)]
Build: Make it possible to change browserSets in the testswarm task

(cherry-picked from 14872941f9de78e7436e58ac1f03a4b2d5aa34e8)

10 years agoCss: Fix tests
Michał Gołębiowski [Mon, 10 Mar 2014 18:53:50 +0000 (19:53 +0100)]
Css: Fix tests

It's not easy to find a CSS property that is implemented even in
ancient browsers and that returns a consistent result among browsers
when passed through .css(). color didn't work since Firefox normalizes
it an empty value to rgb(0, 0, 0).

(cherry-picked from 0c12cb3910c446960a274fb0eab11b8830bed71f)

10 years agoSupport: Simplify the box-sizing test 1529/head
Michał Gołębiowski [Tue, 4 Mar 2014 22:49:09 +0000 (23:49 +0100)]
Support: Simplify the box-sizing test

Don't require body in the support.boxSizing test.

10 years agoCss: Revert 24e587929f62428e1959b10aace6dc4fd65ab397
Michał Gołębiowski [Sun, 9 Mar 2014 23:59:14 +0000 (00:59 +0100)]
Css: Revert 24e587929f62428e1959b10aace6dc4fd65ab397

The workaround to be able to change !important styles broke the browser
keeping the old CSS value if the new one was rejected. Patching it would
involve a significant perf hit (~33%) so the initial patch needs to be
reverted instead.

Tests by m_gol & gibson042.

(cherry-picked from 10e654218a65ec9a0ffc875137cea945389c69f1)

Fixes #14836
Closes gh-1532

10 years agoAjax, Effects: Disable Chrome 31 workarounds
Michał Gołębiowski [Mon, 10 Mar 2014 14:03:03 +0000 (15:03 +0100)]
Ajax, Effects: Disable Chrome 31 workarounds

10 years agoBuild: Fix AMD option for custom builds
Timmy Willison [Fri, 7 Mar 2014 14:55:26 +0000 (09:55 -0500)]
Build: Fix AMD option for custom builds

Fixes #14859

10 years agoAjax: Use two-arg form of .slice() for old IE
Dave Methvin [Wed, 5 Mar 2014 02:44:57 +0000 (21:44 -0500)]
Ajax: Use two-arg form of .slice() for old IE

Followup to a4b9bc57, #14773

10 years agoCore: Do not run window.onready when ready
Dave Methvin [Tue, 4 Mar 2014 03:04:23 +0000 (22:04 -0500)]
Core: Do not run window.onready when ready

Fixes #14802
(cherry picked from commit 2df1aad6a1c9376c2a477eba26ee992113ed1c23)

10 years agoCSS: Return values should be numbers
Dave Methvin [Tue, 4 Mar 2014 01:55:30 +0000 (20:55 -0500)]
CSS: Return values should be numbers

Fixes #14792
(cherry picked from commit f4b37d89820535d6c7503925aa8872645681a865)

10 years agoEvent: Allow triggerHandler(beforeunload)
Dave Methvin [Tue, 4 Mar 2014 03:43:51 +0000 (22:43 -0500)]
Event: Allow triggerHandler(beforeunload)

Fixes #14791
(cherry picked from commit 06adf7c95d93507908181995a9ea15fe2729595a)

Conflicts:
src/event.js

10 years agoAjax: .load() should trim its selector
Dave Methvin [Tue, 4 Mar 2014 02:37:56 +0000 (21:37 -0500)]
Ajax: .load() should trim its selector

Fixes #14773
(cherry picked from commit 3a68c114e3a30af86dc261c9d62ce2ae4144d420)

Conflicts:
src/ajax/load.js

10 years agoCore: Arrays like [42] should fail .isNumeric()
Dave Methvin [Tue, 4 Mar 2014 03:18:50 +0000 (22:18 -0500)]
Core: Arrays like [42] should fail .isNumeric()

Fixes #14179
(cherry picked from commit 10efa1f5b44046aab6bcc8423322a41923faa290)

10 years agoCore: Remove native String#trim usage to save size
Michał Gołębiowski [Tue, 4 Mar 2014 22:15:12 +0000 (23:15 +0100)]
Core: Remove native String#trim usage to save size

(cherry-picked from 279913c71b63da721fa2f118cdce150effbf773e)

Fixes #14794

10 years agoSupport: Reduce size via code consolidation and minification awareness
Richard Gibson [Fri, 14 Feb 2014 17:21:03 +0000 (09:21 -0800)]
Support: Reduce size via code consolidation and minification awareness

Ref badcd1b6f301e6253405f17759c1270549a34e12
Closes gh-1518

10 years agoBower: stop ignoring yourself, bower
Timmy Willison [Wed, 19 Feb 2014 22:57:34 +0000 (17:57 -0500)]
Bower: stop ignoring yourself, bower

Ref #14798
Ref gh-1516
Ref gh-1338

10 years agoBower: add main property, move Sizzle to devDependencies, add license property
Timmy Willison [Wed, 19 Feb 2014 22:25:00 +0000 (17:25 -0500)]
Bower: add main property, move Sizzle to devDependencies, add license property

Fixes #14798
Close gh-1516
Ref gh-1338

Conflicts:
bower.json

10 years agoEffects: Don't check fill-opacity in Android 2.3, it's not supported
Michał Gołębiowski [Fri, 14 Feb 2014 00:13:15 +0000 (16:13 -0800)]
Effects: Don't check fill-opacity in Android 2.3, it's not supported

(cherry-picked from 70ac4485f30633074696fa28ca29b0325459f228)

10 years agoEvent: Blacklist the onbeforeunload test in Android 2.3
Michał Gołębiowski [Fri, 14 Feb 2014 00:01:43 +0000 (16:01 -0800)]
Event: Blacklist the onbeforeunload test in Android 2.3

Similarly to iOS, Android 2.3 has the onbeforeunload property on window
but doesn't support the event. This commit blacklists the test there as well.

(cherry-picked from 6d2ab64df7bdda087e79deaa53db969fa6f2cd92)

10 years agoCss: Don't check fill-opacity in Android 2.3, it's not supported
Michał Gołębiowski [Fri, 14 Feb 2014 00:01:09 +0000 (16:01 -0800)]
Css: Don't check fill-opacity in Android 2.3, it's not supported

(cherry-picked from de75b3cc626829c3478a8a6d59dddc948d348b41)

10 years agoSupport: Skip style-based tests when element.style is undefined
Richard Gibson [Thu, 13 Feb 2014 22:51:57 +0000 (14:51 -0800)]
Support: Skip style-based tests when element.style is undefined

Fixes #14785
Ref #13754
Ref badcd1b6f301e6253405f17759c1270549a34e12

10 years agoCore: Correct support comments for String.prototype.trim
Michał Gołębiowski [Thu, 13 Feb 2014 22:49:40 +0000 (14:49 -0800)]
Core: Correct support comments for String.prototype.trim

10 years agoDocs: Remove the note about consequences of excluding Sizzle from README
Michał Gołębiowski [Wed, 12 Feb 2014 23:40:56 +0000 (15:40 -0800)]
Docs: Remove the note about consequences of excluding Sizzle from README

10 years agoDocs: Add support comments for prefixed box-sizing
Michał Gołębiowski [Wed, 5 Feb 2014 14:59:38 +0000 (15:59 +0100)]
Docs: Add support comments for prefixed box-sizing

10 years agoBuild: Upgrade QUnit to 1.14.0
Michał Gołębiowski [Wed, 5 Feb 2014 14:47:03 +0000 (15:47 +0100)]
Build: Upgrade QUnit to 1.14.0

(cherry-picked from 95b21c6ec2790d0d051cdfe95d73148d7c385d68)

10 years agoSelector: update Sizzle
Michał Gołębiowski [Wed, 5 Feb 2014 14:10:22 +0000 (15:10 +0100)]
Selector: update Sizzle

(cherry-picked from a74ad04bc9c4c7203303b2547e94f1cc53c2a460)

10 years agoBuild: Switch to explicit dependencies versions in bower.json
Michał Gołębiowski [Sun, 2 Feb 2014 21:17:23 +0000 (22:17 +0100)]
Build: Switch to explicit dependencies versions in bower.json

(cherry-picked from cd4e25e991898bf07ce82fe4ab3d60c32b4a5fc9)

10 years agoBuild: Specify browserSets for TestSwarm directly
Michał Gołębiowski [Mon, 27 Jan 2014 21:02:30 +0000 (22:02 +0100)]
Build: Specify browserSets for TestSwarm directly

10 years agoSupport: Add iOS6 support tests results
Michał Gołębiowski [Mon, 27 Jan 2014 20:26:06 +0000 (21:26 +0100)]
Support: Add iOS6 support tests results

10 years agoCss: Document reliableMarginRight is needed for Android 2.3
Michał Gołębiowski [Mon, 27 Jan 2014 18:10:18 +0000 (19:10 +0100)]
Css: Document reliableMarginRight is needed for Android 2.3

10 years agoTests: Blacklist beforeunload test in iOS
Michał Gołębiowski [Mon, 27 Jan 2014 17:55:53 +0000 (18:55 +0100)]
Tests: Blacklist beforeunload test in iOS

iOS has the window.onbeforeunload field but doesn't support the beforeunload
handler making it impossible to feature-detect the support.

(cherry-picked from 988d99ad278c2c9dc16c68f86bddc4df99dcd928)

Fixes #14717
Closes gh-1496

10 years agoBuild: Remove obsolete UglifyJS workaround
Michał Gołębiowski [Sun, 26 Jan 2014 03:02:20 +0000 (04:02 +0100)]
Build: Remove obsolete UglifyJS workaround

(cherry-picked from d41fc68d9b89d39f8c71ae9f810b72798ff3e9ac)

10 years agoBuild: Upgrade npm devDependencies
Michał Gołębiowski [Sun, 26 Jan 2014 03:01:57 +0000 (04:01 +0100)]
Build: Upgrade npm devDependencies

(cherry-picked from d63243d085c797e53a965620c439277284eada59)

10 years agoCss: Fix the reliableMarginRight test in oldIE.
Michał Gołębiowski [Sun, 26 Jan 2014 01:49:05 +0000 (02:49 +0100)]
Css: Fix the reliableMarginRight test in oldIE.

This fixes an error introduced by the previous commit.

10 years agoCss: Don’t cache support.reliableMarginRight; thanks @jdalton, @timmywil
Michał Gołębiowski [Sun, 26 Jan 2014 01:07:35 +0000 (02:07 +0100)]
Css: Don’t cache support.reliableMarginRight; thanks @jdalton, @timmywil

Fixes #14731

10 years agoUpdating the 1.x-master version to 1.11.1pre.
Timmy Willison [Thu, 23 Jan 2014 21:07:07 +0000 (16:07 -0500)]
Updating the 1.x-master version to 1.11.1pre.

10 years agoRelease: Instantiate a zip archiver, run archivers async
Timmy Willison [Thu, 23 Jan 2014 20:45:23 +0000 (15:45 -0500)]
Release: Instantiate a zip archiver, run archivers async

10 years agoManipulation: Use textarea for missing IE defaultValue check
Dave Methvin [Wed, 22 Jan 2014 23:51:20 +0000 (15:51 -0800)]
Manipulation: Use textarea for missing IE defaultValue check

IE11 fixed the checkbox defaultValue issue but not textarea. Rather than
creating a new detect name I'm reusing the old one to protect anyone who
is unwisely using this externally. Re-fixing the defaultValue when it
doesn't need to be done is not a problem, so leave that code for IE11.

Fixes #14716
Closes gh-1495

10 years agoTests: Fix appendChecked support value for Safari 5.1
Michał Gołębiowski [Wed, 22 Jan 2014 21:33:22 +0000 (22:33 +0100)]
Tests: Fix appendChecked support value for Safari 5.1

10 years agoTests: fix Safari userAgent detection
Michał Gołębiowski [Wed, 22 Jan 2014 20:49:53 +0000 (21:49 +0100)]
Tests: fix Safari userAgent detection

(cherry-picked from 3f3f458974fe0bdccfe9042c9503fd2d03e2f6ff)

10 years agoSupport: Add expected support results for Safari 7 & IE11
Michał Gołębiowski [Wed, 22 Jan 2014 20:35:31 +0000 (21:35 +0100)]
Support: Add expected support results for Safari 7 & IE11

10 years agoTests: Blacklist one effects test in Chrome 31
Michał Gołębiowski [Tue, 21 Jan 2014 11:02:09 +0000 (12:02 +0100)]
Tests: Blacklist one effects test in Chrome 31

Chrome 31 reports incorrect offsetWidth on a table cell with fixed width.
This is fixed in Chrome 32 so let’s just skip the failing test in Chrome 31.
See https://code.google.com/p/chromium/issues/detail?id=290399

(cherry-picked from c11becbb692f7707443eb2582543dfe96e8319e6)

10 years agoTraversing: Check all pairwise element combinations for .find( els )
Richard Gibson [Fri, 17 Jan 2014 05:38:56 +0000 (00:38 -0500)]
Traversing: Check all pairwise element combinations for .find( els )
(cherry picked from commit 391c21b15d769fac1c37631b28c0226f57a59796)

Ref b8d0d54a3c4960794a1b492957abeb56eddd1e48
Fixes #14701

10 years agoDocs: Update authors file
Oleg [Thu, 16 Jan 2014 20:25:51 +0000 (00:25 +0400)]
Docs: Update authors file

10 years agoRelease: Publish to npm
Jörn Zaefferer [Fri, 10 Jan 2014 12:45:01 +0000 (13:45 +0100)]
Release: Publish to npm

(cherry-picked from 20ea8071b44c23e7915300eacc9ed958fbe4eaf5)

10 years agoTests: Fix code style issues
Oleg [Thu, 16 Jan 2014 03:04:14 +0000 (07:04 +0400)]
Tests: Fix code style issues

(cherry-picked from a2250b0f4c157745b8cd8ac1247c6084882c500f)

10 years agoAttrs: Restore ability to pass array to jQuery#val
Oleg [Thu, 16 Jan 2014 02:55:56 +0000 (06:55 +0400)]
Attrs: Restore ability to pass array to jQuery#val

Thanks @gibson042

10 years agoAttrs: Force reflow in select value setter 1485/head
Oleg [Tue, 14 Jan 2014 22:26:56 +0000 (02:26 +0400)]
Attrs: Force reflow in select value setter

When new option element is added to select box we need to force reflow
of newly added node in order to workaround delay of initialization props.

try...catch statment is required for bug isolation

Fixes #2252

10 years agoAttrs: Fix valHook for option element 1486/head
Oleg [Wed, 15 Jan 2014 22:05:57 +0000 (02:05 +0400)]
Attrs: Fix valHook for option element

Fixes #14686

10 years agoTests: Remove one of the checks for memory leak
Oleg [Tue, 14 Jan 2014 17:48:42 +0000 (21:48 +0400)]
Tests: Remove one of the checks for memory leak

This check is redundant since jQuery.fragments object does not exist anymore
(cherry-picked from 38c122a73a843a0d117d4f962cc94fda6f553086)

10 years agoTests: Fix another issue with sinon timers
Oleg [Tue, 14 Jan 2014 16:58:10 +0000 (20:58 +0400)]
Tests: Fix another issue with sinon timers

10 years agoSizzle: update committed dependencies
Timmy Willison [Mon, 13 Jan 2014 21:37:42 +0000 (16:37 -0500)]
Sizzle: update committed dependencies

10 years agoAjax: support non-RFC2616 methods for oldIE
Oleg [Sun, 22 Dec 2013 04:53:19 +0000 (08:53 +0400)]
Ajax: support non-RFC2616 methods for oldIE

Closes gh-1466
Fixes #13240

10 years agoTests: Fix sinon timers for oldIE
Oleg [Mon, 13 Jan 2014 18:22:51 +0000 (22:22 +0400)]
Tests: Fix sinon timers for oldIE

10 years agoSelector: Update Sizzle
Richard Gibson [Mon, 13 Jan 2014 14:37:10 +0000 (09:37 -0500)]
Selector: Update Sizzle

Fixes #14657
(cherry picked from commit 9ac88dea494b0b79d1e1d1d26f8d9f5eb670cf62)

10 years agoTests: Straighten out sinon dependencies
Dave Methvin [Fri, 10 Jan 2014 15:24:52 +0000 (10:24 -0500)]
Tests: Straighten out sinon dependencies

* Cherry-pick took the wrong lines for a couple of things.
* Update and commit dependencies after `grunt bower`

10 years agoEffects: First step() call should match :animated selector
Dave Methvin [Tue, 24 Dec 2013 20:59:37 +0000 (15:59 -0500)]
Effects: First step() call should match :animated selector

(cherry picked from commit 085814474e4a854d533b5ccbaef24c090081e0c4)

Fixes #14623
Closes gh-1473

10 years agoTests: Fix test broken by previous cherry-pick
Dave Methvin [Fri, 10 Jan 2014 03:26:25 +0000 (22:26 -0500)]
Tests: Fix test broken by previous cherry-pick

10 years agoEffects: Integrate sinon fake timers into tests
John Paul [Thu, 25 Apr 2013 13:11:53 +0000 (09:11 -0400)]
Effects: Integrate sinon fake timers into tests

(cherry picked from commit b407bddea2ae65200df0802bef7cf06c16b5e524)

Closes gh-1377

10 years agoIntro: Pass window to intro if available, for browserify
Forbes Lindesay [Wed, 8 Jan 2014 13:44:10 +0000 (13:44 +0000)]
Intro: Pass window to intro if available, for browserify

Closes gh-1476
(cherry picked from commit 6de1d973a436282af7dfe3072924016c3cdc1984)

10 years agoBuild: Happy New Year! Thanks @marlonlandaverde
Dave Methvin [Fri, 10 Jan 2014 01:51:21 +0000 (20:51 -0500)]
Build: Happy New Year! Thanks @marlonlandaverde

(cherry picked from commit 3118f58c465286d538404669d09026b882b2149e)

Closes gh-1477

10 years agoDocs: Link to the browser support page in CONTRIBUTING.md
Michał Gołębiowski [Mon, 6 Jan 2014 20:04:20 +0000 (21:04 +0100)]
Docs: Link to the browser support page in CONTRIBUTING.md

Instead of duplicating the supported browsers matrix, just link to
the browser support page on jquery.com.

(cherry-picked from 5801c3a29a3c9a0d43f36c1d844f7cc7c24b3376)

10 years agoREADME: Add jQuery environment notes
Timmy Willison [Mon, 6 Jan 2014 19:49:58 +0000 (11:49 -0800)]
README: Add jQuery environment notes

10 years agoTests: Avoid use of QUnit.reset() in tests by splitting them
cjqed [Tue, 24 Dec 2013 16:35:41 +0000 (11:35 -0500)]
Tests: Avoid use of QUnit.reset() in tests by splitting them

Closes gh-1470
Ref #1457

10 years agoUpdate grunt-bowercopy to 0.5.0
Timmy Willison [Tue, 31 Dec 2013 22:39:58 +0000 (17:39 -0500)]
Update grunt-bowercopy to 0.5.0

10 years agoDoc: Update links and simplify build instructions
Oleg [Tue, 31 Dec 2013 19:38:34 +0000 (23:38 +0400)]
Doc: Update links and simplify build instructions

(cherry picked from commit e1a4329d78a5bae18d19fb94c1c3714ad45258ef)

10 years agotraversing: Optimise .add by not using makeArray
Timo Tijhof [Sat, 14 Dec 2013 01:10:46 +0000 (02:10 +0100)]
traversing: Optimise .add by not using makeArray
(cherry picked from commit b39ee05b69336d5a6230287ab8bd48c48e5b206f)

Closes gh-1430

10 years agoRelease script: _tracMilestone -> tracMilestone
Timmy Willison [Sat, 21 Dec 2013 17:07:40 +0000 (12:07 -0500)]
Release script: _tracMilestone -> tracMilestone

10 years agoexports/global: Do not attach global variables for most CommonJS environments
Timmy Willison [Fri, 20 Dec 2013 23:39:16 +0000 (18:39 -0500)]
exports/global: Do not attach global variables for most CommonJS environments

For CommonJS environments where the global already has a document, it is expected
that if a global is needed, the user can attach the global.

Fixes #14645.

10 years agoGruntfile: fix watch task
Timmy Willison [Fri, 20 Dec 2013 23:38:57 +0000 (18:38 -0500)]
Gruntfile: fix watch task

10 years agoRelease script: minor formatting issue.
Timmy Willison [Fri, 20 Dec 2013 22:37:38 +0000 (17:37 -0500)]
Release script: minor formatting issue.

10 years agoRelease script: jquery-release integration
Timmy Willison [Fri, 20 Dec 2013 22:13:48 +0000 (17:13 -0500)]
Release script: jquery-release integration

Conflicts:
build/release.js

10 years agoRemove hyphen from pre versions
Timmy Willison [Fri, 20 Dec 2013 17:30:23 +0000 (12:30 -0500)]
Remove hyphen from pre versions

- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this

Conflicts:
bower.json
package.json

10 years agoUpdate AUTHORS.txt using git log --format="%aN <%aE>"
Timmy Willison [Fri, 20 Dec 2013 17:29:28 +0000 (12:29 -0500)]
Update AUTHORS.txt using git log --format="%aN <%aE>"

10 years agoSelector: update Sizzle
Richard Gibson [Fri, 20 Dec 2013 21:46:30 +0000 (16:46 -0500)]
Selector: update Sizzle

Fix #14584
(cherry picked from commit 29c8003347e8768e26077c6d040203d662009220)

10 years agoBuild: add build option for setting the AMD name.
Timmy Willison [Thu, 19 Dec 2013 20:31:36 +0000 (15:31 -0500)]
Build: add build option for setting the AMD name.

Fixes #14016.

10 years agoBuild: Add the ability to remove global exposure.
Timmy Willison [Thu, 19 Dec 2013 20:00:06 +0000 (15:00 -0500)]
Build: Add the ability to remove global exposure.

Ref #14016

Conflicts:
build/tasks/build.js
src/core.js

10 years agoUse the exact versions dependencies
Oleg [Thu, 19 Dec 2013 04:32:40 +0000 (08:32 +0400)]
Use the exact versions dependencies

And remove unused "which" package

Cherry picked from the commit 09ede3d33b1a43c399bc9549c634af634513a81d

10 years agoOffset: Fix comment typo, thanks @AurelioDeRosa
Dave Methvin [Thu, 19 Dec 2013 01:54:02 +0000 (20:54 -0500)]
Offset: Fix comment typo, thanks @AurelioDeRosa

10 years agoReadme: Fix typo, thanks @tcort
Dave Methvin [Thu, 19 Dec 2013 01:44:32 +0000 (20:44 -0500)]
Readme: Fix typo, thanks @tcort
(cherry picked from commit 84190105c0f2acb39f33810678c36e4536bd1692)

10 years agoBuild: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks 1464/head
Michał Gołębiowski [Wed, 18 Dec 2013 14:23:27 +0000 (15:23 +0100)]
Build: Upgrade to grunt-contrib-jshint 0.7.1 and squash subtasks

grunt-contrib-jshint 0.7.1 allows the jshintrc option to be set to true to have
it read the appropriate config file based on the file being checked. The only
place where we can’t use it is the check for dist/jquery.js that has the onevar
option removed.

(cherry-picked from 7deee6af72bfcf328fa09a28a1e68159cc58513f)

Fixes #14504

10 years agoBuild: Use absolute paths in .gitignore and .npmignore.
Michał Gołębiowski [Fri, 15 Nov 2013 14:55:59 +0000 (15:55 +0100)]
Build: Use absolute paths in .gitignore and .npmignore.

.gitignore/.npmignore treat all its paths as relative to *every*
directory in the repository. In most cases that’s not what’s desired.

(cherry-picked from 2d7315051193212fca6e7d64a3de87d96977c418)

10 years agoAjax: don’t test jQuery.ajax() on beforeunload in Chrome 31
Michał Gołębiowski [Wed, 18 Dec 2013 14:10:42 +0000 (15:10 +0100)]
Ajax: don’t test jQuery.ajax() on beforeunload in Chrome 31

Chrome 31 doesn't fire Ajax requests in beforeunload event handler.
There is no way for us to workaround it and it's been fixed in Chrome 32
so let's just blacklist Chrome 31 as long as it's in TestSwarm.
See https://code.google.com/p/chromium/issues/detail?id=321241

(cherry-picked from fd0bce07584b73fb755574c4d462e0b175d1c6b6)

10 years agoCONTRIBUTING: Fixed link to style guide
Scott González [Tue, 17 Dec 2013 14:18:54 +0000 (09:18 -0500)]
CONTRIBUTING: Fixed link to style guide

(cherry-picked from 846771081c038f523612087d76deb3c853e252fd)

10 years agoManage bower dependencies with grunt-bowercopy
Timmy Willison [Fri, 6 Dec 2013 20:55:55 +0000 (15:55 -0500)]
Manage bower dependencies with grunt-bowercopy

Tracked bower dependencies are located at "src/sizzle" and "test/libs".
The source-destination mapping is in the Gruntfile.

When updating a bower dependency, update the version in bower.json, run
`grunt bower`, and then commit the result. When adding a dependency,
update the bowercopy task accordingly.

Fixes #14615.
Closes gh-1452.

Conflicts:
bower.json
test/index.html

11 years agoFix #14579: attribute selectors with trailing spaces after an unquoted value
Richard Gibson [Wed, 27 Nov 2013 19:51:29 +0000 (14:51 -0500)]
Fix #14579: attribute selectors with trailing spaces after an unquoted value
(cherry picked from commit ed20e7c645064822f4070a0c60195e4bcdaba683)

11 years agoAjax: Use weak ETag header in tests
Corey Frang [Tue, 26 Nov 2013 18:45:39 +0000 (12:45 -0600)]
Ajax: Use weak ETag header in tests

See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation

Close gh-1448
(cherry picked from commit d2aa969206aa1b7738b911cdaf29038f249b5066)

11 years agoAdd unit tests for .html( number ). Close gh-1447.
Jakob Stoeck [Mon, 25 Nov 2013 18:48:10 +0000 (19:48 +0100)]
Add unit tests for .html( number ). Close gh-1447.
(cherry picked from commit ed291938c287d34fe1183e588e12372e540eb5e7)

11 years agoFixes #14535: update Sizzle to 1.10.13
Timmy Willison [Thu, 14 Nov 2013 19:36:04 +0000 (14:36 -0500)]
Fixes #14535: update Sizzle to 1.10.13
(cherry picked from commit c389c2e6ba698e95c683ad113d728e757a4da29a)

11 years agoChange window to global in the most outer IIFE parameters. (cherry-picked from dc649a...
Michał Gołębiowski [Sun, 17 Nov 2013 00:06:44 +0000 (01:06 +0100)]
Change window to global in the most outer IIFE parameters. (cherry-picked from dc649a33e081c7beb083b04956731aa410eb6b3f)

In the most outer IIFE it’s not yet known if the global is window or not.
Using the window variable to denote the global was misleading in that case,
especially that the code didn’t make such assumption, requiring to provide
a Web-like window separately. Renaming window to global clears the confusion.

11 years agoFixes #14549. Execute the factory immediately when CommonJS is used in the browser.
Timmy Willison [Fri, 15 Nov 2013 22:18:22 +0000 (17:18 -0500)]
Fixes #14549. Execute the factory immediately when CommonJS is used in the browser.

11 years agoFixes #14548. Add main property to package.json
Timmy Willison [Fri, 15 Nov 2013 22:07:12 +0000 (17:07 -0500)]
Fixes #14548. Add main property to package.json

Conflicts:
package.json

11 years agoUpdating the source version to 1.11.0-pre✓™
Dave Methvin [Fri, 15 Nov 2013 15:59:01 +0000 (10:59 -0500)]
Updating the source version to 1.11.0-pre✓™