File tree 2 files changed +26
-0
lines changed 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ src /selector-sizzle.js
1
2
src /selector.js
2
3
dist
3
4
.project
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Optional (non-Sizzle) selector module for custom builds.
3
+ *
4
+ * Note that this DOES NOT SUPPORT many documented jQuery
5
+ * features in exchange for its smaller size:
6
+ *
7
+ * Attribute not equal selector
8
+ * Positional selectors (:first; :eq(n); :odd; etc.)
9
+ * Type selectors (:input; :checkbox; :button; etc.)
10
+ * State-based selectors (:animated; :visible; :hidden; etc.)
11
+ * :has(selector)
12
+ * :not(complex selector)
13
+ * custom selectors via Sizzle extensions
14
+ * Leading combinators (e.g., $collection.find("> *"))
15
+ * Reliable functionality on XML fragments
16
+ * Requiring all parts of a selector to match elements under context
17
+ * (e.g., $div.find("div > *") now matches children of $div)
18
+ * Matching against non-elements
19
+ * Reliable sorting of disconnected nodes
20
+ * querySelectorAll bug fixes (e.g., unreliable :focus on WebKit)
21
+ *
22
+ * If any of these are unacceptable tradeoffs, either use Sizzle or
23
+ * customize this stub for the project's specific needs.
24
+ */
25
+
1
26
var selector_hasDuplicate ,
2
27
matches = docElem . matchesSelector ||
3
28
docElem . mozMatchesSelector ||
You can’t perform that action at this time.
0 commit comments