This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html Multipage: http://www.whatwg.org/C#introduction-9 Complete: http://www.whatwg.org/c#introduction-9 Referrer: http://www.html5rocks.com/en/tutorials/dnd/basics/ Comment: in my opinion if there is more than 3 parameters you should use a switch statement Posted from: 86.172.124.152 User agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.107 Safari/537.36
This is presumably regarding the "Drop your favorite fruits below" example.
I'm leaving the example as-is. A switch is not wrong here, certainly, but neither are if statements, and I don't think it detracts from the example's purpose.