On Mon, Nov 11, 2013 at 2:55 PM, Dimitris Zenios
<dimitris.zen...@gmail.com>wrote:

> Hello everyone.
>
> It looks that something changed between alpha 23 and alpha 25 regarding
> stacks and modules.If i add a module to a stack and then import this stack
> in a page,the module will not be executed?
>
> I have to call require on the module seperately? Is that correct?
>

Yes, that's correct. The documentation for StackExtensionType.MODULE was
updated.


>
> If yes what happens to a module that it does not expose any functions but
> it has some initialization scripts.Examples are a class listening for zone
> changes or initialize something once the library is loaded.
>
>
>
You should have the markup that needs that include an @Import(module="xxx")
or an explicit call to JavaScriptSupport.require().



> On Tue, Nov 12, 2013 at 12:01 AM, Howard Lewis Ship <hls...@gmail.com
> >wrote:
>
> > This updates a number of bundled dependencies:
> > - Bootstrap 3.0.2
> > - RequireJS 2.1.9
> > - Less4J 1.2.0
> > - Closure Compiler v20131014
> >
> > It also fixes a bug that prevent JavaScript stacks from being minimized.
> > There's also been a little bit of juggling to make Underscore a library
> > within the core JavaScript stack (the "underscore" module is now just a
> > little shim to allow "underscore" to be injected as an AMD module
> > dependency).
> >
> > Tapestry preview releases are  available via Maven, from the Apache
> Staging
> > repository:
> >
> > https://repository.apache.org/content/groups/staging
> >
> >
> > --
> > Howard M. Lewis Ship
> >
> > Creator of Apache Tapestry
> >
> > The source for Tapestry training, mentoring and support. Contact me to
> > learn how I can get you up and productive in Tapestry fast!
> >
> > (971) 678-5210
> > http://howardlewisship.com
> >
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

Reply via email to