On 2006-06-28, at 14:05 EDT, Jim Grandy wrote: > Replying to the parenthetical: I'm testing for not-an-object to > ensure that I can differentiate between the single-timer case and > the multiple-timer case. In the single-timer case, I store the ID > by itself to avoid an array allocation. If the ID is itself an > object, though, I can't tell it from an array. (Oh, and of course I > should be using "instanceof Array" in this case, so the ID just > can't be an Array. When using 'typeof' I didn't think I could > differentiate between Array and Object, but with instanceof I can.)
Oh! I didn't realize that was why you were making sure id was not an object. I see now. _______________________________________________ Laszlo-dev mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
