aboutsummaryrefslogtreecommitdiffstats
path: root/src/jquery.js
Commit message (Collapse)AuthorAgeFilesLines
* Build:Event: Make sure all source modules' exports are used (#4648)Michał Gołębiowski-Owczarek2020-06-021-0/+1
| | | | | | | To achieve that, use `eslint-plugin-import`'s `no-unused-modules` rule. Also, explicitly import `event/trigger.js` from `jquery.js`; so far it was only imported from ajax.js, making it mistakenly skipped in the `custom:slim,-deprecated` build.
* CSS: Include `show`, `hide` & `toggle` methods in the jQuery slim buildMichał Gołębiowski-Owczarek2020-05-051-0/+1
| | | | | | | | | | | | The `show()`, `hide()` & `toggle()` methods were included in the 3.x jQuery slim build. The jQuery master build accidentally started to exclude them as they were only imported in the effects module and the new Rollup-based build system follows the module dependency graph when excluding modules. To resolve the issue, import the `css/showHide.js` file directly in the main `jquery.js` file. Closes gh-4704 Ref jquery/jquery-migrate#346
* Ajax: Deprecate AJAX event aliases, inline event/alias into deprecatedMichał Gołębiowski-Owczarek2020-01-211-1/+0
| | | | | | | | 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
* Build:Tests: Fix custom build tests, verify on Travis Michał Gołębiowski-Owczarek2020-01-071-1/+2
| | | | | | | | | | | 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: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-181-37/+33
| | | | | | | | | | | | | | | | | | | | | | 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
* Event: Stop shimming focusin & focusout eventsMichał Gołębiowski-Owczarek2019-04-291-1/+0
| | | | | | | | | | | Latest versions of all browsers now implement focusin & focusout natively and they all converged on a common event order so it doesn't make much sense for us to normalize it to a different order anymore. Note that it means we no longer guarantee that focusin fires before focus and focusout before blur. Fixes gh-4300 Closes gh-4362
* Event: Move event aliases to deprecatedDave Methvin2018-01-151-1/+0
| | | | Fixes gh-3214
* Core: expose noConflict in AMD modeTimmy Willison2016-08-151-2/+3
| | | | | | | | - For compability reasons, we had already added the global in AMD mode, but without noConflict. This adds back noConflict to AMD (which fixes noConflict mode in the tests). Fixes gh-2930
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Deferred: Warn on exceptions that are likely programming errorsDave Methvin2016-01-131-0/+1
| | | | | Fixes gh-2736 Closes gh-2737
* Event: Separate trigger/simulate into its own moduleDave Methvin2015-11-061-0/+1
| | | | | | | | Fixes gh-1864 Closes gh-2692 This also pulls the focusin/out special event into its own module, since that depends on simulate(). NB: The ajax module triggers events pretty heavily.
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-3/+3
| | | | Fixes gh-2056
* Build: fix tests in AMD modeTimmy Willison2014-12-091-3/+2
|
* Ajax: move ajax event aliases to their own fileTimmy Willison2014-06-021-0/+1
| | | | Fixes #15126
* Build: Add the ability to remove global exposure.Timmy Willison2013-12-191-5/+3
| | | | Ref #14016
* Fix #10814. Make support tests lazy and broken out to components.Michał Gołębiowski2013-09-061-3/+2
|
* When converting the source to AMD, don't forget to AMDTimmy Willison2013-08-161-1/+2
|
* Specify support as a dependency wherever it is used. Optimize module order ↵Timmy Willison2013-08-151-2/+2
| | | | to save 15 bytes.
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-0/+38
|
* Finished up some of the reorganization.John Resig2007-09-081-1014/+0
|
* Reorganzing the jQuery source (first phase).John Resig2007-09-081-0/+1014