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)
CPU vs GPU Architecture
CPU vs GPU Architecture CPU (Central Processing Unit) and GPU (Graphics Processing Unit) have distinct architectural differences, optimize...
Best for you
-
In SQL, filtering data is essential for querying specific results from a database. Here's an explanation of how the WHERE , ORDER BY , ...
-
DOM stands for Document Object Model. DOM is a programming interface for HTML and XML documents. When the browser tries to render a HTML d...
-
Y 1. Understand RESTful Principles API Design pattern methods calling REST (Representational State Transfer) is an architectural style for...
-
Below Demo With Code * ** *** **** ***** let n = 5 ; let string = "" ; for ( let i = 1 ; i <= n ; i ++) { ...
-
Create a Service to Handle PDF Generation and Download: First, create a service to manage the PDF files. This service will handle generating...
-
The difference between canLoad and canActivate guards in Angular lies in their behavior and when they are triggered during routing. Here...
-
DISTINCT Keyword The DISTINCT keyword is used in SQL queries to eliminate duplicate rows from the result set. It ensures that the query r...
No comments:
Post a Comment