Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

Instead of using jQuery to execute Drupal.attachBehaviors(), the domready library is used. It means that drupal.js file does not need jQuery to be loaded.

This is the amount of JS (minified, ungzipped) needed to be able to use Drupal.announce():

Before

announce.js (682 bytes) + jQuery 2 (82 KiB) + drupal.js (2.3 KiB)

After

announce.js (682 bytes) + domready (740 bytes) + drupal.js (2.3 KiB)

Impacts: 
Site builders, administrators, editors
Module developers