Issue Task Closed

#96476Separate JavaScriptHandler concerns

Benjamin Franzke 01/06/22, 18:48 updated 10/04/22, 08:37

Description

JavaScriptHandler currently has three execution modes:

  • If used as script-scr: Call processItems from text content for: * RequireJS configuration * Generic JavaScriptItems processing
  • If used as AMD module: * Generic JavaScriptItems processing

It should be separated into the following three concerns: * JavaScriptItemProcessor (for shared AMD/script-src usage) * JavaScriptItemHandler (handling <script> case only) * RequireJSCOnfigHandler (only managing requirejs config)</p></script>

Reviews 1