-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e4447a
commit d1a4e91
Showing
9 changed files
with
1,744 additions
and
32 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
/** | ||
* Snizzle is a advance feature-rich CSS Selector Engine v1.7.1 | ||
* Snizzle is a advance feature-rich CSS Selector Engine v1.8.0 | ||
* https://github.com/jqrony/snizzle | ||
* | ||
* @releases +10 releases | ||
* @version 1.7.1 | ||
* @version 1.8.0 | ||
* | ||
* Copyright OpenJS Foundation and other contributors | ||
* Released under the MIT license | ||
* @license MIT | ||
* https://github.com/jqrony/snizzle/blob/main/LICENSE | ||
* | ||
* @author Shahzada Modassir <[email protected]> | ||
* Date: 05 May 2024 12:25 GMT+0530 (India Standard Time) | ||
* Date: 28 November 10:03 GMT+0530 (India Standard Time) | ||
*/ | ||
(function(window) { | ||
|
||
|
@@ -30,7 +30,7 @@ var i, support, unique, Expr, getText, isXML, tokenize, select, | |
preferredDoc = window.document, | ||
|
||
// The current version of Snizzle | ||
version = "1.7.1", | ||
version = "1.8.0", | ||
|
||
// Instance array-obj methods | ||
arr = [], | ||
|
@@ -133,8 +133,6 @@ var i, support, unique, Expr, getText, isXML, tokenize, select, | |
// 1. TAG (capture 1), 2. :nth-child (capture 2), 3. Slash (capture 3) | ||
xpOrdDesc = "((-?\\w)+(\\["+ whitespace + "*(\\d+)" + whitespace + "*\\])*(\\/|))+", | ||
|
||
xpAttributes = "", | ||
|
||
xpAxises = "(?:ancestor|descendant)(\\-(or\\-self))?|((?:following|preceding))(\\-(sibling))?"+ | ||
"\\:\\:", | ||
|
||
|
@@ -630,7 +628,7 @@ unique = Snizzle.unique = function(results) { | |
var i = 0, cloneArray, len = results.length; | ||
results = results || []; | ||
cloneArray = copy(results); | ||
// | ||
// getting all content length | ||
results.length = 0; | ||
results.splice(0, len); | ||
|
||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.