aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/access.js
Commit message (Collapse)AuthorAgeFilesLines
* Core: Use named exports in `src/`Michał Gołębiowski-Owczarek2023-09-121-6/+4
| | | | | | | | | 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: Correct code indentations based on jQuery Style GuideWonseop Kim2020-05-051-2/+2
| | | | | | | | 1. Correct code indentations based on jQuery Style Guide (contribute.jquery.org/style-guide/js/#spacing). 2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent indentation", with minimal changes to the current code. Closes gh-4672
* Core: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-181-9/+3
| | | | | | | | | | | | | | | | | | | | | | 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: forbid unused function parametersMichał Gołębiowski-Owczarek2019-05-131-1/+1
| | | | | | | | | | | | | This commit requires all function parameters to be used, not just the last one. In cases where that's not possible as we need to match an external API, there's an escape hatch of prefixing an unused argument with `_`. This change makes it easier to catch unused AMD dependencies and unused parameters in internal functions the API of which we may change at will, among other things. Unused AMD dependencies have been removed as part of this commit. Closes gh-4381
* Core: Drop support for IE <11, iOS <11, Firefox <65, Android Browser & PhantomJSMichał Gołębiowski-Owczarek2019-04-291-4/+3
| | | | | | | | | | | 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.typeJason Bedard2018-01-161-2/+3
| | | | | Fixes gh-3605 Close gh-3895
* Core: deprecate jQuery.isFunctionJason Bedard2018-01-151-3/+4
| | | | Fixes gh-3609
* Build: Update eslint config and fix associated errorsOleg Gaidarenko2016-07-151-6/+9
|
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-251-0/+2
| | | | Fixes gh-3073
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-071-5/+10
| | | | Fixes gh-2056
* Core: Don't expose jQuery.accessMichał Gołębiowski2015-08-031-1/+1
| | | | | | | jQuery.access was never documented, there is no need to keep it exposed. Fixes gh-2513 Closes gh-2524
* Core: Consistently use local reference to access()Timo Tijhof2014-07-121-1/+1
| | | | | Ref 3b53b75160606610cc8f87404f89fc9e10441c4b Closes gh-1605
* Reduce size by reordering variable declarationsChris Antaki2013-12-161-3/+3
| | | | Close gh-1421
* All non-var modules should not indent in their AMD wrappers (just for ↵Timmy Willison2013-09-091-44/+46
| | | | prettier builds). No functionality changes.
* Break jQuery.access out into its own module to separate it from core; Adjust ↵Timmy Willison2013-09-091-0/+58
CommonJS+AMD build support to include non-var dependencies. Convert modules with more than a few dependencies to use CJS+AMD syntax.