aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Gołębiowski-Owczarek <m.goleb@gmail.com>2019-04-17 19:56:25 +0200
committerGitHub <noreply@github.com>2019-04-17 19:56:25 +0200
commit874030583c9b94603de467124420e6c7a1c3c8ac (patch)
treed60654b7c512d29f71a95c03cb2ac8416493fbb6
parentcf9fe0f6a104a0f527c7c3f441485c19e2b19c69 (diff)
downloadjquery-874030583c9b94603de467124420e6c7a1c3c8ac.tar.gz
jquery-874030583c9b94603de467124420e6c7a1c3c8ac.zip
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. Fixes gh-4358 Closes gh-4361
-rw-r--r--src/.eslintrc.json11
-rw-r--r--src/css/finalPropName.js5
2 files changed, 12 insertions, 4 deletions
diff --git a/src/.eslintrc.json b/src/.eslintrc.json
index 2083914bd..3d0ca185a 100644
--- a/src/.eslintrc.json
+++ b/src/.eslintrc.json
@@ -3,7 +3,12 @@
"extends": "../.eslintrc-browser.json",
- "globals": {
- "jQuery": true
- }
+ "overrides": [
+ {
+ "files": "wrapper.js",
+ "globals": {
+ "jQuery": false
+ }
+ }
+ ]
}
diff --git a/src/css/finalPropName.js b/src/css/finalPropName.js
index e5c77b0b2..352d18a27 100644
--- a/src/css/finalPropName.js
+++ b/src/css/finalPropName.js
@@ -1,4 +1,7 @@
-define( [ "../var/document" ], function( document ) {
+define( [
+ "../var/document",
+ "../core"
+], function( document, jQuery ) {
"use strict";
n value='artonge/optim/close_connection_before_s3_upload'>artonge/optim/close_connection_before_s3_upload Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/index.html
blob: f160f46b6fc2bf9a7c1351dde07695afb1e249f2 (plain)
1
2
3
4
5
6
7
<!DOCTYPE html>
<html>
<head>
	<script type="text/javascript"> window.location.href="index.php"; </script>
	<meta http-equiv="refresh" content="0; URL=index.php">
</head>
</html>