On Mon, Mar 26, 2018 at 6:45 PM, Cezary Biernacki <[email protected]> wrote:
> @SetupRender
> public void configureWaitSeconds() {
> // See http://requirejs.org/docs/api.html#config-waitSeconds
> javaScriptSupport.addModuleConfigurationCallback((config) ->
> config.put("waitSeconds", 120));
> }
>
This is also the recommended way of changing the Require.js configuration.
Otherwise, you run the risk of dropping the Tapestry-added ones.
Thanks for the example, Cezary!
--
Thiago
