Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Core: Migrate from AMD to ES modules 🎉#4541

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mgol merged 20 commits intojquery:masterfrommgol:es-modules
Nov 18, 2019
Merged
Changes from1 commit
Commits
Show all changes
20 commits
Select commitHold shift + click to select a range
7993682
Core: Migrate all source AMD modules to ECMAScript modules
mgolOct 23, 2019
11bc60a
Core: Use explicit extensions for imports so that they work natively
mgolOct 23, 2019
8cd544d
Core: Make noGlobal handling in global.js work in ES modules mode
mgolOct 23, 2019
c90d8a1
Ajax: Workaround nonce being immutable as an ES module
mgolOct 23, 2019
fa6878b
Build: Add a basic Rollup config
mgolOct 23, 2019
a72e591
Build: Remove an export from src/queue/delay.js
mgolOct 24, 2019
82cb929
Build: Make sure the jQuery global isn't set when ES modules are used
mgolOct 24, 2019
d68ad3c
Tests: Convert test setup to work with source ES modules
mgolOct 24, 2019
e0e5bff
Build: A basic fully working Rollup build (`grunt` & `npm test` both …
mgolOct 28, 2019
9dc310e
Build: Normalize srcFolder, fix rollupHypotheticalOptions usage
mgolNov 14, 2019
7fe6f83
Core: disable the max-len rule for the version variable
mgolNov 14, 2019
c6b75df
Build: Add back support for custom compilation
mgolNov 14, 2019
1065fa3
Core: Import "./core/parseHTML.js" directly in jquery.js
mgolNov 14, 2019
a4250b2
Core: Minor comments tweaks
mgolNov 14, 2019
afeb0eb
Build: rename jsmodules to esmodules
mgolNov 15, 2019
3b21968
Build: Use more of Rollup API, simplify logic
mgolNov 17, 2019
f6f0545
Build: Simplify ESLint exclusions & globals, revert globalJQuery to n…
mgolNov 17, 2019
910d815
Build: Move the parseHTML import to save size
mgolNov 18, 2019
c2d5407
Build: Compress ajax/var/nonce.js
mgolNov 18, 2019
eba151a
Build: ESLint tweaks
mgolNov 18, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
Core: Make noGlobal handling in global.js work in ES modules mode
  • Loading branch information
@mgol
mgol committedOct 28, 2019
commit8cd544db13ffbe3b95cf5c0234a6b39ff7e30df1
2 changes: 1 addition & 1 deletionsrc/exports/global.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,6 +23,6 @@ jQuery.noConflict = function( deep ) {
// Expose jQuery and $ identifiers, even in AMD
// (#7102#comment:10, https://github.com/jquery/jquery/pull/557)
// and CommonJS for browser emulators (#13566)
if (!noGlobal ) {
if (typeofnoGlobal !== "undefined" ) {
window.jQuery = window.$ = jQuery;
}

[8]ページ先頭

©2009-2025 Movatter.jp