Commit Graph

5455 Commits

Author SHA1 Message Date
Scott González
846771081c CONTRIBUTING: Fixed link to style guide 2013-12-17 09:18:54 -05:00
Chris Antaki
b8d0d54a3c Reduce size by reordering variable declarations
Close gh-1421
2013-12-16 12:48:46 -05:00
Dave Methvin
b278d8174f Revert "Ajax: Fix #14424. Use ActiveX in IE9+ on local files, close gh-1434."
This reverts commit 498e0e6c9b.

We can't use the ActiveX XHR because it doesn't support events.
2013-12-15 22:02:51 -05:00
Timmy Willison
f9ad13c9ec 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.
2013-12-06 16:04:35 -05:00
Richard Gibson
ed20e7c645 Fix #14579: attribute selectors with trailing spaces after an unquoted value 2013-11-27 14:51:29 -05:00
Corey Frang
d2aa969206 Ajax: Use weak ETag header in tests
See http://en.wikipedia.org/wiki/HTTP_ETag#Strong_and_weak_validation

Close gh-1448
2013-11-26 14:04:55 -05:00
Jakob Stoeck
ed291938c2 Add unit tests for .html( number ). Close gh-1447. 2013-11-26 10:13:15 -05:00
John Paul
b407bddea2 Effects: Integrate sinon fake timers into tests. Close gh-1377. 2013-11-24 15:22:09 -05:00
Michał Gołębiowski
dc649a33e0 Change window to global in the most outer IIFE parameters.
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:06:44 +01:00
Timmy Willison
8f7db68cbf Fixes #14549. Execute the factory immediately when CommonJS is used in the browser. 2013-11-15 17:18:22 -05:00
Timmy Willison
6fde975259 Fixes #14548. Add main property to package.json 2013-11-15 17:07:12 -05:00
hongymagic
8d09ee0506 Ref #14503: Cherry-pick tests.
(cherry picked from commit 27b22f4ef5)
(cherry picked from commit 8dc0f2ea84)
(cherry picked from commit 936126f10d)
2013-11-15 12:19:05 -05:00
Timmy Willison
14c19cf1a8 Release script: Add dist files in multiple commits for a clean final commit with a small diff 2013-11-15 10:48:49 -05:00
Timmy Willison
b04b386180 Release script: Add .npmignore and keep .gitignore when creating the tag 2013-11-15 10:32:13 -05:00
Dave Methvin
6f74abb7bf Updating the source version to 2.1.0-pre✓™ 2013-11-15 09:55:16 -05:00
Dave Methvin
1f7661f519 Updating version to 2.1.0-beta2. 2013-11-15 09:54:53 -05:00
Michał Gołębiowski
21c218eabb Keep bower_components in .gitignore. 2013-11-15 15:50:31 +01:00
Timmy Willison
9aacb89f36 Release script: create tag after building CDN files 2013-11-15 09:32:46 -05:00
Dave Methvin
c2aca17d45 Ref #14180, let focusin/out work on non-element targets. 2013-11-14 16:33:12 -05:00
Dave Methvin
498e0e6c9b Ajax: Fix #14424. Use ActiveX in IE9+ on local files, close gh-1434.
We can't feature detect ActiveX in IE11, but we can just call
it and catch whatever error occurs, then try normal XHR.
2013-11-14 15:27:37 -05:00
Ilya Kantor
d0782ed7e8 Event: Fix #14544. Remove elem from event handle, close gh-1400.
This also reduces memory leaks if the element is removed without cleaning
events (e.g with native DOM operations).

Not pickable into the 1.x branch because oldIE still needs this.
2013-11-14 14:46:47 -05:00
Timmy Willison
c389c2e6ba Fixes #14535: update Sizzle to 1.10.13 2013-11-14 14:36:04 -05:00
Timmy Willison
7f0b28e308 Update sizzle location in release script 2013-11-14 10:21:46 -05:00
Timmy Willison
ac7ff97f8b Use grunt and bower packages as local dependencies. Close gh-1433. 2013-11-14 10:17:18 -05:00
Timmy Willison
1a13e0b1ad Update Sizzle: remove the use of version ranges 2013-11-14 10:10:13 -05:00
Timmy Willison
2035695624 Modify release script to create a headless tag for bower and publish to NPM 2013-11-13 23:51:09 -05:00
njhamann
0d68b7877f Fix #14036. Remove user/pass from ajaxLocation. Close gh-1340. 2013-11-13 22:53:15 -05:00
Dave Methvin
dce2edb3a6 ajax: Fix #14207. file protocol returns status 0, see #8605. 2013-11-13 20:53:04 -05:00
Dave Methvin
1cecf64e5a Fix #14180. Allow cross-frame use of focusin/out. Close gh-1369. 2013-11-12 21:15:08 -05:00
Richard Gibson
b7f62abb87 Ref 71b2ac52: Disallow 2.x bypass of environmental helper methods 2013-11-12 13:31:35 -05:00
Richard Gibson
71b2ac524e Fix #14492: More correct jQuery.parseJSON. Close gh-1419.
(cherry picked from commit 60a6178131)

