Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-17151

Add support for extending the global RequireJS configuration available on page load

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 12.3-rc-1
    • 12.1
    • Flamingo Skin
    • None
    • High
    • Medium

    Description

      ATM the global RequireJS configuration available on page load is defined in javascript.vm. The advantage of this global config is that it allows you to use a RequireJS module knowing only it's id (you don't need to know the path).

      It would be nice for an XWiki extension to be able to extend this global configuration by describing the RequireJS modules it provides. This way, other extensions can use these RequireJS modules without having to depend tightly on the extension that provides them.

      Attachments

        Issue Links

          Activity

            People

              mflorea Marius Dumitru Florea
              mflorea Marius Dumitru Florea
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: