jquery

WebJar for jquery

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.bowergithub.jquery
Идентификатор

Идентификатор

jquery-dist
Последняя версия

Последняя версия

3.6.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

jquery
WebJar for jquery
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/jquery/jquery-dist

Скачать jquery-dist

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.bowergithub.jquery/jquery-dist/ -->
<dependency>
    <groupId>org.webjars.bowergithub.jquery</groupId>
    <artifactId>jquery-dist</artifactId>
    <version>3.6.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jquery/jquery-dist/
implementation 'org.webjars.bowergithub.jquery:jquery-dist:3.6.0'
// https://jarcasting.com/artifacts/org.webjars.bowergithub.jquery/jquery-dist/
implementation ("org.webjars.bowergithub.jquery:jquery-dist:3.6.0")
'org.webjars.bowergithub.jquery:jquery-dist:jar:3.6.0'
<dependency org="org.webjars.bowergithub.jquery" name="jquery-dist" rev="3.6.0">
  <artifact name="jquery-dist" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bowergithub.jquery', module='jquery-dist', version='3.6.0')
)
libraryDependencies += "org.webjars.bowergithub.jquery" % "jquery-dist" % "3.6.0"
[org.webjars.bowergithub.jquery/jquery-dist "3.6.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

jQuery

jQuery is a fast, small, and feature-rich JavaScript library.

For information on how to get started and how to use jQuery, please see jQuery's documentation. For source files and issues, please visit the jQuery repo.

If upgrading, please see the blog post for 3.6.0. This includes notable differences from the previous version and a more readable changelog.

Including jQuery

Below are some of the most common ways to include jQuery.

Browser

Script tag

<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

Babel

Babel is a next generation JavaScript compiler. One of the features is the ability to use ES6/ES2015 modules now, even though browsers do not yet support this feature natively.

import $ from "jquery";

Browserify/Webpack

There are several ways to use Browserify and Webpack. For more information on using these tools, please refer to the corresponding project's documentation. In the script, including jQuery will usually look like this...

var $ = require( "jquery" );

AMD (Asynchronous Module Definition)

AMD is a module format built for the browser. For more information, we recommend require.js' documentation.

define( [ "jquery" ], function( $ ) {

} );

Node

To include jQuery in Node, first install with npm.

npm install jquery

For jQuery to work in Node, a window with a document is required. Since no such window exists natively in Node, one can be mocked by tools such as jsdom. This can be useful for testing purposes.

const { JSDOM } = require( "jsdom" );
const { window } = new JSDOM( "" );
const $ = require( "jquery" )( window );
org.webjars.bowergithub.jquery

jQuery

Версии библиотеки

Версия
3.6.0
3.5.1
3.5.0
3.4.1
3.4.0
3.3.1
3.3.0
3.2.1
3.1.1
3.1.0
3.0.0
3.0.0-rc1
3.0.0-alpha1
2.2.4
2.2.2
2.2.1
2.1.4
2.1.3
2.0.0-beta3
1.12.4
1.11.3
1.11.1
1.11.0
1.11.0-rc1
1.10.2
1.10.0
1.10.0-beta1
1.9.1
1.8.3+1
1.8.0
1.6.4