Commit Graph

5266 Commits

Author SHA1 Message Date
Richard Gibson
189b2d22fb Selector: update Sizzle
Fix #14584
(cherry picked from commit 29c8003347)
2013-12-20 16:48:27 -05:00
Timmy Willison
36c3f32f00 Build: add build option for setting the AMD name.
Fixes #14016.
2013-12-19 15:36:34 -05:00
Timmy Willison
1d3b60044b Build: Add the ability to remove global exposure.
Ref #14016

Conflicts:
	build/tasks/build.js
	src/core.js
2013-12-19 15:36:34 -05:00
Oleg
0e89df5b6d Use the exact versions dependencies
And remove unused "which" package

Cherry picked from the commit 09ede3d33b
2013-12-19 08:41:45 +04:00
Dave Methvin
b876352d97 Offset: Fix comment typo, thanks @AurelioDeRosa 2013-12-18 20:54:02 -05:00
Dave Methvin
04a652a99a Readme: Fix typo, thanks @tcort
(cherry picked from commit 84190105c0)
2013-12-18 20:49:30 -05:00
Michał Gołębiowski
c4e88083d2 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 7deee6af72)

Fixes #14504
2013-12-18 15:25:11 +01:00
Michał Gołębiowski
15d245ff57 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 2d73150511)
2013-12-18 15:17:19 +01:00
Michał Gołębiowski
c536e7e19e 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 fd0bce0758)
2013-12-18 15:11:18 +01:00
Scott González
e2022ddeac CONTRIBUTING: Fixed link to style guide
(cherry-picked from 846771081c)
2013-12-17 16:13:09 +01:00
Timmy Willison
c2e0dbdaa5 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
2013-12-06 16:14:27 -05:00
Richard Gibson
b869d3f1ac Fix #14579: attribute selectors with trailing spaces after an unquoted value
(cherry picked from commit ed20e7c645)
2013-11-27 14:52:20 -05:00
Corey Frang
d6684dc3aa 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 d2aa969206)
2013-11-26 14:16:12 -05:00
Jakob Stoeck
d14f617886 Add unit tests for .html( number ). Close gh-1447.
(cherry picked from commit ed291938c2)
2013-11-26 10:14:45 -05:00
Timmy Willison
e07c00be72 Fixes #14535: update Sizzle to 1.10.13
(cherry picked from commit c389c2e6ba)
2013-11-26 09:44:29 -05:00
Michał Gołębiowski
91586997e0 Change window to global in the most outer IIFE parameters. (cherry-picked from dc649a33e0)
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.
2013-11-17 01:08:53 +01:00
Timmy Willison
54419cb5ad Fixes #14549. Execute the factory immediately when CommonJS is used in the browser. 2013-11-15 17:18:47 -05:00
Timmy Willison
9cf253891e Fixes #14548. Add main property to package.json
Conflicts:
	package.json
2013-11-15 17:08:01 -05:00
Dave Methvin
c06462410a Updating the source version to 1.11.0-pre✓™ 2013-11-15 10:59:01 -05:00
Dave Methvin
26dbe634d4 Updating version to 1.11.0-beta2. 2013-11-15 10:58:35 -05:00
Timmy Willison
21a1e7d38f Release script: Add dist files in multiple commits for a clean final commit with a small diff 2013-11-15 10:57:43 -05:00
Timmy Willison
9b860e9227 Release script: Add .npmignore and keep .gitignore when creating the tag 2013-11-15 10:35:48 -05:00
Michał Gołębiowski
1f112c9f4f Keep bower_components in .gitignore. (cherry-picked from 21c218eabb) 2013-11-15 15:51:11 +01:00
Timmy Willison
c89ddaffff Release script: create tag after building CDN files 2013-11-15 09:39:26 -05:00
Michał Gołębiowski
62cebacdcb Add es3: true to test/.jshintrc. Make tests conform to that jsHint setting. 2013-11-15 12:54:40 +01:00
Richard Gibson
936126f10d Ref 27b22f4e: Remove oldIE-unfriendly trailing comma 2013-11-15 00:18:46 -05:00
Richard Gibson
8dc0f2ea84 Ref 27b22f4e: Don't try to outsmart Apache 2013-11-14 23:50:53 -05:00
hongymagic
27b22f4ef5 Fix #14503: Cast to string before setting XHR header. Close gh-1427. 2013-11-14 20:32:56 -05:00
Dave Methvin
5f325b1bee Ref #14180, let focusin/out work on non-element targets.
(cherry picked from commit c2aca17d45)

