Skip to content
Permalink
Browse files

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 8740305)

Fixes gh-4358
Closes gh-4361
  • Loading branch information...
mgol committed Apr 17, 2019
1 parent 22caea8 commit 0d4af5293449722fe873bc1a4b462a857dbbe58e
Showing with 12 additions and 4 deletions.
  1. +8 −3 src/.eslintrc.json
  2. +4 −1 src/css/finalPropName.js
@@ -3,7 +3,12 @@

"extends": "../.eslintrc-browser.json",

"globals": {
"jQuery": true
}
"overrides": [
{
"files": "wrapper.js",
"globals": {
"jQuery": false
}
}
]
}
@@ -1,4 +1,7 @@
define( [ "../var/document" ], function( document ) {
define( [
"../var/document",
"../core"
], function( document, jQuery ) {

"use strict";

0 comments on commit 0d4af52

Please sign in to comment.
You can’t perform that action at this time.