[TYPO3-core] FYI: Added feature #14058: htmlArea RTE: update some WebKit dom methods
Steffen Kamper
info at sk-typo3.de
Sun Apr 11 02:09:29 CEST 2010
Hi Stan,
Stanislas Rolland schrieb:
> Hi Steffen,
>>
>> sry for nitpicking, could you use the === operator?
>> + if (node.nodeType == 3 || node.nodeType == 8 || node.nodeType
>> == 4) {
>>
> Why? nodeType is of type number:
> http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-111237558
>
exactly for this reason: Returns true if the operands are strictly equal
with no type conversion (which is the case here)
vg Steffen
More information about the TYPO3-team-core
mailing list