core/misc/drupal.init.js | 4 ++-- core/modules/system/system.module | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/core/misc/drupal.init.js b/core/misc/drupal.init.js index db3b221..71b67ac 100644 --- a/core/misc/drupal.init.js +++ b/core/misc/drupal.init.js @@ -1,4 +1,4 @@ -var Drupal = { 'behaviors': {}, 'locale': {} }; +var Drupal = { behaviors: {}, locale: {} }; // Allow other JavaScript libraries to use $. jQuery.noConflict(); @@ -37,7 +37,7 @@ Drupal.unfreezeHeight = function () { // Class indicating that JS is enabled; used for styling purpose. document.documentElement.className += ' js'; -//Attach all behaviors. +// Attach all behaviors. $(function () { Drupal.attachBehaviors(document, drupalSettings); }); diff --git a/core/modules/system/system.module b/core/modules/system/system.module index 2e8700d..576655b 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -1218,7 +1218,6 @@ function system_library_info() { 'core/misc/drupal.js' => array('group' => JS_LIBRARY, 'weight' => -18), ), 'dependencies' => array( - array('system', 'jquery'), array('system', 'drupal.init'), ), );