Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
web/core/misc
17
web/core/misc/drupal.init.es6.js
Normal file
17
web/core/misc/drupal.init.es6.js
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Allow other JavaScript libraries to use $.
|
||||
if (window.jQuery) {
|
||||
jQuery.noConflict();
|
||||
}
|
||||
|
||||
// Class indicating that JS is enabled; used for styling purpose.
|
||||
document.documentElement.className += ' js';
|
||||
|
||||
// JavaScript should be made compatible with libraries other than jQuery by
|
||||
// wrapping it in an anonymous closure.
|
||||
|
||||
(function(domready, Drupal, drupalSettings) {
|
||||
// Attach all behaviors.
|
||||
domready(() => {
|
||||
Drupal.attachBehaviors(document, drupalSettings);
|
||||
});
|
||||
})(domready, Drupal, window.drupalSettings);
|
Reference in a new issue