Conflicts:
	src/event.js
2013-11-14 16:40:22 -05:00
Dave Methvin
9ca87af44c Fix #14475. Use IE11-friendly detect for proper XHR object.
We don't seem to have test cases for local file access.
2013-11-14 16:10:54 -05:00
Timmy Willison
473c7db79e Update sizzle location in release script 2013-11-14 10:21:58 -05:00
Timmy Willison
a9f5946294 Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:18:12 -05:00
Timmy Willison
36f00b17c2 Update Sizzle: remove the use of version ranges
Conflicts:
	bower.json
2013-11-14 10:11:35 -05:00
Timmy Willison
73365ae83f Modify release script to create a headless tag for bower and publish to NPM
Conflicts:
	build/release.js
2013-11-13 23:54:14 -05:00
njhamann
c58a6435ef Fix #14036. Remove user/pass from ajaxLocation. Close gh-1340.
(cherry picked from commit eb1a2afc9fb1d990d10358aab0e17bc0ce1d1db3)
2013-11-13 22:55:12 -05:00
Dave Methvin
97d53838e0 Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369.
(cherry picked from commit ebdb467761d756d4e52608a0df4a4d9b17da8092)
(conflicts with .data() resolved manually)
2013-11-12 21:24:20 -05:00
Richard Gibson
60a6178131 Fix #14492: More correct jQuery.parseJSON. Close gh-1419. 2013-11-12 00:07:28 -05:00
Michał Gołębiowski
ef7f8f1ead No ticket. Remove version sniffing from test/unit/support.js, browsers got updated. 2013-11-11 00:43:18 +01:00
Michał Gołębiowski
14272ba9d1 No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds. (cherry-picked from 7d5a12376d) 2013-11-10 23:47:56 +01:00
Michał Gołębiowski
3fa4f48d5c Fix #14415. Remove the source map comment in the release script. Close gh-1424. (cherry-picked from 562145e887) 2013-11-10 23:25:42 +01:00
Michał Gołębiowski
762459aa0d Grunt: put .sizecache.json in build/, not dist/. (see 6095be1260) 2013-11-10 22:34:46 +01:00
Michał Gołębiowski
b349731e57 No ticket. Restore some parsing tests in core. (cherry-picked from 650f325d8e) 2013-11-10 21:15:07 +01:00
Michał Gołębiowski
7c38b0686d Remove workarounds for the uglify task mishandling banners when used with source maps. (cherry-picked from d0fadbba9f)
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:40 +01:00
Oleg
ff951314e3 Remove old try...catch for old FF 2013-11-08 22:32:35 +01:00
Richard Gibson
c6de821070 Ref 705216d: Synchronize ajax/xhr.js with master 2013-11-08 10:13:32 -05:00
Richard Gibson
7e383b1b07 Merge branches '1.x-master' and '1.x-master' of github.com:jquery/jquery into 1.x-master 2013-11-08 10:10:21 -05:00
Oleg
0b987dbaf9 Check Gruntfile and tasks for code style
Cherry picked from 85d4c0133b commit
2013-11-08 16:07:45 +01:00
Oleg
7f829752e6 Don't execute focus tests in Firefox
Cherry picked from 45be91e398 commit
2013-11-08 16:07:26 +01:00
Oleg
d6fc713e26 Use full version of jQuery 1.9.1
Had some weird failures in IE with xhr build of 1.9.1.
Cherry picked from 626cbde7f8 commit
2013-11-08 01:07:09 +01:00
Sindre Sorhus
878b00772e Add "keywords" to bower.json
Cherry picked from 0bb4090c2c commit
2013-11-07 22:09:33 +01:00