1 // Allow other JavaScript libraries to use $.
6 // Class indicating that JS is enabled; used for styling purpose.
7 document.documentElement.className += ' js';
9 // JavaScript should be made compatible with libraries other than jQuery by
10 // wrapping it in an anonymous closure.
12 (function (domready, Drupal, drupalSettings) {
16 // Attach all behaviors.
17 domready(function () { Drupal.attachBehaviors(document, drupalSettings); });
19 })(domready, Drupal, window.drupalSettings);