From 7caf8f61df7840fb3de2478a75aec229d9f84f15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Go=C5=82=C4=99biowski-Owczarek?= Date: Sat, 16 May 2020 08:29:08 +0200 Subject: [PATCH] Build: Rename jquery-1-7 to jquery-patch The file now contains many more than just jQuery 1.7 patches. Closes gh-1917 --- tests/lib/bootstrap.js | 2 +- ui/core.js | 2 +- ui/{jquery-1-7.js => jquery-patch.js} | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename ui/{jquery-1-7.js => jquery-patch.js} (100%) diff --git a/tests/lib/bootstrap.js b/tests/lib/bootstrap.js index 58710367c..bae1afada 100644 --- a/tests/lib/bootstrap.js +++ b/tests/lib/bootstrap.js @@ -177,7 +177,7 @@ function migrateUrl() { // Load the jQuery fixes, if necessary if ( !jQueryVersion || ( jQueryVersion.indexOf( "git" ) === -1 && parseFloat( jQueryVersion ) < 4 ) ) { - modules.unshift( "ui/jquery-1-7" ); + modules.unshift( "ui/jquery-patch" ); } requireTests( modules, noBackCompat ); diff --git a/ui/core.js b/ui/core.js index 2cccd0bd8..d42aedea9 100644 --- a/ui/core.js +++ b/ui/core.js @@ -9,7 +9,7 @@ define( [ "./ie", "./keycode", "./labels", - "./jquery-1-7", + "./jquery-patch.js", "./plugin", "./safe-active-element", "./safe-blur", diff --git a/ui/jquery-1-7.js b/ui/jquery-patch.js similarity index 100% rename from ui/jquery-1-7.js rename to ui/jquery-patch.js