diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-07-29 21:14:46 +0200 |
---|---|---|
committer | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2019-07-29 21:19:21 +0200 |
commit | 47835965bd100a3661d8299d8b769ceeb8b6ce48 (patch) | |
tree | 5ef322bc48cd27d5a5f004e6e3fcf955c67fc9eb /dist | |
parent | 79b74e043a4ee737d44a95094ff1184e40bd5b16 (diff) | |
download | jquery-47835965bd100a3661d8299d8b769ceeb8b6ce48.tar.gz jquery-47835965bd100a3661d8299d8b769ceeb8b6ce48.zip |
Selector: Inline Sizzle into the selector module
This commit removes Sizzle from jQuery, inlining its code & removing obsolete
workarounds where applicable.
The selector-native module has been removed. Further work on the selector
module may decrease the size enough that it will no longer be necessary. If
it turns out it's still useful, we'll reinstate it but the code will look
different anyway as we'll want to share as much code as possible with
the existing selector module.
The Sizzle AUTHORS.txt file has been merged with the jQuery one - people are
sorted by their first contributions to either of the two repositories.
The commit reduces the gzipped jQuery size by 1460 bytes compared to master.
Closes gh-4395
Diffstat (limited to 'dist')
-rw-r--r-- | dist/.eslintrc.json | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/dist/.eslintrc.json b/dist/.eslintrc.json index 45ba0c520..6108d1619 100644 --- a/dist/.eslintrc.json +++ b/dist/.eslintrc.json @@ -5,19 +5,6 @@ "rules": { // That is okay for the built version - "no-multiple-empty-lines": "off", - - // Sizzle is not compatible with jQuery code style - "no-nested-ternary": "off", - "no-unused-expressions": "off", - "no-unused-vars": "off", - "lines-around-comment": "off", - "space-in-parens": "off", - "camelcase": "off", - "computed-property-spacing": "off", - "max-len": "off", - "dot-notation": "off", - "semi-spacing": "off", - "brace-style": "off" + "no-multiple-empty-lines": "off" } } |