Backup of db before drupal security update
[yaffs-website] / web / core / misc / drupal.init.js
1 // Allow other JavaScript libraries to use $.
2 if (window.jQuery) {
3   jQuery.noConflict();
4 }
5
6 // Class indicating that JS is enabled; used for styling purpose.
7 document.documentElement.className += ' js';
8
9 // JavaScript should be made compatible with libraries other than jQuery by
10 // wrapping it in an anonymous closure.
11
12 (function (domready, Drupal, drupalSettings) {
13
14   'use strict';
15
16   // Attach all behaviors.
17   domready(function () { Drupal.attachBehaviors(document, drupalSettings); });
18
19 })(domready, Drupal, window.drupalSettings);