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

Also available in: Atom PDF