Project

General

Profile

Actions

Feature #64036

closed

Allow RequireJS module loading to execute custom code

Added by Benni Mack over 9 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Backend User Interface
Target version:
Start date:
2014-12-24
Due date:
% Done:

100%

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

Description

When loading RequireJS modules, it is sometimes helpful to
execute custom code or set inline settings coming from the
server side.

A second parameter in the PageRenderer->loadRequireJsModule

allows to work exactly like using the JS code directly for
require([module], function() { customCode(); });

This is used as a basis to allow proper coding of JS changes
like the legacy tree functionality.

Actions #1

Updated by Gerrit Code Review over 9 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35635

Actions #2

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/35667

Actions #3

Updated by Benni Mack over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #4

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF