aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/load.js
Commit message (Collapse)AuthorAgeFilesLines
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-121-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-181-12/+7
| | | | | | | | | | | | | | | | | | | | | | 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
* 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: deprecate jQuery.isFunctionJason Bedard2018-01-151-2/+3
| | | | Fixes gh-3609
* Core: rnotwhite -> rhtmlnotwhite and jQuery.trim -> stripAndCollapseTimmy Willison2016-09-151-2/+3
| | | | | | | | | | | | - Renames and changes rnotwhite to focus on HTML whitespace chars - Change internal use of jQuery.trim to more accurate strip and collapse - Adds tests to ensure HTML space characters are retained where valid - Doesn't add tests where the difference is inconsequential and existing tests are adequate. Fixes gh-3003 Fixes gh-3072 Close gh-3316
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Ajax: execute jQuery#load callback with correct contextOleg Gaidarenko2016-04-041-1/+1
| | | | | | | Thanks @blq (Fredrik Blomqvist) Fixes gh-3035 Close gh-3039
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-9/+9
| | | | Fixes gh-2056
* Ajax: Remove remnants of the load event alias handlingMichał Gołębiowski2015-06-011-10/+1
| | | | | | Refs 0705be475092aede1eddae01319ec931fb9c65fc Refs gh-2287 Closes gh-2362
* Ajax: remove use of jQuery#each second argumentOleg Gaidarenko2015-02-191-1/+3
| | | | Ref gh-2090
* Ajax: replace "jqXHR.complete" callback with "always"Oleg Gaidarenko2015-02-151-1/+4
| | | | | | | | | Since it was deprecated since 1.8. Also add additional comments which explains tricky behaviour of "always" callback Closes gh-2033
* Ajax: make jQuery#load "type" field explicitOleg Gaidarenko2015-02-151-2/+4
| | | | | | | | * Move "evalScript.php" file to appropriate place * Make jQuery#load "type" field explicit and add test for it Ref trac-11264
* Core: Standardize indexOf comparisonsRichard Gibson2015-01-101-1/+1
| | | | | | | | not present: `< 0` present: `> -1` at index: `=== N` Closes gh-1984
* Ajax: .load() should trim its selectorDave Methvin2014-03-041-1/+1
| | | | Fixes #14773
* Move parsing methods to their own files (separates manipulation dependency ↵Timmy Willison2013-09-081-0/+1
| | | | from core)
* No ticket. Restore checking individual src/**/*.js files by jsHint.Michał Gołębiowski2013-09-061-1/+1
|
* Pass all tests (and load Sizzle fixture correctly) when loading with AMDTimmy Willison2013-08-291-1/+4
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-0/+71