Issue Feature Closed

#64036Allow RequireJS module loading to execute custom code

Benni Mack 12/24/14, 14:07 updated 10/19/17, 21:03

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.

Reviews 2