mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Build: Fix unresolved jQuery reference in finalPropName
Also, prevent further similar breakages by changing our ESLint configuration
to disallow relying on a global jQuery object in AMD modules.
(cherry-picked from 874030583c
)
Fixes gh-4358
Closes gh-4361
This commit is contained in:
parent
22caea8149
commit
0d4af52934
@ -3,7 +3,12 @@
|
|||||||
|
|
||||||
"extends": "../.eslintrc-browser.json",
|
"extends": "../.eslintrc-browser.json",
|
||||||
|
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": "wrapper.js",
|
||||||
"globals": {
|
"globals": {
|
||||||
"jQuery": true
|
"jQuery": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
@ -1,4 +1,7 @@
|
|||||||
define( [ "../var/document" ], function( document ) {
|
define( [
|
||||||
|
"../var/document",
|
||||||
|
"../core"
|
||||||
|
], function( document, jQuery ) {
|
||||||
|
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user