[patch] fix isNaN(".")

Leo Savernik l.savernik at aon.at
Wed Sep 21 16:39:58 BST 2005


Hello,

In kjs < 3.4, isNaN(".") used to return true. Now it returns false. However, 
it actually should return true in this case, as it breaks real-world-pages 
(and because Mozilla also returns true).

Attached patch fixes the problem.

Please review.

mfg
	Leo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kjs_ustring_1.diff
Type: text/x-diff
Size: 483 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050921/1dea5fe6/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20050921/1dea5fe6/attachment.sig>


More information about the kfm-devel mailing list