• Stars
    star
    6,276
  • Rank 6,055 (Top 0.2 %)
  • Language
    JavaScript
  • License
    Other
  • Created over 15 years ago
  • Updated 8 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A sizzlin' hot selector engine.

Sizzle

A pure-JavaScript CSS selector engine designed to be easily dropped in to a host library.

Contribution Guides

In the spirit of open source software development, jQuery always encourages community code contribution. To help you get started and before you jump into writing code, be sure to read these important contribution guidelines thoroughly:

  1. Getting Involved
  2. JavaScript Style Guide
  3. Writing Code for jQuery Organization Projects

What you need to build Sizzle

In order to build Sizzle, you should have Node.js/npm latest and git 1.7 or later (earlier versions might work OK, but are not tested).

For Windows you have to download and install git and Node.js.

Mac OS users should install Homebrew. Once Homebrew is installed, run brew install git to install git, and brew install node to install Node.js.

Linux/BSD users should use their appropriate package managers to install git and Node.js, or build from source if you swing that way. Easy-peasy.

How to build Sizzle

Clone a copy of the main Sizzle git repo by running:

git clone [email protected]:jquery/sizzle.git

In the sizzle/dist folder you will find build version of sizzle along with the minified copy and associated map file.

Testing

  • Run npm install, it's also preferable (but not necessarily) to globally install grunt-cli package – npm install -g grunt-cli
  • Open test/index.html in the browser. Or run npm test/grunt test on the command line, if environment variables BROWSER_STACK_USERNAME and BROWSER_STACK_ACCESS_KEY are set up, it will attempt to use Browserstack service (you will need to install java on your machine so browserstack could connect to your local server), otherwise PhantomJS will be used.
  • The actual unit tests are in the test/unit directory.

Developing with grunt

  • npm run build or grunt will lint, build, test, and compare the sizes of the built files.
  • npm start or grunt start can be run to re-lint, re-build, and re-test files as you change them.
  • grunt -help will show other available commands.

More Repositories

1

jquery

jQuery JavaScript Library
JavaScript
58,659
star
2

jquery-ui

The official jQuery user interface library.
JavaScript
11,211
star
3

esprima

ECMAScript parsing infrastructure for multipurpose analysis
TypeScript
6,928
star
4

jquery-mousewheel

A jQuery plugin that adds cross-browser mouse wheel support.
JavaScript
3,903
star
5

jquery-migrate

A development tool to help migrate away from APIs and features that have been or will be removed from jQuery core
JavaScript
1,981
star
6

jquery-color

jQuery plugin for color manipulation and animation support.
JavaScript
1,635
star
7

testswarm

Distributed continuous integration testing for JavaScript.
PHP
969
star
8

learn.jquery.com

jQuery Learning Center web site content
JavaScript
920
star
9

api.jquery.com

API documentation for jQuery Core
HTML
318
star
10

jquery-wp-content

WordPress themes and plugins for the jQuery sites
PHP
253
star
11

jquery-simulate

jQuery Event Unit Testing Helpers
JavaScript
171
star
12

themeroller.jquerymobile.com

ThemeRoller site for jQuery Mobile
CSS
140
star
13

jqueryui.com

jQuery UI web site content
HTML
130
star
14

jquery-dist

Distribution repo for jQuery Core releases
JavaScript
100
star
15

download.jqueryui.com

Download Builder for jQuery UI
JavaScript
85
star
16

jquery.com

jQuery web site content
HTML
80
star
17

api.jqueryui.com

API documentation for jQuery UI
HTML
69
star
18

api.jquerymobile.com

API documentation for jQuery Mobile
HTML
56
star
19

codeorigin.jquery.com

jQuery CDN
JavaScript
55
star
20

jquerymobile.com

jQuery Mobile web site content
HTML
54
star
21

jquery.org

jQuery Foundation web site content
HTML
50
star
22

gsoc

Home for the jQuery Foundations ideas list for Google Summer of Code 2015
41
star
23

grunt-jquery-content

XSLT
38
star
24

eslint-config-jquery

jQuery's eslint config, enforcing the jQuery styleguide
JavaScript
32
star
25

meetings.jquery.org

Calendar and minutes of public jQuery team meetings
JavaScript
27
star
26

testswarm-browserstack

Integration layer between TestSwarm and BrowserStack
JavaScript
26
star
27

typesense-minibar

Fast 2kB autocomplete search bar. Alternative to Algolia DocSearch, InstantSearch, autocomplete-js, and typesense-js.
JavaScript
26
star
28

contribute.jquery.org

Developer documentation common to jQuery projects
HTML
25
star
29

jquery-release

Release automation script for jQuery projects
JavaScript
24
star
30

demos.jquerymobile.com

jQuery Mobile demo site
HTML
21
star
31

2012-dev-summit

Information regarding the 2012 Developer Summit in DC
15
star
32

jquery-license

jQuery Foundation License Verification
JavaScript
12
star
33

2015-developer-summit

a sandbox site for making mistakes
HTML
10
star
34

globalizejs.com

Globalize web site content
JavaScript
10
star
35

brand.jquery.org

Information on jQuery's branding
HTML
8
star
36

events.jquery.org

jQuery Events & Conferences web site content
HTML
8
star
37

irc.jquery.org

jQuery Foundation IRC channels and logs site content
HTML
8
star
38

node-amd-builder

Node.js service to build bundles from amd projects in a git repository
JavaScript
7
star
39

jquery.github.io

HTML
7
star
40

infrastructure-puppet

Puppet configuration for jQuery Infrastructure servers.
Puppet
5
star
41

jquery-compat-dist

Distribution repo for jQuery Core Compat releases
JavaScript
5
star
42

ci-management

Shell
5
star
43

jquery-ui-themeroller

jQuery UI ThemeRoller
JavaScript
3
star
44

content

Content Team
3
star
45

blog.jquery.com-theme

Themes for blogs during transition period to jquery-wp-content.
CSS
2
star
46

node-packager

Build a package for your library or application on the fly on Node.js
JavaScript
2
star