aboutsummaryrefslogtreecommitdiffstats
path: root/src/manipulation/var
Commit message (Collapse)AuthorAgeFilesLines
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-122-2/+2
| | | | | | | | | 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
* Core: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-182-13/+5
| | | | | | | | | | | | | | | | | | | | | | 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: Leverage native events for focus/blur/click; propagate additional dataRichard Gibson2019-03-201-5/+0
| | | | | | | | | | | | | | | | | | | | | Summary of the changes/fixes: 1. Trigger checkbox and radio click events identically (cherry-picked from b442abacbb8464f0165059e8da734e3143d0721f that was reverted before). 2. Manually trigger a native event before checkbox/radio handlers. 3. Add test coverage for triggering namespaced native-backed events. 4. Propagate extra parameters passed when triggering the click event to the handlers. 5. Intercept and preserve namespaced native-backed events. 6. Leverage native events for focus and blur. 7. Accept that focusin handlers may fire more than once for now. Fixes gh-1741 Fixes gh-3423 Fixes gh-3751 Fixes gh-4139 Closes gh-4279 Ref gh-1367 Ref gh-3494
* Manipulation: Properly detect HTML elements with single-character namesRichard Gibson2018-07-131-1/+4
| | | | Fixes gh-4124 Closes gh-4125
* Manipulation: Add support for scripts with module typebasil.belokon2018-01-161-1/+1
| | | | | Fixes gh-3871 Close gh-3869
* Revert "Event: Trigger checkbox and radio click events identically"Timmy Willison2017-03-201-0/+5
| | | | This reverts commit b442abacbb8464f0165059e8da734e3143d0721f.
* Event: Trigger checkbox and radio click events identicallyAlex Padilla2017-01-191-5/+0
| | | | | Fixes gh-3423 Closes gh-3494
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-253-0/+6
| | | | Fixes gh-3073
* Manipulation: Bring tagname regexes up to specLeonardo Braga2016-01-071-1/+1
| | | | | Fixes gh-2005 Closes gh-2634
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-073-7/+7
| | | | Fixes gh-2056
* Manipulation: privatize buildFragment() functionTimmy Willison2015-05-052-0/+6
| | | | Fixes gh-2224
* No ticket. Restore checking individual src/**/*.js files by jsHint.Michał Gołębiowski2013-09-061-2/+2
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-0/+3