- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 10 Jul 2009 04:39:02 +0000 (UTC)
On Thu, 9 Jul 2009, Maciej Stachowiak wrote: > On Jul 9, 2009, at 9:15 PM, Robert O'Callahan wrote: > > > > I actually anticipated this problem, and argued strenuously to break > > canPlayType into two boolean functions, "canPlayType" and > > "cannotPlayType", but I lost. Hopefully most Web authors are smarter > > than I am. > > I think at one point I suggested that canPlayType should return one of > boolean false, true or "maybe", so that naiive boolean tests would work. > Or in any case, make the "no" option something that tests as boolean > false. I've changed the API to return "" instead of "no". -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 9 July 2009 21:39:02 UTC