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

Steffen Kamper info at sk-typo3.de
Mon Aug 3 13:19:15 CEST 2009


Hi Bastian,

Bastian Waidelich schrieb:
> 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)
> 
>
yes, copy&paste error.


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

i also thought about force. But i think this confuse editors.
external reflects it imho that the resource is an external source. force 
would mean "force no file check" - i'm not sure ;)

vg Steffen


More information about the TYPO3-team-core mailing list