File:JQuery-Logo.svg · Wikimedia Commons · See Wikimedia Commons
jQuery is a free tool that makes it easier for web developers to manipulate web pages, handle user interactions like clicks, and create animations using simpler code. It has become hugely popular, used by the vast majority of the most-visited websites worldwide, making it by far the most commonly used JavaScript tool among developers.
AI-generated from the Wikipedia summary — may contain errors.
Key facts
- Software.name
- jQuery
- Software.logo
- 220px
- Software.author
- John Resig
- Software.developer
- The jQuery Team
- Software.latest preview version
- jQuery 4.0.0 Release Candidate 1
- Software.programming language
- JavaScript
- Software.platform
- See
- Software.genre
- JavaScript library
- Software.license
- MIT
- Software.size
- 27–274 KB
via Wikipedia infobox
Source code
The 3.x branch will now only receive critical updates. The 2.x and 1.x branches are no longer supported. We recommend that all users upgrade to the latest version of jQuery to ensure that they have the best performance, security, and features. 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. Core Style Guide 3. Writing Code for jQuery Projects GitHub issues/PRs are usually referenced via gh-NUMBER , where NUMBER is the numerical ID of the issue/PR. You can find such an issue/PR under Environments in which to use jQuery Browser support jQuery also supports Node, browser extensions, and other non-browser environments. To build jQuery, you need to have the latest Node.js/npm and git 1.7 or later. Earlier versions might work, but are not supported. macOS 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. The built version of jQuery will be placed in the dist/ directory, along with a minified copy and associated map file. This will create all of the variants that jQuery includes in a release, including jquery.js , jquery.slim.js , jquery.module.js , and jquery.slim.module.js along their associated minified files and sourcemaps. jquery.module.js and jquery.slim.module.js are ECMAScript modules that export jQuery and $ as named exports are placed in the dist-module/ directory rather than the dist/ directory. The build script can be used to create a custom version of jQuery that includes only the modules you need. Any module may be excluded except for core . When excluding selector , it is not removed but replaced with a small wrapper around native querySelectorAll (see below for more information). To exclude a module, pass its path relative to the src folder (without the .js extension) to the --exclude option. When using the --include option, the default includes are dropped and a build is created with only those modules. Note : Excluding the full selector module will also exclude all jQuery selector extensions (such as effects/animatedSelector and css/hiddenVisibleSelectors ). You can set the module name for jQuery's AMD definition. By default, it is set to "jquery", which plays nicely with plugins and third-party libraries, but there may be cases where you'd like to change this. Pass it to the --amd parameter: The default name for the built jQuery file is jquery.js ; it is placed under the dist/ directory. It's possible to change the file name using --filename and the directory using --dir . --dir is relative to the project root. By default, jQuery generates a regular script JavaScript file. You can also generate an ECMAScript module exporting jQuery as the default export using the --esm parameter: By default, jQuery depends on a global window . For environments that don't have one, you can generate a factory build that exposes a function accepting window as a parameter that you can provide externally (see README of the published package for usage instructions). You can generate such a factory using the --factory parameter: Create a custom build using npm run build , listing the modules to be excluded. Excluding a top-level module also excludes its corresponding directory of modules. Non-official custom builds are not regularly tested. Use them at your own risk. As the source code is handled by the Git version control system, it's useful to know some features used. If you're getting merge conflicts when merging, instead of editing the conflicted files manually, you can use the feature git mergetool . Even though the default tool xxdiff looks awful/old, it's rather useful. So
Excerpt from the source-code README · 14,982 chars · not written by Vinony
Wikidata facts
- Instance of
- JavaScript library
- Developer
- John Resig
- Official website
- jquery.com
- Motto
- write less, do more.
Show 13 more facts
- source code repository URL
- github.com/jquery/jquery
- operating system
- cross-platform
- Commons category
- JQuery
- programmed in
- JavaScript
- copyright license
- MIT License
- Stack Exchange tag
- stackoverflow.com/tags/jquery
- software version identifier
- 4.0.0
- IRC channel URL
- irc://irc.freenode.net/#jquery
- social media followers
- 329
- software quality assurance
- continuous integration
- inception
- 2006-01-00
- official blog URL
- blog.jquery.com
- used by
- GitHub
Sources (8)
via Wikidata · CC0
Article · Español
jQuery es una biblioteca multiplataforma de JavaScript, creada inicialmente por John Resig, que permite simplificar la manera de interactuar con los documentos HTML, manipular el árbol DOM, manejar eventos, desarrollar animaciones y agregar interacción con la técnica AJAX a páginas web. Fue presentada el 14 de enero de 2006 en el BarCamp NYC. De acuerdo a un análisis de la Web (realizado en 2017) JQuery es la biblioteca de JavaScript más utilizada, por un amplio margen. jQuery es software libre y de código abierto, posee un doble licenciamiento bajo la Licencia MIT y la Licencia Pública General de GNU v2, permitiendo su uso en proyectos libres y privados. jQuery, al igual que otras bibliotecas, ofrece una serie de funcionalidades basadas en JavaScript que de otra manera requerirían de mucho más código, es decir, con las funciones propias de esta biblioteca se logran grandes resultados en menos tiempo y espacio. La sintaxis de JQuery está diseñada para facilitar la navegación por un documento, seleccionar elementos DOM, crear animaciones, manejar y desarrollar aplicaciones AJAX. JQuery también proporciona capacidades para que los desarrolladores creen complementos en la parte superior de la biblioteca de JavaScript. Esto permite a los desarrolladores crear abstracciones para interacción y animación de bajo nivel, efectos avanzados y widgets temáticos de alto nivel. El enfoque modular de la biblioteca jQuery permite la creación de poderosas páginas web dinámicas y aplicaciones web. El conjunto de características principales de jQuery (selecciones de elementos DOM, recorrido y manipulación) habilitados por su motor de selección (denominado "Sizzle" de v1.3), crearon un nuevo "estilo de programación", algoritmos de fusión y estructuras de datos DOM. Este estilo influyó en la arquitectura de como YUI v3 y Dojo, lo que más tarde estimuló la creación de las API de selectores estándar. Las empresas Microsoft y Nokia anunciaron en 2008 que iban a incluir la biblioteca en sus plataformas. Microsoft la añadiría en su IDE Visual Studio y la usaría junto con los frameworks ASP.NET AJAX y , mientras que Nokia la integraría con su plataforma .
Abstract from DBpedia / Wikipedia · CC BY-SA