Michiel wrote:
> Hi,
>
> I wonder if there is not a bug in Exhibit.Functions["or"]. Should
> there not be an exclamation mark before the r in the for loop. So
> for (var i = 0; !r && i < args.length; i++)
> instead of
> for (var i = 0; r && i < args.length; i++)
>   
You're right :)

> And in Exhibit.Controls["filter"] shouldn't collection2 be check on
> containment of primitive value true instead of string "true". So
> if (collection2.size > 0 && collection2.contains(true))
> instead of
> if (collection2.size > 0 && collection2.contains("true"))
>   
All the elements in a collection are going to be turned into a string 
anyway, so, either true or "true" would work. Or are you noticing any 
difference?

David

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to