You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by Massimo Lusetti <ml...@gmail.com> on 2013/08/29 17:02:20 UTC

Why not to include html5shiv.js and respond.min.js ?

Hi devs,
  the subject say it all... Why not to include html5shiv.js and
respond.min.js toghether with bootstrap3 files ?

Maybe it could be put in a different stack... What do you think?

Cheers
-- 
Massimo Lusetti

Re: Why not to include html5shiv.js and respond.min.js ?

Posted by Barry Books <tr...@gmail.com>.
True enough and to have any chance you are going to want something like
this:

 configuration.add(JacquardConstants.XUACompatibleHeader,"IE=edge");

*public* *class* XUACompatibleHeader *implements* RequestFilter {

*private* *static* *final* String HEADER_KEY = "X-UA-Compatible";

*private*  *final* String headerValue;


 *public* XUACompatibleHeader(@Symbol(JacquardConstants.XUACompatibleHeader)
String headerValue) {

*this*.headerValue = headerValue;

}



*public* *boolean* service(Request request, Response response,
RequestHandler handler) *throws* IOException {

response.setHeader(HEADER_KEY, headerValue);

*return* handler.service(request, response);

}


}



On Fri, Aug 30, 2013 at 3:36 AM, Massimo Lusetti <ml...@gmail.com> wrote:

> On Fri, Aug 30, 2013 at 10:11 AM, Dimitris Zenios <
> dimitris.zenios@gmail.com
> > wrote:
>
> In order for bootstrap 3 to work on internet explorer version less than 9
> > you need those two libraries.Below example was taken from bootstrap
> > website.
> >
> >
> Yes, I must say that not everything will work BTW ...
>
> --
> Massimo Lusetti
>

Re: Why not to include html5shiv.js and respond.min.js ?

Posted by Massimo Lusetti <ml...@gmail.com>.
On Fri, Aug 30, 2013 at 10:11 AM, Dimitris Zenios <dimitris.zenios@gmail.com
> wrote:

In order for bootstrap 3 to work on internet explorer version less than 9
> you need those two libraries.Below example was taken from bootstrap
> website.
>
>
Yes, I must say that not everything will work BTW ...

-- 
Massimo Lusetti

Re: Why not to include html5shiv.js and respond.min.js ?

Posted by Dimitris Zenios <di...@gmail.com>.
In order for bootstrap 3 to work on internet explorer version less than 9
you need those two libraries.Below example was taken from bootstrap website.

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and
media queries -->
    <!--[if lt IE 9]>      <script
src="../../assets/js/html5shiv.js"></script>      <script
src="../../assets/js/respond.min.js"></script>    <![endif]-->





On Fri, Aug 30, 2013 at 11:01 AM, Howard Lewis Ship <hl...@gmail.com>wrote:

> I'm not familiar with those libraries. Can you explain what they do?
>
>
> On Thu, Aug 29, 2013 at 4:02 PM, Massimo Lusetti <ml...@gmail.com>
> wrote:
>
> > Hi devs,
> >   the subject say it all... Why not to include html5shiv.js and
> > respond.min.js toghether with bootstrap3 files ?
> >
> > Maybe it could be put in a different stack... What do you think?
> >
> > Cheers
> > --
> > Massimo Lusetti
> >
>
>
>
> --
> 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
>

Re: Why not to include html5shiv.js and respond.min.js ?

Posted by Howard Lewis Ship <hl...@gmail.com>.
I'm not familiar with those libraries. Can you explain what they do?


On Thu, Aug 29, 2013 at 4:02 PM, Massimo Lusetti <ml...@gmail.com> wrote:

> Hi devs,
>   the subject say it all... Why not to include html5shiv.js and
> respond.min.js toghether with bootstrap3 files ?
>
> Maybe it could be put in a different stack... What do you think?
>
> Cheers
> --
> Massimo Lusetti
>



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