jasonlewis / basset

A better asset management package for Laravel.
http://jasonlewis.me/code/basset
240 stars 76 forks source link

Conditional JS/CSS #139

Closed syphernl closed 11 years ago

syphernl commented 11 years ago

It would be nice if conditional JS/CSS could be used like:

<!--[if lt IE 9]><script src="{{ URL::asset('js/html5shiv.js' ) }}" type="text/javascript"></script> <![endif]-->
jasonlewis commented 11 years ago

You can already do this, however it will be applied to all assets in a collection. See custom formats on the docs. If that's not going to help then just load that script manually.