derek/yui3-1 — comment on commit b90d3fc725a0a4b62fcc7dd8b3516571fd8582ff
File: src/button/js/core.js line 170
By ericf:

Maybe I'm missing something, but can you explain why `innerHTML` has to be used? I thought the process went like this:

If the button node is an `input`, then set its `value` and return. Otherwise, look for a nested `"yui3-button-label"` element and set its `text`, if a label element does not exist, then simply set the main button node's `text` and return.

This is the logic I was trying to convey in the [`_setLabel()` implementation above](https://github.com/derek/yui3-1/commit/b90d3fc725a0a4b62fcc7dd8b3516571fd8582ff#commitcomment-1024226).