aboutsummaryrefslogtreecommitdiffstats
path: root/src/exports
Commit message (Collapse)AuthorAgeFilesLines
* Docs: Replace `#NUMBER` Trac issue references with `trac-NUMBER`Michał Gołębiowski-Owczarek2022-01-041-2/+2
| | | | | | | | | | | | | The GitHub UI treats `#NUMBER` as referring to its own issues which is confusing when in jQuery source it's usually referring to the old deprecated Trac instance at https://bugs.jquery.com. This change replaces all such Trac references with `trac-NUMBER`. A few of the references came with the Sizzle integration and referred to the Sizzle GitHub bug tracker. Those have been replaced with full links instead. A new entry describing issue reference conventions has been added to README. Closes gh-4993
* Core: Migrate from AMD to ES modules 🎉Michał Gołębiowski-Owczarek2019-11-182-15/+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
* Core: expose noConflict in AMD modeTimmy Willison2016-08-151-6/+6
| | | | | | | | - 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: ESLint detailsOleg Gaidarenko2016-06-111-1/+1
| | | | | | Use eslint pragmas, fix new errors, etc Closes gh-3148
* Build: Strip the strict-mode related comment in exports/global.jsMichał Gołębiowski2016-04-261-0/+4
| | | | | | | The comment (& the JSHint pragma) doesn't make sense in the context of the full built file. Closes gh-3078
* Build: Put all AMD modules in "src/" in strict modeMichał Gołębiowski2016-04-252-0/+6
| | | | Fixes gh-3073
* Build: Update jscs and lint filesOleg Gaidarenko2015-09-072-3/+4
| | | | Fixes gh-2056
* Build: fix tests in AMD modeTimmy Willison2014-12-091-6/+0
|
* Build: Moved JSHint directives to .jshintrc fileChris Antaki2014-09-021-3/+0
| | | | Closes gh-1595
* Core: Drop strundefined variableChris Antaki2014-09-021-4/+6
|
* Support: clean up comments and Support notationDave Methvin2014-06-101-2/+2
| | | | Closes gh-1577
* AMD: Note on AMD best practicesS. Andrew Sheppard2014-03-121-0/+6
| | | | | Fixes #14687 Closes gh-1478
* exports/global: Do not attach global variables for most CommonJS environmentsTimmy Willison2013-12-201-3/+6
| | | | | | | For CommonJS environments where the global already has a document, it is expected that if a global is needed, the user can attach the global. Fixes #14645.
* Build: Add the ability to remove global exposure.Timmy Willison2013-12-191-0/+29
| | | | Ref #14016
* No ticket. Restore checking individual src/**/*.js files by jsHint.Michał Gołębiowski2013-09-061-1/+1
|
* When converting the source to AMD, don't forget to AMDTimmy Willison2013-08-161-1/+7
|
* AMD-ify jQuery sourcegit s! Woo! Fixes #14113, #14163.Timmy Willison2013-08-151-0/+12