You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Filed simile-widgets/exhibit#137 upstream on the
actual issue, but for now we're working around the problem by comparing
our status numbers to strings.
When comparing for equality, the operator doesn't try to parse numbers, and thus always comes back with false.
In a way this is due to the fact that you can put Strings, Numbers and Booleans into an Exhibit.Set, but it only returns Strings.
ES6 has a real Set, but that probably breaks browser compat. Maybe use a shim that's out there?
Also, changing the semantics of Exhibit.Set() might break a ton of sites, sadly.
The text was updated successfully, but these errors were encountered: