[TYPO3-core] RFC #11611: Add feature condition on the includeCSS / includeJS

Bastian Waidelich bastian at typo3.org
Mon Aug 3 13:01:24 CEST 2009


Steffen Kamper wrote:

Hi,

> page.includeJS {
>      file1 = fileadmin/test.js
>      # wrap complete tag
>      file1.allWrap = <!--[if lte IE 6]> | <!--[if lte IE 6]>

Looks good to me (except that it should be <!--[if lte IE 6]> | 
<![endif]--> as David mentioned)


>      # don't check file existance, maybe file is on another server
>      file1.external = 1
> }

I think "external" does not really express what it does. Why not call it 
  "force" or "skipFileCheck" or something like that?

Bastian


More information about the TYPO3-team-core mailing list