Conflicts:

	src/ajax/parseJSON.js
2013-11-12 00:13:08 -05:00
Richard Gibson
e8e53a6bb5 Merge branches 'master' and 'master' of github.com:jquery/jquery 2013-11-12 00:08:51 -05:00
Michał Gołębiowski
07c3747457 No ticket. Remove the unnecessary guard in addGetHookIf. Close gh-1426.
In 1.x if the support test executes before doc ready, it may not be able
to return a result yet. In such a case, we protect ourselves from future
breakages, allowing only for the ones before doc ready.

Since in 2.x lazy support tests attach test elements to docElem, not body,
such a guard is unnecessary.
2013-11-11 18:20:33 +01:00
Michał Gołębiowski
4b39a82890 Fix #14340. Remove remnants of oldIE from unit tests. Close gh-1425. 2013-11-11 00:43:27 +01:00
Michał Gołębiowski
2ace149f48 No ticket. Remove version sniffing from test/unit/support.js, browsers got updated. 2013-11-11 00:42:37 +01:00
Michał Gołębiowski
7d5a12376d No ticket. Remove the pre-uglify task form build/tasks/build.js. Fix custom builds. 2013-11-10 23:47:04 +01:00
Michał Gołębiowski
562145e887 Fix #14415. Remove the source map comment in the release script. Close gh-1424. 2013-11-10 23:24:26 +01:00
Michał Gołębiowski
650f325d8e No ticket. Restore some parsing tests in core. 2013-11-10 21:05:43 +01:00
Michał Gołębiowski
d0fadbba9f Remove workarounds for the uglify task mishandling banners when used with source maps.
The issue was fixed in grunt-contrib-uglify:
https://github.com/gruntjs/grunt-contrib-uglify/issues/22
2013-11-09 23:12:06 +01:00
Oleg
85d4c0133b Check Gruntfile and tasks for code style 2013-11-08 16:03:51 +01:00
Oleg
45be91e398 Don't execute focus tests in Firefox
Close gh-1423
2013-11-08 16:00:30 +01:00
Oleg
626cbde7f8 Use full version of jQuery 1.9.1
Had some weird failures in IE with xhr build of 1.9.1
2013-11-08 01:04:08 +01:00
Sindre Sorhus
0bb4090c2c Add "keywords" to bower.json
Close gh-1407
2013-11-07 21:45:02 +01:00
Sindre Sorhus
abfa210adf Add load-grunt-tasks package dependency
Close gh-1405
2013-11-07 21:38:38 +01:00
Oleg
5ce0b34257 Fix #12757 - use jscs to check the style guide
Close gh-1396
2013-11-07 20:58:27 +01:00
Oleg
ee0d0e6e3f Add more thorough check for CSP violations 2013-11-07 20:16:19 +01:00
Richard Gibson
c66a5e70f2 Fix #14074: element id="nodeName". Close gh-1389.
(cherry picked from commit 126d596b56)

Conflicts:

	src/data.js
	src/data/accepts.js
	test/unit/core.js
	test/unit/data.js
2013-11-07 11:57:41 -05:00
Marian Sollmann
ff365d305f Fix #14190: Remove unnecessary assignment in .closest. Close gh-1411.
(cherry picked from commit 346b031af9e3b315ef351a9cc7fee56f930cf346)

Conflicts:

	src/traversing.js
2013-11-06 10:37:06 -05:00
Corey Frang
30eee925db Fix #14101: $().data() should be undefined, not null 2013-11-06 10:25:12 -05:00
Chris Antaki
cc19a6bd3b No ticket: Reduce size by reordering variable declarations. Close gh-1416. 2013-11-05 17:16:38 -05:00