Security update to Drupal 8.4.6
[yaffs-website] / web / core / misc / drupalSettingsLoader.js
1 /**
2 * DO NOT EDIT THIS FILE.
3 * See the following change record for more information,
4 * https://www.drupal.org/node/2815083
5 * @preserve
6 **/
7
8 (function () {
9   var settingsElement = document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');
10
11   window.drupalSettings = {};
12
13   if (settingsElement !== null) {
14     window.drupalSettings = JSON.parse(settingsElement.textContent);
15   }
16 })();