Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2,879 additions
and 2,164 deletions.
- +5 −1 .editorconfig
- +7 −0 .eslintignore
- +29 −0 .eslintrc-browser.json
- +14 −0 .eslintrc-node.json
- +3 −0 .eslintrc.json
- +1 −0 .gitignore
- +0 −3 .jscsrc
- +0 −17 .jshintrc
- +27 −30 Gruntfile.js
- +12 −0 dist/.eslintrc.json
- +393 −279 dist/sizzle.js
- +1 −1 dist/sizzle.min.js
- +1 −1 dist/sizzle.min.map
- +1,180 −711 package-lock.json
- +2 −2 package.json
- +8 −0 speed/.eslintrc.json
- +0 −26 speed/.jshintrc
- +85 −71 speed/speed.js
- +8 −0 src/.eslintrc.json
- +0 −29 src/.jshintrc
- +392 −278 src/sizzle.js
- +2 −2 tasks/commit.js
- +1 −1 tasks/compile.js
- +6 −5 tasks/dist.js
- +2 −2 tasks/ensure_ascii.js
- +8 −4 tasks/release.js
- +1 −1 tasks/tag.js
- +3 −3 tasks/test.js
- +7 −6 tasks/version.js
- +42 −0 test/.eslintrc.json
- +0 −36 test/.jshintrc
- +26 −24 test/data/testinit.js
- +6 −6 test/data/testrunner.js
- +0 −17 test/karma/.jshintrc
- +4 −4 test/karma/karma.conf.js
- +39 −39 test/unit/extending.js
- +513 −514 test/unit/selector.js
- +51 −51 test/unit/utilities.js
There are no files selected for viewing
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
| @@ -4,8 +4,12 @@ | ||
| root = true | ||
|
|
||
| [*] | ||
| indent_style = tab | ||
| end_of_line = lf | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true | ||
|
|
||
| [package.json] | ||
| indent_style = space | ||
| indent_size = 2 | ||
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
| @@ -0,0 +1,7 @@ | ||
| external | ||
| node_modules | ||
| *.min.js | ||
| # Ignore everything in dist folder except for eslint config | ||
| dist/** | ||
| !dist/sizzle.js | ||
| build/** |
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
| @@ -0,0 +1,29 @@ | ||
| { | ||
| "root": true, | ||
|
|
||
| "extends": "jquery", | ||
|
|
||
| "parserOptions": { | ||
| "ecmaVersion": 3 | ||
| }, | ||
|
|
||
| // The browser env is not enabled on purpose so that code takes | ||
| // all browser-only globals from window instead of assuming | ||
| // they're available as globals. This makes it possible to use | ||
| // jQuery with tools like jsdom which provide a custom window | ||
| // implementation. | ||
| "env": { | ||
| "node": true | ||
| }, | ||
|
|
||
| "globals": { | ||
| "window": true, | ||
| "jQuery": true, | ||
| "define": true, | ||
| "module": true | ||
| }, | ||
|
|
||
| "rules": { | ||
| "dot-notation": "off" | ||
| } | ||
| } |
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
| @@ -0,0 +1,14 @@ | ||
| { | ||
| "root": true, | ||
|
|
||
| "extends": "jquery", | ||
|
|
||
| "parserOptions": { | ||
| "ecmaVersion": 2017 | ||
| }, | ||
|
|
||
| "env": { | ||
| "es6": true, | ||
| "node": true | ||
| } | ||
| } |
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
| @@ -0,0 +1,3 @@ | ||
| { | ||
| "extends": ".eslintrc-node.json" | ||
| } |
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
| @@ -7,3 +7,4 @@ | ||
| .DS_Store | ||
| node_modules | ||
| bower_components | ||
| .idea/ | ||
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
| @@ -0,0 +1,12 @@ | ||
| { | ||
| "root": true, | ||
|
|
||
| "extends": "../.eslintrc-browser.json", | ||
| "rules": { | ||
| // That is okay for the built version | ||
| "no-multiple-empty-lines": "off", | ||
|
|
||
| // Too many violations. | ||
| "no-nested-ternary": "off" | ||
| } | ||
| } |
Oops, something went wrong.