File tree Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Expand file tree Collapse file tree 4 files changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,10 @@ if ( isIE ) {
97
97
} ;
98
98
}
99
99
100
- jQuery . each ( jQuery . expr . match . bool . source . match ( / \w + / g ) , function ( _i , name ) {
100
+ jQuery . each ( (
101
+ "checked selected async autofocus autoplay controls defer disabled" +
102
+ " hidden ismap loop multiple open readonly required scoped"
103
+ ) . split ( " " ) , function ( _i , name ) {
101
104
jQuery . attrHooks [ name ] = {
102
105
get : function ( elem ) {
103
106
var ret ,
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import { jQuery } from "./core.js";
25
25
import { document } from "./var/document.js" ;
26
26
import { whitespace } from "./var/whitespace.js" ;
27
27
import { isIE } from "./var/isIE.js" ;
28
- import { booleans } from "./selector/var/booleans.js" ;
29
28
import { rleadingCombinator } from "./selector/var/rleadingCombinator.js" ;
30
29
import { rdescend } from "./selector/var/rdescend.js" ;
31
30
import { rsibling } from "./selector/var/rsibling.js" ;
@@ -41,7 +40,6 @@ import "./selector/escapeSelector.js";
41
40
import "./selector/uniqueSort.js" ;
42
41
43
42
var matchExpr = jQuery . extend ( {
44
- bool : new RegExp ( "^(?:" + booleans + ")$" , "i" ) ,
45
43
needsContext : new RegExp ( "^" + whitespace + "*[>+~]" )
46
44
} , filterMatchExpr ) ;
47
45
Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ import { rbuggyQSA } from "./selector/rbuggyQSA.js";
9
9
import { rtrimCSS } from "./var/rtrimCSS.js" ;
10
10
import { isIE } from "./var/isIE.js" ;
11
11
import { identifier } from "./selector/var/identifier.js" ;
12
- import { booleans } from "./selector/var/booleans.js" ;
13
12
import { rleadingCombinator } from "./selector/var/rleadingCombinator.js" ;
14
13
import { rdescend } from "./selector/var/rdescend.js" ;
15
14
import { rsibling } from "./selector/var/rsibling.js" ;
@@ -24,6 +23,7 @@ import { tokenize } from "./selector/tokenize.js";
24
23
import { toSelector } from "./selector/toSelector.js" ;
25
24
26
25
// The following utils are attached directly to the jQuery object.
26
+ import "./attributes/attr.js" ; // jQuery.attr
27
27
import "./selector/escapeSelector.js" ;
28
28
import "./selector/uniqueSort.js" ;
29
29
50
50
ridentifier = new RegExp ( "^" + identifier + "$" ) ,
51
51
52
52
matchExpr = jQuery . extend ( {
53
- bool : new RegExp ( "^(?:" + booleans + ")$" , "i" ) ,
54
53
55
54
// For use in libraries implementing .is()
56
55
// We use this for POS matching in `select`
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments