Re: Javacsript module problem
"Thiago H. de Paula Figueiredo" <[email protected]>
| Newsgroups | gmane.comp.java.tapestry.user |
|---|---|
| Message-ID | <CAE_88Gbu6p=KuyH8iET1Sj9gfwQJdSKjChE4wY1W9vXY1mBTDw@mail.gmail.com> |
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