8000 fixup! Selector: Make `selector.js` module depend on `attributes/attr… · jquery/jquery@2a54f5d · GitHub
[go: up one dir, main page]

Skip to content

Commit 2a54f5d

Browse files
committed
fixup! Selector: Make selector.js module depend on attributes/attr.js
1 parent 01fa7eb commit 2a54f5d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/attributes/attr.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { access } from "../core/access.js";
33
import { nodeName } from "../core/nodeName.js";
44
import { rnothtmlwhite } from "../var/rnothtmlwhite.js";
55
import { isIE } from "../var/isIE.js";
6-
import { rbooleans } from "./var/rbooleans.js";
76

87
jQuery.fn.extend( {
98
attr: function( name, value ) {
@@ -98,7 +97,10 @@ if ( isIE ) {
9897
};
9998
}
10099

101-
jQuery.each( rbooleans.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 ) {
102104
jQuery.attrHooks[ name ] = {
103105
get: function( elem ) {
104106
var ret,

src/attributes/var/rbooleans.js

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)
0