It's something that could be visited, but since the bootstrap JS files are
not modules, it would require naming and shimming each one, especially
because there are some dependencies between them.


On Mon, Aug 19, 2013 at 4:54 AM, Peter Hvass <p.hv...@albourne.com> wrote:

> Hi Thiago,
>
>
> Thanks for the reply. I don't think I was clear enough in my first post!
>
>
> In the instance where this is affecting us;
>
>
> Our BootstrapDropdown mixin includes Bootstrap's bootstrap-dropdown.js
> and Tapestry's core components (in this case, Errors) is including
> bootstrap.js.
>
>
> Since bootstrap.js also contains the contents of bootstrap-dropdown.js we
> get a
> double execution.
>
>
> I'm aware that we could just opt to use bootstrap.js ourselves but I was
> wondering
> whether anyone on the dev team would deem using the individual
> bootstrap-*.js files useful
> and more modular as opposed to piling in the entire bootstrap.js each time.
>
>
> Thanks!
> Peter
>
> ----- Original Message -----
>
> From: "Thiago H de Paula Figueiredo" <thiag...@gmail.com>
> To: "Tapestry users" <users@tapestry.apache.org>
> Sent: Monday, August 19, 2013 2:44:51 PM
> Subject: Re: [5.4] Use Individual Bootstrap Javascript Files Instead of
> Just bootstrap.js
>
> On Mon, 19 Aug 2013 07:10:43 -0300, Peter Hvass <p.hv...@albourne.com>
> wrote:
>
> > Hi all,
>
> Hi!
>
> > We're running into issues where bootstrap.js is included by various core
> > components and scripts are executing twice!
>
> Tapestry checks for duplicate additions of the same file and adds it only
> once, so there's something wrong here: your code or Tapestry. How did you
> include the JS files in your components?
>
> --
> Thiago H. de Paula Figueiredo
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> For additional commands, e-mail: users-h...@tapestry.apache.org
>
>
>


-- 
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