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
-
Angular This covers the vast majority of TypeScript features used in modern Angular and enterprise web applications. Mastering these topic...
-
Data Definition Language (DDL) : CREATE , ALTER , DROP (tables, views, procedures, triggers). Data Manipulation Language (DML) : SELECT ,...
-
Amzon Front-end Developer Technical Interview Question Here Is Below some Few things I would suggest. You Must know About It. 1. As you alr...
-
Recursion is a technique to iterate over an operation by having a function call itself repeatedly until it arrives at a result. function ...
-
Error Handling : If there are errors that aren't properly handled, it can cause delays during the server-side rendering process. The s...
-
let arr = [ 1 , 8 , 7 , 56 , 90 ]; function largest ( arr ) { let max = arr[ 0 ]; // Initialize max with the first element of the a...
-
Solution To delete a key regardless of whether it is in the dictionary, use the two-argument form of dict.pop() : my_dict.pop( 'key...
-
Promises are used to handle asynchronous operations in javascript. Before promises, callbacks were used to handle asynchronous operations....
-
Every People Can Code Everyone can do coding but to become a successful developer, you have to have some good habits. So here are some of ...
No comments:
Post a Comment