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

Commit8740305

Browse files
authored
Build: Fix unresolved jQuery reference in finalPropName
Also, prevent further similar breakages by changing our ESLint configurationto disallow relying on a global jQuery object in AMD modules.Fixesgh-4358Closesgh-4361
1 parentcf9fe0f commit8740305

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

‎src/.eslintrc.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

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

6-
"globals": {
7-
"jQuery":true
8-
}
6+
"overrides": [
7+
{
8+
"files":"wrapper.js",
9+
"globals": {
10+
"jQuery":false
11+
}
12+
}
13+
]
914
}

‎src/css/finalPropName.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
define(["../var/document"],function(document){
1+
define([
2+
"../var/document",
3+
"../core"
4+
],function(document,jQuery){
25

36
"use strict";
47

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp