Actions
Feature #64036
closedAllow RequireJS module loading to execute custom code
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