Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

conditional param #13

Open
Repkit opened this issue Oct 10, 2013 · 2 comments
Open

conditional param #13

Repkit opened this issue Oct 10, 2013 · 2 comments
Assignees

Comments

@Repkit
Copy link

Repkit commented Oct 10, 2013

Hi,
First of all congrats for the hard work on this wonderful module.
This module is very scalable and very usefull and covers almost all needs. I say almost because at this moment is not possible to add contitional param (for "pain in the ass" IE).
For example if you want to achieve this : [if IE 7]link href="/assets/css/fallback/ie7.css" media="screen" rel="stylesheet" type="text/css" ![endif]

@Repkit
Copy link
Author

Repkit commented Oct 10, 2013

This is not an "unworkaround-able" issue because we can do this:

echo $this->headScript()->prependFile($this->basePath() . '/assets/js/fallback/es5-shim.min.js','text/javascript', array ('conditional' => 'lt IE 9',)) instead of just echo $this->headScript()

@Repkit Repkit closed this as completed Oct 10, 2013
@Repkit Repkit reopened this Oct 10, 2013
@neilime
Copy link
Owner

neilime commented Oct 10, 2013

I can create the same behavior than JS Custom but for css. Is that solution OK for your needs ?

@ghost ghost assigned neilime Nov 21, 2013
@neilime neilime assigned neilime and unassigned neilime Aug 30, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants