aboutsummaryrefslogtreecommitdiffstats
path: root/src/deprecated.js
Commit message (Collapse)AuthorAgeFilesLines
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-121-2/+4
| | | | | | | | | The `default` export is treated differently across tooling when transpiled to CommonJS - tools differ on whether `module.exports` represents the full module object or just its default export. Switch `src/` modules to named exports for tooling consistency. Fixes gh-5262 Closes gh-5292
* Deprecated: Remove jQuery.trimMichał Gołębiowski-Owczarek2020-05-181-5/+0
| | | | | | The API has been deprecated in 3.5.0 so it can be removed in 4.0.0. Ref gh-4461 Closes gh-4695
* Ajax: Deprecate AJAX event aliases, inline event/alias into deprecatedMichał Gołębiowski-Owczarek2020-01-211-22/+2
| | | | | | | | A new `src/deprecated` directory makes it possible to exclude some deprecated APIs from a custom build when their respective "parent" module is excluded without keeping that module outside of the `src/deprecated` directory or the `src/deprecated.js` file. Closes gh-4572
* Core: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-181-8/+4
| | | | | | | | | | | | | | | | | | | | | | Migrate all source AMD modules to ECMAScript modules. The final bundle is compiled by a custom build process that uses Rollup under the hood. Test files themselves are still loaded via RequireJS as that has to work in IE 11. Tests can now be run in "Load as modules" mode which replaces the previous "Load with AMD" option. That option of running tests doesn't work in IE and Edge as it requires support for dynamic imports. Some of the changes required by the migration: * check `typeof` of `noGlobal` instead of using the variable directly as it's not available when modules are used * change the nonce module to be an object as ECMASscript module exports are immutable * remove some unused exports * import `./core/parseHTML.js` directly in `jquery.js` so that it's not being cut out when the `ajax` module is excluded in a custom compilation Closes gh-4541
* Deprecated: Fix AMD parameter orderMichał Gołębiowski-Owczarek2019-08-311-1/+1
| | | | Ref gh-4461
* Core: Deprecate jQuery.trimShashanka Nataraj2019-08-221-2/+6
| | | | | Fixes gh-4363 Closes gh-4461
* Build: ESLint: forbid unused function parametersMichał Gołębiowski-Owczarek2019-05-131-5/+1
| | | | | | | | | | | | | This commit requires all function parameters to be used, not just the last one. In cases where that's not possible as we need to match an external API, there's an escape hatch of prefixing an unused argument with `_`. This change makes it easier to catch unused AMD dependencies and unused parameters in internal functions the API of which we may change at will, among other things. Unused AMD dependencies have been removed as part of this commit. Closes gh-4381
* Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJSMichał Gołębiowski-Owczarek2019-04-291-3/+2
| | | | | | | | | | | Also, update support comments format to match format described in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197 with the change from: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-448998379 (open-ended ranges end with `+`). Fixes gh-3950 Fixes gh-4299 Closes gh-4347
* Core: Remove deprecated jQuery APIsMichał Gołębiowski-Owczarek2019-04-291-24/+0
| | | | Fixes gh-4056 Closes gh-4364
* Data: Separate data & css/effects camelCase implementationsMichał Gołębiowski-Owczarek2019-04-291-3/+3
| | | | | | | | The camelCase implementation used by the data module no longer turns `-ms-foo` into `msFoo` but to `MsFoo` now. This is because `data` is supposed to be a generic utility not specifically bound to CSS use cases. Fixes gh-3355 Closes gh-4365
* Core: deprecate jQuery.typeJason Bedard2018-01-161-1/+3
| | | | | Fixes gh-3605 Close gh-3895
* Core: deprecate jQuery.isNumericJason Bedard2018-01-151-0/+14
| | | | | Fixes gh-2960 Closes gh-3888
* Event: Move event aliases to deprecatedDave Methvin2018-01-151-1/+3
| | | | Fixes gh-3214
* Core: deprecate jQuery.isFunctionJason Bedard2018-01-151-2/+4
| | | | Fixes gh-3609
* Core: deprecate jQuery.proxy (not slated for removal)Timmy Willison2018-01-081-2/+34
| | | | | Fixes gh-2958 Close gh-3885
* Core: deprecate jQuery.nowTimmy Willison2018-01-081-0/+2
| | | | | Fixes gh-2959 Close gh-3884
* Core: adjust data tests to ensure proper camelCasingTimmy Willison2018-01-081-1/+3
| | | | | - Add back camelCase to the public object (deprecate not remove) Ref #3384
* Core: Deprecate jQuery.isWindowShashanka Nataraj2017-07-101-2/+4
| | | | | Fixes gh-3629 Close gh-3702
* Tests: move readywait to an iframe testSteve Mao2017-03-201-7/+7
| | | | | Close gh-3576 Fixes gh-3573
* Core: move jQuery.fn.nodeName to jQuery.nodeName, add testsMichał Gołębiowski2017-03-061-2/+2
| | | | | Ref ac9e3016 Close gh-3560
* Core: Deprecate jQuery.nodeNamekaran-962017-03-011-3/+5
| | | | | Fixes gh-3475 Closes gh-3505
* Core: Move holdReady to deprecatedManoj Kumar2017-02-131-0/+7
| | | | | Fixes gh-3288 Close gh-3306
* Core: Deprecate jQuery.isArrayManoj Kumar2016-11-301-0/+1
| | | | | Fixes gh-2961 Closes gh-3278
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Core: Deprecate jQuery.parseJSONMichał Gołębiowski2016-03-021-0/+2
| | | | | Fixes gh-2800 Closes gh-2948
* Deprecated: fix amd mode for the deprecated moduleTimmy Willison2015-10-181-1/+3
|
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-121-0/+22
| | | | | Fixes gh-2288 Closes gh-2624
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-2/+2
| | | | Fixes gh-2056
* Deprecated: Drop size and andSelf methodsMichał Gołębiowski2014-10-301-12/+1
| | | | | Fixes gh-1749 Closes gh-1822
* Apply consistent ordering in all modules. -38 bytes. Order modules like ↵Timmy Willison2013-09-091-0/+2
| | | | functions > jQuery.extend > jQuery.fn.extend.
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-5/+5
|
* No ticket: Move jQuery.fn.size to deprecated. Close gh-1229.Michał Gołębiowski2013-04-071-0/+5
| | | | (cherry picked from commit e3777b64377947b7222a2050aee7f2ec371faef9)
* Ref #13283, move .andSelf() to deprecated.js. Close gh-1170.Nguyen Phuc Lam2013-02-261-0/+2
|
* Remove APIs now in jquery-compatDave Methvin2012-11-071-125/+2
|
* Fixes #12736. Move hover event hack to deprecated.js for removal in 1.9. ↵Greg Lavallee2012-10-161-16/+45
| | | | | | Closes gh-982. Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
* Moved attrFN to deprecated. Close gh-977.Akintayo Akinwunmi2012-10-161-0/+3
|
* fix effects tests failureMike Sherov2012-10-161-1/+7
|
* Deprecate fn toggle Closes gh-970 ↵David Bonner2012-10-151-0/+26
| | | | https://github.com/jquery/2012-dev-summit/issues/24
* Fix #12333. Chrome needs $.browser.webkit too.Dave Methvin2012-08-201-4/+5
|
* Clean up regexen; use common regex for numbers. Close gh-862.Richard Gibson2012-07-221-2/+2
|
* Move jQuery.sub to deprecated.js, because it is.Dave Methvin2012-06-291-0/+21
|
* Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves ↵Rick Waldron2012-06-251-0/+41
jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965