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 — Core Concepts with examples
Data Definition Language (DDL) : CREATE , ALTER , DROP (tables, views, procedures, triggers). Data Manipulation Language (DML) : SELECT ,...
Best for you
-
How to Know Which Function to Use: You can use these functions to transform data, calculate values, or extract specific information in your ...
-
If you enable GZIP compression in Apache web server, then it will compress data while sending responses, improve website speed & perfo...
-
A switch statement allows you to evaluate multiple conditions, checking for specific values. Example: let day = 3; let dayName; switch (day...
-
In JavaScript, expressions are pieces of code that evaluate to a value. They can be as simple as a single value or as complex as a combinati...
-
1. Disable Caching for Development Mode Browser Caching : Browsers tend to cache assets like JavaScript and CSS files aggressively. In deve...
-
Undo a commit and redo $ git commit - m "Something terribly misguided" # (1) $ git reset HEAD ~ ...
-
In This Article I will be show how to Array of Object Array in JavaScript. Here Below Simple Object { firstname:"Vijay", lastn...
-
1. When HTML is Generated SSR : HTML is dynamically generated on each request by the server. The server processes the request, fetch...
-
Using Signals with Objects Initialize the Signal: typescrip import { signal } from '@angular/core' ; const userSignal = signal...
No comments:
Post a Comment