aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/deprecated.js
Commit message (Collapse)AuthorAgeFilesLines
* Build: migrate most grunt tasks off of gruntTimmy Willison2023-09-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | Updated tasks include: - lint - npmcopy - build, minify, and process for distribution. - new custom build command using yargs - compare size of minified/gzip built files - pretest scripts, including qunit-fixture, babel transpilation, and npmcopy - node smoke tests - promises aplus tests - new watch task using `rollup.watch` directly Also: - upgraded husky and added the new lint command - updated lint config to use new "flat" config format. See https://eslint.org/docs/latest/use/configure/configuration-files-new - Temporarily disabled one lint rule until flat config is supported by eslint-plugin-import. See https://github.com/import-js/eslint-plugin-import/issues/2556 - committed package-lock.json - updated all test scripts to use the new build - added an express test server that uses middleware-mockserver (this can be used to run tests without karma) - build-all-variants is now build:all Close gh-5318
* Tests: Test AJAX deprecated event aliases properlyMichał Gołębiowski-Owczarek2023-03-151-5/+5
| | | | | | | | PR gh-5046 erroneously changed AJAX deprecated event alias usage in deprecated tests to `.on()` calls. This change reverses this mistake. Closes gh-5195 Ref gh-5046
* Tests: Exclude tests based on compilation flags, not API presenceMichał Gołębiowski-Owczarek2022-06-281-11/+14
| | | | | | | | | | Introduces a new test API, `includesModule`. The method returns whether a particular module like "ajax" or "deprecated" is included in the current jQuery build; it handles the slim build as well. The util was created so that we don't treat presence of particular APIs to decide whether to run a test as then if we accidentally remove an API, the tests would still not fail. Fixes gh-5069 Closes gh-5046
* Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`Michał Gołębiowski-Owczarek2022-01-041-1/+1
| | | | | | | | | | | | | The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4993
* Deprecated: Remove jQuery.trimMichał Gołębiowski-Owczarek2020-05-181-22/+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
* Manipulation: Make jQuery.htmlPrefilter an identity functionMichał Gołębiowski-Owczarek2020-03-161-1/+1
| | | Closes gh-4642
* Build:Tests: Fix custom build tests, verify on Travis Michał Gołębiowski-Owczarek2020-01-071-4/+43
| | | | | | | | | | | This commit fixes unit tests for the following builds: 1. The no-deprecated build: `custom:-deprecated` 2. The current slim build: `custom:-ajax,-effects` 3. The future (#4553) slim build: `custom:-ajax,-callbacks,-deferred,-effects` It also adds separate Travis jobs for the no-deprecated & slim builds. Closes gh-4577
* Core: Deprecate jQuery.trimShashanka Nataraj2019-08-221-0/+22
| | | | | Fixes gh-4363 Closes gh-4461
* Core: Remove IE-specific support tests, rely on document.documentModeMichał Gołębiowski-Owczarek2019-05-131-23/+19
| | | | | | | Also, update some tests to IE-sniff when deciding whether to skip a test. Fixes gh-4386 Closes gh-4387
* Core: Remove deprecated jQuery APIsMichał Gołębiowski-Owczarek2019-04-291-436/+0
| | | | Fixes gh-4056 Closes gh-4364
* Build: Update QUnit from 1.23.1 to 2.9.2Michał Gołębiowski-Owczarek2019-03-041-2/+2
| | | Closes gh-4307
* Build: Update test code for compatibility with QUnit 2.x (#4297)abnud12019-02-181-1/+1
| | | | | | | | Also, run `grunt npmcopy` to sync the "external" directory with dependencies from package.json. For example, the Sinon library version didn't match. Ref gh-4234 Closes gh-4297
* Core: deprecate jQuery.typeJason Bedard2018-01-161-4/+42
| | | | | Fixes gh-3605 Close gh-3895
* Core: deprecate jQuery.isNumericJason Bedard2018-01-151-0/+75
| | | | | Fixes gh-2960 Closes gh-3888
* Event: Move event aliases to deprecatedDave Methvin2018-01-151-0/+76
| | | | Fixes gh-3214
* Core: deprecate jQuery.isFunctionJason Bedard2018-01-151-0/+155
| | | | Fixes gh-3609
* Core: deprecate jQuery.proxy (not slated for removal)Timmy Willison2018-01-081-0/+48
| | | | | Fixes gh-2958 Close gh-3885
* Core: deprecate jQuery.nowTimmy Willison2018-01-081-0/+6
| | | | | Fixes gh-2959 Close gh-3884
* Core: make camelCase function available only for internal usageNilton Cesar2018-01-081-0/+19
| | | | | Close gh-3604 Fixes gh-3384
* Core: Deprecate jQuery.isWindowShashanka Nataraj2017-07-101-0/+19
| | | | | Fixes gh-3629 Close gh-3702
* Core: move jQuery.fn.nodeName to jQuery.nodeName, add testsMichał Gołębiowski2017-03-061-0/+48
| | | | | Ref ac9e3016 Close gh-3560
* Core: Deprecate jQuery.isArrayManoj Kumar2016-11-301-0/+6
| | | | | Fixes gh-2961 Closes gh-3278
* Build: ESLint detailsOleg Gaidarenko2016-06-111-2/+2
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Docs: Update support comments to follow the new syntaxMichał Gołębiowski2016-03-301-1/+1
| | | | | The changes follow the spec proposed in: https://github.com/jquery/contribute.jquery.org/issues/95#issuecomment-69379197
* Core: Deprecate jQuery.parseJSONMichał Gołębiowski2016-03-021-1/+71
| | | | | Fixes gh-2800 Closes gh-2948
* Event: Move .bind() and .delegate() to deprecatedDave Methvin2015-10-121-0/+40
| | | | | Fixes gh-2288 Closes gh-2624
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-1/+1
| | | | Fixes gh-2056
* Tests: partially use new qunit interfaceOleg Gaidarenko2015-08-161-1/+1
| | | | | | | | | | | | http://qunitjs.com/upgrade-guide-2.x/ For most of the boring work was used https://github.com/apsdehal/qunit-migrate package However, it can't update local qunit helpers, plus in some places old QUnit.asyncTest signature is still used Fixes gh-2540
* Deprecated: Drop size and andSelf methodsMichał Gołębiowski2014-10-301-6/+0
| | | | | Fixes gh-1749 Closes gh-1822
* Move size() test to deprecated.js and avoid in other tests. Close gh-1237.Michał Gołębiowski2013-04-081-1/+8
|
* Remove APIs now in jquery-compatDave Methvin2012-11-071-139/+1
|
* Fixes #12736. Move hover event hack to deprecated.js for removal in 1.9. ↵Greg Lavallee2012-10-161-0/+29
| | | | | | Closes gh-982. Signed-off-by: Timmy Willison <timmywillisn@gmail.com>
* Moved attrFN to deprecated. Close gh-977.Akintayo Akinwunmi2012-10-161-0/+6
|
* Fix style nit: indent inside if statementRick Waldron2012-10-151-99/+99
|
* Deprecate fn toggle Closes gh-970 ↵David Bonner2012-10-151-23/+99
| | | | https://github.com/jquery/2012-dev-summit/issues/24
* Adds src/deprecated.js, test/unit/deprecated.js; -deprecated flag; Moves ↵Rick Waldron2012-06-251-0/+28
jQuery.browser and removes use in test/unit/ajax.js. Fixes #11965