Security update for Core, with self-updated composer
[yaffs-website] / web / core / misc / drupal.init.js
index 0e55e190efa5741384dd66659703f13b11be5c7e..2a66f39793708d5c996c2963e3008c207cb9dc2a 100644 (file)
@@ -1,19 +1,18 @@
-// Allow other JavaScript libraries to use $.
+/**
+* DO NOT EDIT THIS FILE.
+* See the following change record for more information,
+* https://www.drupal.org/node/2815083
+* @preserve
+**/
+
 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) {
-
-  'use strict';
-
-  // Attach all behaviors.
-  domready(function () { Drupal.attachBehaviors(document, drupalSettings); });
-
-})(domready, Drupal, window.drupalSettings);
+  domready(function () {
+    Drupal.attachBehaviors(document, drupalSettings);
+  });
+})(domready, Drupal, window.drupalSettings);
\ No newline at end of file