[TYPO3-core] RFC #13428: Caching of the ExtDirect API configuration

Stefan Galinski sgalinski at df.eu
Fri Feb 5 14:26:23 CET 2010


Steffen Kamper wrote:

> Hi Stefan,
> 
> patch looks good now and applies too. I will review this afternoon.
> 
> One thing we should use in JS same as in php - strict comparison
> if (typeof Ext.app.ExtDirectAPI !== "object")
> if (typeof Object.extend !== "function")
> 
> I always try that JS parts pass jsLint test.
> 
> We need to define this rule in CGL for JS.
> 
> vg Steffen

Hi Steffen,

Version 3 fulfilles the jslint tests now. Only the for loop filter rule 
shouldn't pass, but it's nonsense in that case. IMHO you are right that 
strict comparison in general would be a good idea for javascript too. +1 for 
this CGL rule... :-)

-- 
Stefan Galinski
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 13428_v3.diff
Type: text/x-patch
Size: 3761 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100205/c9248c10/attachment.bin>


More information about the TYPO3-team-core mailing list