Project

General

Profile

Actions

Task #78975

closed

Refactor DOM ready check with AMD loader plugin domReady

Added by Gleb Levitin over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend JavaScript
Target version:
-
Start date:
2016-12-13
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Sprint Focus:

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #70601: Add missing to DOM ready checks to all AMD modulesClosedMarkus Klein2015-10-12

Actions
Related to TYPO3 Core - Bug #78976: Add missing DOM ready check for JavaScripts in filelist moduleClosedFrank Nägler2016-12-13

Actions
Actions

Also available in: Atom PDF