Commit Graph

5625 Commits

Author SHA1 Message Date
Timmy Willison
7d758aca35 Update grunt-bowercopy to 0.5.0 2013-12-31 17:39:58 -05:00
Oleg
e1a4329d78 Doc: Update links and simplify build instructions 2013-12-31 23:38:34 +04:00
Timo Tijhof
b39ee05b69 traversing: Optimise .add by not using makeArray
Closes gh-1430
2013-12-30 12:34:08 -05:00
cjqed
537e9ced61 Tests: Avoid use of QUnit.reset() in tests by splitting them
Fix #14040
Close gh-1457
2013-12-23 17:21:22 -05:00
Timmy Willison
23db994404 Release script: _tracMilestone -> tracMilestone 2013-12-21 12:07:40 -05:00
Timmy Willison
e0fad093b6 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.
2013-12-20 18:39:16 -05:00
Timmy Willison
281808f61d Gruntfile: fix watch task 2013-12-20 18:38:57 -05:00
Timmy Willison
74a48958bd Release script: minor formatting issue. 2013-12-20 17:37:38 -05:00
Timmy Willison
f3062f96e0 Release script: jquery-release integration 2013-12-20 17:25:03 -05:00
Timmy Willison
bae117445b Remove hyphen from pre versions
- It is intentionally invalid semver as pre versions should never be released
- UI and Mobile already do this
2013-12-20 17:25:03 -05:00
Timmy Willison
ed0f0e42df Update AUTHORS.txt using git log --format="%aN <%aE>" 2013-12-20 17:25:03 -05:00
Richard Gibson
29c8003347 Selector: update Sizzle
Fix #14584
2013-12-20 16:46:30 -05:00
Timmy Willison
7e8a91c205 Build: add build option for setting the AMD name.
Fixes #14016.
2013-12-19 15:31:36 -05:00
Timmy Willison
a6f474e699 Build: Add the ability to remove global exposure.
Ref #14016
2013-12-19 15:00:06 -05:00
Oleg
09ede3d33b Use the exact versions dependencies
And remove unused "which" package

Closes gh-1458
2013-12-19 08:34:49 +04:00
Dave Methvin
bb3fff9ac2 Offset: Fix comment typo, thanks @AurelioDeRosa 2013-12-18 20:50:53 -05:00
Dave Methvin
84190105c0 Readme: Fix typo, thanks @tcort 2013-12-18 20:44:32 -05:00
Michał Gołębiowski
7deee6af72 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.

Fixes #14504
2013-12-18 15:24:29 +01:00
Michał Gołębiowski
2d73150511 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.
2013-12-18 15:16:21 +01:00
Michał Gołębiowski
fd0bce0758 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
2013-12-18 15:10:42 +01:00
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