Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2051 commits
Select commit Hold shift + click to select a range
f00a075
CSS: Correctly set support properties with non-default zoom
SaptakS Dec 6, 2017
e84d3bc
Docs: Create CODE_OF_CONDUCT.md
timmywil Nov 27, 2017
ecd8dde
Tests: Add support for running unit tests via grunt with karma
Krinkle Aug 1, 2017
3c0f2cf
Build: Only run browser tests in one Node version on Travis
mgol Jan 3, 2018
64a2892
Core: make camelCase function available only for internal usage
nltncsr Nov 22, 2017
775caeb
Core: adjust data tests to ensure proper camelCasing
timmywil Dec 4, 2017
909e0c9
Core: deprecate jQuery.now
timmywil Dec 11, 2017
3a8e447
Core: deprecate jQuery.proxy (not slated for removal)
timmywil Dec 11, 2017
a88b48e
Manipulation: use `.children` to select tbody elements
timmywil Jan 2, 2018
80f57f8
Attributes: allow array param in add/remove/toggleClass
timmywil Jan 2, 2018
7be448d
Ajax: add unit test for getScript(Object)
timmywil Jan 3, 2018
e2f1928
Tests: only run ontimeout test if ontimeout exists
timmywil Jan 3, 2018
c9efd11
Build: Fix UglifyJS output in Android 4.0; update uglify
timmywil Jan 3, 2018
50b94f4
Tests: fix function reference for unbinding
timmywil Jan 8, 2018
6c38ebb
Build: Remove CRLF line endings to fix builds on Windows
dmethvin Jan 9, 2018
3d732cc
Core: deprecate jQuery.isFunction
jbedard Dec 13, 2017
022b69a
Event: Move event aliases to deprecated
dmethvin Dec 29, 2017
d723789
Ajax: Don't process non-string data property on no-entity-body requests
dmethvin Sep 12, 2017
c4494d4
Core: deprecate jQuery.isNumeric
jbedard Dec 13, 2017
5e6deb3
Tests: fix weird failure in Edge 16 CSS
timmywil Jan 10, 2018
91fb181
Tests: fix weird flaky attributes test in Edge 16
timmywil Jan 10, 2018
1ea092a
Core: deprecate jQuery.type
jbedard Jan 14, 2018
14e5143
Tests: fix number of expected assertions in basic core
timmywil Jan 16, 2018
46ea7a3
Tests: temporarily require sudo access for karma:main on travis
timmywil Jan 16, 2018
428ee4a
Tests: correctly set sudo in travis config, not karma config
timmywil Jan 16, 2018
5d3a968
Manipulation: Add support for scripts with module type
tbepdb Dec 3, 2017
fa793be
Tests: fix tests in AMD mode
timmywil Jan 16, 2018
625e19c
Tests: ensure that module assertions run on supported browsers
timmywil Jan 16, 2018
4765bb5
Filter: Use direct filter in winnow
SaptakS Jan 10, 2018
7eec97a
Build: Add "-debug" suffix to name of karma debug tasks
Krinkle Jan 12, 2018
6483af7
Tests: skip test with invalid selector for selector-native tests
timmywil Jan 19, 2018
f4321ec
Release: add new authors to AUTHORS.txt
timmywil Jan 19, 2018
9a7cc80
Release: update version to 3.3.0-pre
timmywil Jan 19, 2018
f2349ae
Build: Updating the master version to 3.3.1-pre.
timmywil Jan 19, 2018
294a369
Build: Updating the master version to 3.3.2-pre.
timmywil Jan 20, 2018
5674249
Tests: Disable native abort test in Android 4.0
mgol Feb 12, 2018
4a2bcc2
Tests: Fix Android 4.0 Deferred tests
mgol Feb 12, 2018
09684ba
Build: Seasonal update of uglify and its options
markelog Mar 2, 2018
662083e
Core: Use isAttached to check for attachment of element
SaptakS Mar 5, 2018
3652842
Build: remove artefact from previous commit
markelog Mar 7, 2018
b95e0da
Build: Don't require sudo on Travis, use sandboxless headless Chrome
mgol Mar 19, 2018
2b5f5d5
CSS: Avoid filling jQuery.cssProps
dmethvin Feb 24, 2018
73d7e62
Dimensions: avoid fetching boxSizing when setting width/height
jbedard Mar 14, 2018
899c56f
Event: Add "code" property to Event object
tmybr11 Apr 17, 2018
9a5b3b6
Tests: ensure support tests are failed by at least one tested browser
mgol Apr 23, 2018
7646836
Build: Test on Node 10, stop testing on Node 4 & 9
mgol Apr 25, 2018
f5e36bd
CSS: Skip the px-appending logic for animations of non-element props
mgol Apr 30, 2018
f8c1e90
CSS: Ensure camel- vs kebab-cased names are not collapsed for CSS vars
mgol May 2, 2018
821bf34
CSS: Correctly detect scrollbox support with non-default zoom
gibson042 May 7, 2018
0ba8e38
Traversing: $.fn.contents() support for object
emibloque May 14, 2018
29e76e2
Misc: Update license prolog/epilog to placate Github checker
dmethvin Apr 17, 2018
1f4375a
Ajax: Allow custom attributes when script transport is used
dmethvin Sep 12, 2017
dc48b11
squash! Set attributes all at once, src last
dmethvin Mar 8, 2018
45f0858
README: Add FOSSA license scan status badge
kborchers May 15, 2018
75b77b4
CSS: Don't auto-append "px" to CSS variables (#4064)
mgol Jun 4, 2018
2348f39
Misc: Add config for lockbot
dmethvin May 8, 2018
81d829b
Test: enable a spec testing CSS whitespace preserving in Edge 17
mgol Jun 18, 2018
dc05f3c
Build: Remove unnecessary ESLint exception
edg2s Jun 18, 2018
4f3b8f0
Update node dependencies (sans jsdom, qunit, and sinon)
timmywil Jun 20, 2018
0645099
Serialize: jQuery.param: return empty string when given null/undefined
timmywil Jun 20, 2018
e743cbd
Dimensions: fix computing outerWidth on SVGs
jbedard Jun 21, 2018
cc95204
Tests: Add support test results for Firefox 61+
mgol Jul 9, 2018
979809c
Manipulation: Properly detect HTML elements with single-character names
gibson042 Jul 13, 2018
7869f83
Docs: add gitter badge to README.md
timmywil Jul 27, 2018
063c1f2
Tests: Make support tests pass in Firefox 52
mgol Jul 30, 2018
ae82e85
Tests: Skip module tests in Edge
mgol Jul 30, 2018
c9aae35
Tests: Account for the iPad with iOS 11.3 user agent
mgol Aug 1, 2018
6153eb0
Tests: use width style instead of SVG width attribute (#4157)
jbedard Aug 21, 2018
f997241
CSS: Don't auto-append "px" to possibly-unitless CSS grid properties
enbo Aug 29, 2018
dfa92cc
Tests: Allow Karma to load unminfied source
gibson042 Sep 7, 2018
dae5f3c
Tests: Add tests for not auto-appending "px" to CSS Grid properties
mgol Oct 3, 2018
354f603
CSS: Don't read styles.position in the width/height cssHook unless ne…
mgol Oct 8, 2018
549b32a
Build: Run tests on Node.js 11 as well
mgol Oct 31, 2018
9b77def
Core: Recognize Shadow DOM in attachment checks
SaptakS Nov 9, 2018
bc8aedf
Tests: Move latest Firefox before Firefox 60 test results
mgol Nov 12, 2018
3ac9078
Tests: Add Safari 12 & iOS 12 results
mgol Nov 12, 2018
e0d9411
Ajax: Fix getResponseHeader(key) for IE11
Andrei15193 Nov 26, 2018
b8195fb
Tests: fix ajax test failure; add to header instead of replace
timmywil Nov 26, 2018
13d0be1
Tests: add IE launcher for debugging IE11 on Windows
timmywil Nov 12, 2018
315199c
Dimensions: fall back to offsetWidth/Height for border-box in IE
timmywil Nov 11, 2018
13f3cd1
Tests: fix dimensions tests in testswarm
timmywil Dec 3, 2018
4ffb1df
Core: Tiny efficiency fix to jQuery.extend / jQuery.fn.extend (#4246)
marjakh Dec 12, 2018
c2026b1
Manipulation: Only evaluate HTTP-successful script src
gibson042 Dec 12, 2018
13de7c9
Manipulation: Restore _evalUrl jQuery.ajax calls to dataType: script
gibson042 Dec 13, 2018
9cb162f
Tests: Exclude Android 4.x from repeated header names test
mgol Dec 14, 2018
c7c2855
Core: Preserve CSP nonce on scripts in DOM manipulation
mgol Jan 14, 2019
543d3d2
Tests: Skip nonce tests in old iOS/Android as well
mgol Jan 14, 2019
e4de8b4
Manipulation: Respect script nomodule attribute in DOM manipulation
mgol Jan 21, 2019
5bdc85b
Core: Support passing nonce through jQuery.globalEval
mgol Jan 21, 2019
da44ff3
Build: Advise to create test cases on JS Bin or CodePen, drop JSFiddle
mgol Jan 29, 2019
c349818
Build: Update test code for compatibility with QUnit 2.x (#4297)
Feb 18, 2019
8751e9e
Build: Update most dependencies
Nov 11, 2018
c10945d
Build: Remove obsolete globals from ESLint configuration
mgol Feb 19, 2019
9cb124e
Build: Update jsdom; migrate a test with Symbol polyfill to an iframe…
mgol Mar 4, 2019
16ad988
Build: Run Karma browser tests on Node.js 10 instead of 8
mgol Mar 4, 2019
6ced263
Build: Update QUnit from 1.23.1 to 2.9.2
mgol Mar 4, 2019
ca9356e
Build: Make Promises/A+ tests use the dot reporter instead of the def…
mgol Mar 11, 2019
84b6a0b
Build: Remove manual QUnit fixture resetting
mgol Mar 11, 2019
0ec25ab
Build: Run the basic test suite in jsdom
mgol Mar 11, 2019
a0abd15
CSS: Avoid forcing a reflow in width/height getters unless necessary
mgol Mar 18, 2019
669f720
Event: Leverage native events for focus/blur/click; propagate additio…
gibson042 Jan 11, 2017
753d591
Core: Prevent Object.prototype pollution for $.extend( true, ... )
mgol Mar 25, 2019
fe5f04d
Event: Prevent leverageNative from double-firing focusin
gibson042 Mar 25, 2019
0050403
Core: Preserve CSP nonce on scripts with src attribute in DOM manipul…
buddh4 Mar 19, 2019
4455f8d
Tests: Make Android Browser 4.0-4.3 AJAX tests green
mgol Mar 27, 2019
a2a73db
Tests: Make Android Browser 4.0-4.3 dimensions tests green
mgol Mar 27, 2019
9b9fca4
Update README.md
timmywil Apr 2, 2019
fea7a2a
Build: Update Sinon from 2.3.7 to 7.3.1, other updates
mgol Apr 4, 2019
2e4b79a
Tests: Fix the core-js polyfill inclusion method
mgol Apr 4, 2019
c4f2fa2
Build: Update the master version to 4.0.0-pre
mgol Apr 8, 2019
00a9c2e
CSS: Don't automatically add "px" to properties with a few exceptions
mgol Apr 23, 2018
0b2c36a
Build: Update Sizzle from 2.3.3 to 2.3.4
mgol Apr 9, 2019
cf9fe0f
Release: update AUTHORS.txt
timmywil Apr 9, 2019
8740305
Build: Fix unresolved jQuery reference in finalPropName
mgol Apr 17, 2019
b8d4712
Build: Test on Node.js 12, stop testing on Node.js 6 & 11
mgol Apr 23, 2019
ddfa837
Event: Fix handling of multiple async focus events
gibson042 Apr 29, 2019
eb6c0a7
Event: Prevent leverageNative from registering duplicate dummy handlers
gibson042 Apr 29, 2019
8fae212
Data: Separate data & css/effects camelCase implementations
mgol Apr 29, 2019
8a74137
Event: Stop shimming focusin & focusout events
mgol Apr 29, 2019
6f2fae7
Tests: Fix the new focusin/focusout test in IE
mgol Apr 29, 2019
58f0c00
Core: Remove deprecated jQuery APIs
mgol Apr 29, 2019
bde53ed
Tests: Restrict an event test fallback to TestSwarm
gibson042 Apr 16, 2019
cf84696
Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser …
mgol Apr 29, 2019
b220f6d
Build: Fix AMD dependencies in curCSS
mgol Apr 30, 2019
110802c
Effect: Fix a unnecessary conditional statement in .stop()
wonseop May 1, 2019
4d865d9
Traversing: Fix `contents()` on `<object>`s with children
patocallaghan May 6, 2019
ccbd6b9
Traversing: Fix `contents()` on `<object>`s with children in IE
mgol May 8, 2019
3527a38
Core: Remove IE-specific support tests, rely on document.documentMode
mgol May 13, 2019
9ec09c3
Build: Fix the regex parsing AMD var-modules (#4389)
mgol May 13, 2019
438b1a3
Build: ESLint: forbid unused function parameters
mgol May 13, 2019
79b74e0
Selector: Port Sizzle tests to jQuery
mgol Jun 26, 2019
4783596
Selector: Inline Sizzle into the selector module
mgol Jul 29, 2019
cef4b73
Selector: Bring back querySelectorAll shortcut usage
mgol Aug 9, 2019
b334ce7
Tests: update npo.js and include unminified source instead
timmywil Aug 12, 2019
7bdf307
Tests: Fix a comment in testinit.js
mgol Aug 19, 2019
df6a7f7
Selector: Leverage the :scope pseudo-class where possible
mgol Aug 19, 2019
ac5f7cd
Tests: Port changes from Sizzle
gibson042 Aug 20, 2019
5ea5946
Core: Deprecate jQuery.trim
ShashankaNataraj Aug 22, 2019
d7e6419
Build: Remove the external directory, read from node_modules directly
mgol Aug 26, 2019
abdc89a
Ajax: Simplify jQuery.ajaxSettings.xhr
mgol Aug 26, 2019
29a9544
Selector: reduce size, simplify setDocument
mgol Aug 26, 2019
f810080
Deprecated: Fix AMD parameter order
mgol Aug 30, 2019
78420d4
Core: Implement .even() & .odd() to replace POS :even & :odd
mgol Sep 24, 2019
b59107f
Core: Remove private copies of push, sort & splice from the jQuery pr…
mgol Sep 24, 2019
aa6344b
Selector: Use shallow document comparisons to avoid IE/Edge crashes
mgol Sep 24, 2019
9df4f1d
Core: Use Array.prototype.flat where supported
aelafifi Aug 19, 2019
50871a5
Ajax: Do not execute scripts for unsuccessful HTTP responses
skrobinson Apr 26, 2019
1b74660
Release: Update AUTHORS.txt
mgol Sep 26, 2019
9a4d980
Build: Stop copying src/core.js to dist on release
mgol Oct 4, 2019
d7d0b52
Build: Support jquery-release --dry-run flag
mgol Oct 5, 2019
e0022f2
Docs: Convert link to Homebrew from HTTP to HTTPS
coliff Oct 7, 2019
4504fc3
Manipulation:Selector: Use the nodeName util where possible to save size
mgol Oct 8, 2019
bbad821
Build: Require strict mode in Node.js scripts via ESLint
mgol Oct 8, 2019
ed66d5a
Selector: Make selectors with leading combinators use qSA again
mgol Oct 14, 2019
26415e0
CSS: Workaround buggy getComputedStyle on table rows in IE/Edge
mgol Oct 14, 2019
1d624c1
Tests: Stop using jQuery.find in tests
mgol Oct 21, 2019
6eee5f7
Selector: Add a test for throwing on post-comma invalid selectors
mgol Oct 21, 2019
f09d921
Docs: Update most URLs to HTTPS
mgol Oct 21, 2019
15750b0
Selector: Use shallow document comparisons in uniqueSort
mgol Oct 21, 2019
584835e
Build: Run tests on Travis on FirefoxHeadless as well
mgol Oct 21, 2019
830976e
Build: Run tests on Node.js 13 in addition to 8, 10 & 12
mgol Oct 22, 2019
2d5ad6d
Build: Run tests on Firefox ESR as well
mgol Oct 22, 2019
bcbcdd2
Build: Run tests on Travis only on browsers defined in the config
mgol Oct 22, 2019
323575f
Tests: Don't test synchronous XHR on unload in Chrome
mgol Oct 28, 2019
a612733
Tests: Skip a "width/height on a table row with phantom borders" test…
mgol Oct 28, 2019
d0ce00c
Core: Migrate from AMD to ES modules 🎉
mgol Nov 18, 2019
05184cc
Selector: Make empty attribute selectors work in IE again
mgol Nov 18, 2019
0753201
Build: Fix the import path to serialize.js from ajax.js
mgol Nov 19, 2019
44ac8c8
Build: Require extensions for ES6 imports, prevent import cycles
mgol Nov 25, 2019
9fd2fa5
Build: Fix the Windows build
mgol Dec 2, 2019
5a3e066
Docs: Change OS X to macOS in README
coliff Dec 3, 2019
d5c505e
Event: Only attach events to objects that accept data - for real
mgol Dec 9, 2019
f37c2e5
Build: Auto-convert sources to AMD
mgol Dec 9, 2019
341c6d1
Build: Make Karma work in ES modules mode
mgol Dec 16, 2019
f1c16de
Docs: direct users to GitHub docs for cloning the repo
timmywil Dec 16, 2019
c1ee33a
Selector: Remove the "a:enabled" workaround for Chrome <=77
mgol Dec 16, 2019
9b9ed46
Build: Create a `grunt custom:slim` alias for the Slim build (#4578)
mgol Jan 7, 2020
1dad118
Docs: Update links to EdgeHTML issues to go through Web Archive
mgol Jan 7, 2020
0f780ba
Build:Tests: Fix custom build tests, verify on Travis
mgol Jan 7, 2020
437f389
Build: Make dev mode work in Karma again, serve source files from disk
mgol Jan 7, 2020
9e66fe9
Attributes: Don't set the type attr hook at all outside of IE
mgol Jan 13, 2020
eb35be5
Tests: Remove obsolete jQuery data tests
mgol Jan 13, 2020
ff28199
Attributes: Refactor val(): don't strip carriage return, isolate IE w…
mgol Jan 13, 2020
fbc44f5
Core: Exclude callbacks & deferred modules in the slim build as well
mgol Jan 20, 2020
e1fab10
Build: Add intuitive names to Travis jobs
mgol Jan 20, 2020
89a18de
Build: Lint the minified jQuery file as well
mgol Jan 21, 2020
865469f
CSS: Remove the opacity CSS hook
mgol Jan 21, 2020
23d5392
Ajax: Deprecate AJAX event aliases, inline event/alias into deprecated
mgol Jan 21, 2020
338f1fc
Build: Lint the minified jQuery file as well - a Gruntfile fix
mgol Jan 27, 2020
3edfa1b
Docs: Remove a mention of the event/alias.js module from README
mgol Jan 27, 2020
18db871
Event: remove jQuery.event.global
mgol Feb 10, 2020
4592595
Core: Fire iframe script in its context, add doc param in globalEval
mgol Feb 10, 2020
721744a
Build: Add Christian Oliff to .mailmap & AUTHORS.txt
mgol Feb 24, 2020
364476c
Tests: Pass a number of necessary done() calls to assert.async()
mgol Mar 2, 2020
4a7fc85
Build: Enable ESLint one-var rule for var declarations in browser code
mgol Mar 2, 2020
358b769
Release: Use an in-repository dist README fixture
mgol Mar 2, 2020
9d76c0b
Data:Event:Manipulation: Prevent collisions with Object.prototype
mgol Mar 2, 2020
5b94a4f
Build: Resolve Travis config warnings
mgol Mar 13, 2020
90fed4b
Manipulation: Make jQuery.htmlPrefilter an identity function
mgol Mar 16, 2020
7fb90a6
Ajax: Overwrite s.contentType with content-type header value, if any
wenz Apr 6, 2020
73415da
Docs: Use https for hyperlinks in README
vanillajonathan Apr 17, 2020
46f9810
Build: Enable reportUnusedDisableDirectives in ESLint
edg2s Apr 20, 2020
88eb22e
Build: Test on Node.js 14, stop testing on Node.js 8 & 13
mgol Apr 23, 2020
a62309e
Docs: Update the link to the jsdom repository
mgol Apr 25, 2020
7b0864d
Tests: Fix flakiness in the "jQuery.ajax() - JSONP - Same Domain" test
mgol Apr 27, 2020
34296ec
Build: Move ESLint max-len disable-directive to dist/.eslintrc.json
edg2s Apr 27, 2020
9b73204
Tests: Use only one focusin/out handler per matching window & document
mgol Apr 27, 2020
812b4a1
Build: Reduce the slim build header comment & jQuery.fn.jquery
mgol Apr 27, 2020
dc06d68
Tests: Add tests for recently fixed manipulation XSS issues
mgol Apr 29, 2020
1a7332c
Docs: Fix typos
pgrimaud Apr 29, 2020
11066a9
Tests: Workaround failures in recent XSS tests in iOS 8 - 12
mgol Apr 30, 2020
3d62d57
Build: Correct code indentations based on jQuery Style Guide
wonseop May 5, 2020
297d18d
CSS: Include `show`, `hide` & `toggle` methods in the jQuery slim build
mgol May 5, 2020
55cd3a4
Build: Followups after introducing ES modules compiled via Rollup
mgol May 5, 2020
2ffe54c
Docs: add SECURITY.md, show security email address
timmywil May 12, 2020
1161196
Docs: Change JS Foundation mentions to OpenJS Foundation
mgol May 18, 2020
d96111e
Tests: Remove remaining obsolete jQuery.cache references
mgol May 18, 2020
ef4d6ca
Build: Update eslint-config-jquery, fix linting violations
mgol May 18, 2020
bfb6897
Release: Remove an unused chalk dependency
mgol May 18, 2020
0b676ae
Deprecated: Remove jQuery.trim
mgol May 18, 2020
40c3abd
Build:Event: Make sure all source modules' exports are used (#4648)
mgol Jun 2, 2020
7a6fae6
Docs: Update Frequently Reported Issues in the GitHub issue template
mgol Jun 8, 2020
9c98e4e
Manipulation: Avoid concatenating strings in buildFragment
mgol Jun 10, 2020
39c5778
build: set up periodic code scanning analysis
timmywil Jun 25, 2020
b502866
Build: Update dependencies
mgol Jul 15, 2020
3a1b338
Build: Fix commitplease husky config
beatrizrezener Jul 20, 2020
fa0058a
Build: Use the US spelling of "favor"
Necmttn Jul 22, 2020
e7b3bc4
Ajax: Drop the json to jsonp auto-promotion logic
mgol Jul 27, 2020
a22b43b
Build: Append .eslintignore paths to grunt eslint paths
edg2s Apr 21, 2020
82b87f6
Tests: Remove an unused local variable
wonhyoung05 Aug 13, 2020
07a8e4a
Ajax: Avoid CSP errors in the script transport for async requests
mgol Aug 25, 2020
a1e619b
Ajax: Execute JSONP error script responses
fras2560 Aug 25, 2020
1a5fff4
Event: Remove the event.which shim
mgol Aug 26, 2020
68b4ec5
Ajax: Make responseJSON work for erroneous same-domain JSONP requests
mgol Aug 31, 2020
a442110
Attributes: Drop the `toggleClass(boolean|undefined)` signature
mgol Sep 1, 2020
8612018
Build: Make the import/no-unused-modules ESLint rule work in WebStorm
mgol Sep 2, 2020
c18dc49
Tests: Skip the "jQuery.ajax() on unload" test in Safari
mgol Sep 2, 2020
df6858d
Tests: Recognize callbacks with dots in the Node.js mock server
mgol Sep 2, 2020
15ae361
Manipulation: Respect script crossorigin attribute in DOM manipulation
gaohuia Sep 22, 2020
e35fb62
Core: Drop support for Edge Legacy (i.e. non-Chromium Microsoft Edge)
mgol Sep 22, 2020
a503c69
Build: Explicitly exclude the queue module from the slim build
mgol Sep 28, 2020
5c2d087
Event: Don't crash if an element is removed on blur
mgol Oct 19, 2020
6984d17
Build: Test on Node.js 15
mgol Nov 11, 2020
dbcffb3
Event: Make focus re-triggering not focus the original element back
mgol Dec 7, 2020
fd42109
Core: Make jQuery.isXMLDoc accept falsy input
mgol Dec 7, 2020
8969732
Core: Report browser errors in parseXML
mgol Dec 8, 2020
3bbbc11
Dimensions: Add offset prop fallback to FF for unreliable TR dimensions
timmywil Jan 11, 2021
d38528b
Tests: Fix tests for not auto-executing scripts without dataType
mgol Jan 11, 2021
a32cf63
Deferred: Rename master to primary
mgol Jan 12, 2021
025da4d
Ajax: Don't auto-execute scripts unless dataType provided
mgol Jan 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 8 additions & 28 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,36 +1,16 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://EditorConfig.org
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

root = true

; All JavaScript files should use tabs unless specified otherwise
[**.js]
[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[Makefile]
indent_style = tab


[speed/**.html]
indent_style = tab

[speed/**.css]
indent_style = tab

[speed/benchmarker.js]
[package.json]
indent_style = space
indent_size = 2


[test/**.xml]
indent_style = tab

[test/**.php]
indent_style = tab

[test/**.html]
indent_style = tab

[test/**.css]
indent_style = space
indent_size = 8
15 changes: 15 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
amd
node_modules
*.min.js
dist/**
!dist/jquery.js
!dist/jquery.min.js
test/data/jquery-1.9.1.js
test/data/badcall.js
test/data/badjson.js
test/data/json_obj.js
test/data/readywaitasset.js
test/data/readywaitloader.js
test/data/support/csp.js
test/data/support/getComputedSupport.js
test/data/core/jquery-iterability-transpiled.js
27 changes: 27 additions & 0 deletions .eslintrc-browser.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"root": true,

"extends": "jquery",

"reportUnusedDisableDirectives": true,

"parserOptions": {
"ecmaVersion": 5
},

// The browser env is not enabled on purpose so that code takes
// all browser-only globals from window instead of assuming
// they're available as globals. This makes it possible to use
// jQuery with tools like jsdom which provide a custom window
// implementation.
"env": {},

"globals": {
"window": true
},

"rules": {
"one-var": ["error", {"var": "always"}],
"strict": ["error", "function"]
}
}
20 changes: 20 additions & 0 deletions .eslintrc-node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"root": true,

"extends": "jquery",

"reportUnusedDisableDirectives": true,

"parserOptions": {
"ecmaVersion": 2018
},

"env": {
"es6": true,
"node": true
},

"rules": {
"strict": ["error", "global"]
}
}
5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"root": true,

"extends": "./.eslintrc-node.json"
}
7 changes: 5 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
* eol=lf
*.jar binary
# Auto detect text files and perform LF normalization
* text=auto

# JS files must always use LF for tools to work
*.js eol=lf
24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
Feature Requests:
Please read https://github.com/jquery/jquery/wiki/Adding-new-features
Most features should start as plugins outside of jQuery.

Bug Reports:
Note that we only can fix bugs in the latest version of jQuery.
Briefly describe the issue you've encountered
* What do you expect to happen?
* What actually happens?
* Which browsers are affected?
Provide a *minimal* test case, see https://webkit.org/test-case-reduction/
Use the latest shipping version of jQuery in your test case!
We prefer test cases on JS Bin (https://jsbin.com/qawicop/edit?html,css,js,output) or CodePen (https://codepen.io/mgol/pen/wNWJbZ)

Frequently Reported Issues:
* Self-closing tags broken in jQuery 3.5.0 or newer: please read the [jQuery 3.5.0 blog post](https://blog.jquery.com/2020/04/10/jquery-3-5-0-released/) & the [upgrade guide](https://jquery.com/upgrade-guide/3.5/); see also issue #4681.
-->

### Description ###


### Link to test case ###

20 changes: 20 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
### Summary ###
<!--
Describe what this PR does. All but trivial changes (e.g. typos)
should start with an issue. Mention the issue number here.
-->


### Checklist ###
<!--
Mark an `[x]` for completed items, if you're not sure leave them unchecked and we can assist.
-->

* [ ] All authors have signed the CLA at https://cla.js.foundation/jquery/jquery
* [ ] New tests have been added to show the fix or feature works
* [ ] Grunt build and unit tests pass locally with these changes
* [ ] If needed, a docs issue/PR was created at https://github.com/jquery/api.jquery.com

<!--
Thanks! Bots and humans will be around shortly to check it out.
-->
13 changes: 13 additions & 0 deletions .github/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Configuration for lock-threads - https://github.com/dessant/lock-threads

# Number of days of inactivity before a closed issue or pull request is locked
daysUntilLock: 180

# Issues and pull requests with these labels will not be locked. Set to `[]` to disable
exemptLabels: []

# Label to add before locking, such as `outdated`. Set to `false` to disable
lockLabel: false

# Comment to post before locking. Set to `false` to disable
lockComment: false
51 changes: 51 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
name: "Code scanning - action"

on:
push:
pull_request:
schedule:
- cron: '0 4 * * 6'

jobs:
CodeQL-Build:

runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
23 changes: 17 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,13 +1,24 @@
src/selector.js
dist
.project
.settings
*~
*.diff
*.patch
/*.html
.DS_Store
dist/.destination.json
dist/.sizecache.json
build/.sizecache.json
node_modules
.bower.json
.sizecache.json
yarn.lock
package-lock.json

npm-debug.log*

# Ignore everything in dist folder except for eslint config
/dist/*
!/dist/.eslintrc.json

/amd

/node_modules

/test/data/core/jquery-iterability-transpiled.js
/test/data/qunit-fixture.js
6 changes: 0 additions & 6 deletions .gitmodules

This file was deleted.

11 changes: 0 additions & 11 deletions .jshintrc

This file was deleted.

Loading