From 9887579b61972647f1478e64c5d7987f9d9cb039 Mon Sep 17 00:00:00 2001 From: Michał Gołębiowski-Owczarek Date: Fri, 10 May 2024 14:45:59 +0200 Subject: All: Stop relying on jquery-patch.js internally, add tests Avoid relying on jQuery patches. Instead: * use `CSS.escape` instead of `jQuery.escapeSelector` * use `.filter()` with a proper handler instead of `.even()` Keep `jquery-patch.js` for backwards compatibility, though. Also, add tests for jquery-patch. Ref gh-2249 --- tests/unit/jquery-patch/jquery-patch.html | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 tests/unit/jquery-patch/jquery-patch.html (limited to 'tests/unit/jquery-patch/jquery-patch.html') diff --git a/tests/unit/jquery-patch/jquery-patch.html b/tests/unit/jquery-patch/jquery-patch.html new file mode 100644 index 000000000..a20e25d4a --- /dev/null +++ b/tests/unit/jquery-patch/jquery-patch.html @@ -0,0 +1,26 @@ + + + + + jQuery UI Form Reset Mixin Test Suite + + + + + + + +
+
+ +
+ + + + +
+ +
+ + -- cgit v1.2.3