Issue Task Closed

#78975Refactor DOM ready check with AMD loader plugin domReady

Gleb Levitin 12/13/16, 12:52 updated 02/05/18, 13:40

Description

In #70601 a lot of RequireJS AMDs were provided with a DOM ready check function to prevend their potential run into race condition.
The DOM ready check was taken with JQuery. It works, but in RequireJS there is an AMD loader plugin domReady for this purpose. It should be used instead.

Here is the appropriate API documentation and an understandable example:

http://requirejs.org/docs/api.html#pageload

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.