Alex,
   Give me an opinion which of these you prefer.  I have a few sets of
changes I could use.  I will apply the same logic for the array based ones
too.

1.  Keep the existing named methods (disableButton/enabledButton) and move
70% of code to a button index lookup method which they both call.

2.  Combine the 2 methods (disableButton/enabledButton) into one method
with an extra property requirement "setButtonEnabled(buttonLabel,
enabledValue, optionalFieldName)".

3.  Both options


-Mark

On Thu, May 2, 2013 at 11:44 PM, Alex Harui <aha...@adobe.com> wrote:

> Hey Mark,
>
> Do you think it is worth trying to have all of these APIs call a common
> function?  I think I'm seeing the same code more than once.
>
>

Reply via email to