Re: [gamepad] .gamepads vs. function access

> Vincent Scheib:
>> pollGamepads() to me implies that the data would be refreshed by me calling> the function, which may be misleading if that's not the case.
That's true. I was going for "may be updated", rather than "will be
updated" but I can't think of a better short name for that.
> Paul Bakaus:
>
> We have stuff in the DOM that triggers layout like offsetWidth, so I don't
> mind implicit polling by accessing .gamepads.

Good point about offsetWidth.


Thanks for the feedback, I'll leave it alone. :-)

Received on Thursday, 20 October 2011 15:45:40 UTC