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)
Angular's new httpResource and a bonus hidden feature
The first release candidate for Angular 19.2 is out, and it includes the new experimental httpResource . This is essentially a s...
Best for you
-
Example: Optimizing a User Profile Component with OnPush using Angular Let’s create a component that displays user data and updates effic...
-
1. When HTML is Generated SSR : HTML is dynamically generated on each request by the server. The server processes the request, fetches ...
-
Error Solution get is undefined Initialize FormGroup before accessing it. Cannot read 'value' of null Verify control names and f...
-
Aspect Client-Side Rendering (CSR) Server-Side Rendering (SSR) Content Generation Browser (client) generates HTML. Server generates HTML. In...
-
1. Custom Dependencies : If you need to provide a non-class dependency (like a string, number, or object), InjectionToken is used to crea...
-
left To right javascript concept Javascript let result = 5 + 3 * 2 ; console . log (result); // Output: 11 Example 1 Basic Arithmetic ...
-
In Angular 17, the Signal API provides a powerful way to manage state and reactivity. When using signals, you can define input options t...
-
Basic summary of OOP Concepts in Angular: Classes : Used to define components, services, and models. Encapsulation : Using private and pub...
-
How to Know Which Function to Use: You can use these functions to transform data, calculate values, or extract specific information in your ...
No comments:
Post a Comment