Solution:
If you want to save some time, you can go to the Javascript console and type jQuery.fn.jquery which works on any site using jQuery, not only Drupal sites.
At the moment Drupal 8 core uses jQuery 2.1.4, but it looks like jQuery 3 has been implemented in Drupal 8.4.x.
https://www.drupal.org/node/2533498
This is probably not the best question because the answer could change over time based on the specific version of Drupal.
The most accurate way to find what version of a JavaScript library is used by Drupal core is to look directly at the core/core.libraries.yml file for a given version of Drupal. One of the easiest ways to do this is to browse Drupal's git repository online:
For Drupal 6-7, without jquery_update module installed, the version of Drupal can be most easily discovered by going into the misc/ directory, and looking at the top of the jquery.js file. This is v1.2.6 and v1.4.4 respectively.
For Drupal 5, the version of jquery is not readily apparent, but the handy git blame misc/jquery.js reveals the commit 0d57bae updated jQuery to v1.0.4.
Subscribe to:
Post Comments (Atom)
SQL Server auto generate UNIQUEIDENTIFIER
Insert data into a table ✅ Have SQL Server auto-generate both: Id (as INT IDENTITY ) RowGuid (as UNIQUEIDENTIFIER , using NEWID()...
Best for you
-
Skip to content You said: 🔧 1. Java (Spring Boot) Core Topics 🟩 Topics Spring Boot fundamentals (annotations, starters, auto-configuratio...
-
SelectPdf Free Edition supports up to 5 pages per document. That’s why we generate two parts and merge. Install these dotnet add package Se...
-
Goal: Import All Tables from Production into UAT (One Time) 🔧 Method 1: Generate Scripts (Schema + Data) This is the cleanest way to ex...
-
NaN property represents “Not-a-Number” value. It indicates a value which is not a legal number. typeof of a NaN will return a Number ...
-
You might want to try gitsh. From their readme: The gitsh program is an interactive shell for git. From within gitsh you can issue any gi...
-
Mathematical operations such as addition, subtraction, multiplication, and division are commonly used in JavaScript. let a = 10, b = 5; let ...
-
For making MailWatch work with Debian 11 and PHP 8, I had Fixed few code-file to avoid error : PHP Fatal error: Array and string offset ac...
-
To solve this problem, we need to find the second earliest order_id for each customer on each date where they placed at least two orders...
-
Solution Link Since the question refers to a single element, this code might be more suitable: // Checks CSS content for display:[none|block...
No comments:
Post a Comment