Skip to content
جي كويري

File:JQuery-Logo.svg · Wikimedia Commons · See Wikimedia Commons

EntityQ230036· pop 58· linked from 328 articles

جي كويري

Sign in to save

Also known as $, jquery

مكتبة جافا سكريبت من تطوير جون ريسج

AI overview

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

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
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 · العربية

جي كويري (بالإنجليزية: jQuery)‏ هي مكتبة خاصة بالجافا سكريبت، تختصر العديد من النصوص البرمجية المكررة والمهام المعروفة، وذلك لتسهيل عملية البرمجة. جي كويري برمجية حرة مفتوحة المصدر مرخصة تحت رخصتي إم آي تي وجي بي إل. تهدف مكتبة جي كويري إلى تبسيط الأكواد البرمجية للغة إتش تي إم إل الخاصة والجافا سكريبت، وكذلك التعامل مع التنسيقات المختلفة بلغة سي إس إس. تعتبر مكتبة جي كويري مكتبة مجانية مفتوحة المصدر تستخدم رخصة MIT المسموح بها. اعتبارًا من مايو 2019، تم استخدام جي كويري بواسطة 73٪ من مواقع الويب العشرة ملايين الأكثر شهرة. يشير تحليل الويب إلى أنها مكتبة جافا سكريبت الأكثر انتشارًا وفارق كبير مع المكتبات الأخرى، ولها على الأقل 3 إلى 4 مرات استخدام أكثر من أي مكتبة جافا سكريبت أخرى. تم تصميم بناء جملة جي كويري لتسهيل التنقل في مستند، وتحديد عناصر التعديل عليه، وإنشاء رسوم متحركة، ومعالجة الأحداث، وتطوير تطبيقات أجاكس. يوفر جي كويري أيضًا إمكانات للمطورين لإنشاء مكونات إضافية على مكتبة جافا سكريبت. يتيح ذلك للمطورين إنشاء تجريدات للتفاعلات منخفضة المستوى والرسوم المتحركة والتأثيرات المتقدمة وعناصر واجهة المستخدم عالية المستوى والقابلة للتخصيص. يتيح الأسلوب المعياري لمكتبة جي كويري إنشاء صفحات ويب ديناميكية قوية وتطبيقات ويب. مجموعة ميزات جي كويري الأساسية - بدءاً من تحديدات عناصر التعديل على الوثيقة، والاجتياز والمعالجة - التي تم تمكينها بواسطة محرك المحدد (المسمى «سيزل» من الإصدار 1.3)، خلقت «نمط برمجة» جديدًا، بدمج الخوارزميات وهياكل بيانات الوثيقة. أثر هذا النمط على بنية أطر عمل جافا سكريبت الأخرى، مما أدى لاحقًا إلى تحفيز إنشاء واجهة برمجة تطبيقات قياسية. لاحقًا، تم تحسين هذا النمط من خلال دمج أعمق للبيانات والخوارزمية في وريث جي كويري. تدعم مايكروسوفت ونوكيا حزم جي كويري على منصتيهما. فتقوم مايكروسوفت بتضمينه مع فيجوال ستوديو لاستخدامه ضمن إطار عمل «ايه إس بي دوت نت لتطوير المواقع» بينما قامت نوكيا بدمجه في منصة تطوير أدوات ويب رن تايم.

Abstract from DBpedia / Wikipedia · CC BY-SA

Gallery (2)