Hi,
We'd like to be able to import JS files into matrix through a git bridge, and then running those JS files within REST JS assets. We've tried it but it breaks the page. Is this a bug? Or will Matrix support this in the future?
Thank you,
Eloy
Hi,
We'd like to be able to import JS files into matrix through a git bridge, and then running those JS files within REST JS assets. We've tried it but it breaks the page. Is this a bug? Or will Matrix support this in the future?
Thank you,
Eloy
Do you mean you were trying to use functions from the Git JS inside of the JS processing of the REST JS asset?
It is currently in development and will be released in Matrix 5.4 which is due out in approximately 2 months.
Do you mean you were trying to use functions from the Git JS inside of the JS processing of the REST JS asset?
Yes, exactly :).
It is currently in development and will be released in Matrix 5.4 which is due out in approximately 2 months.
That's good news!
Just to clarify, does ticket 8694 include running the JS files? It seems to refer only to JS file folders. As mentioned above, we'd like to execute the JS files, not server them. Actually, on v5.3.2.1 I'm able to add the JS file from the git bridge to the JS pickers in the REST asset. However, when the REST asset is nested inside a page, the page is broken.
Thank you,
Eloy
Yes, it means that. See Chiran's comment further down the page on the 4th:
Log Message:Regarding $8694: Enhanced REST JS asset to allow it (Include Files option) to pick physical file assets from File Bridge, just like the regular File assets
Actually, on v5.3.2.1 I'm able to add the JS file from the git bridge to the JS pickers in the REST asset. However, when the REST asset is nested inside a page, the page is broken.
That might actually be unintentional, as that is not yet a supported feature in 5.3 AFAIK. I think it just allows you to pick any file types, including images.