#4691 - JavaScript module support

Identifier #4691
Issue type Feature request or suggestion
Title JavaScript module support
Status Open
Tags

Type: JavaScript (custom)

Type: Standards compliance (custom)

Handling member Deleted
Addon core
Description require_javascript could allow loading a JavaScript module.
I think a simple naming scheme would work, using a '_module' suffix on the filename if it is a JavaScript module.

Then JAVASCRIPT_NEED.tpl template can do...

type="{$?,{$IN_STR,{CODE},module},module,text/javascript}"
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated