aboutsummaryrefslogtreecommitdiffstats
path: root/src/data/var
Commit message (Collapse)AuthorAgeFilesLines
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-123-5/+5
| | | | | | | | | 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
* Build: Update eslint-config-jquery, fix linting violationsMichał Gołębiowski-Owczarek2020-05-181-1/+1
| | | | | Closes gh-4696 Ref jquery/eslint-config-jquery#15 Ref jquery/eslint-config-jquery#16
* Core: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-183-19/+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
* Build: ESLint detailsOleg Gaidarenko2016-06-111-1/+0
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-253-0/+6
| | | | Fixes gh-3073
* Build: put back "lint" command to the "dev" listOleg Gaidarenko2015-09-081-0/+1
| | | | | | Also fix lint error in `data` module. It seems this command was removed from the list during merge
* Data: Don't expose jQuery.acceptDataJason Bedard2015-09-081-0/+17
| | | | | | jQuery.acceptData is an undocumented internal API that shouldn't be exposed. Fixes gh-2555
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-072-4/+4
| | | | Fixes gh-2056
* Build: update grunt-jscs-checker and pass with the new rulesTimmy Willison2014-07-172-0/+0
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-152-0/+10