jquery/jquery-mobile — pull request #3564 by gabrielschulhof (2012-02-10 20:53:52+00:00)
Title: Reusable button markup

When calling $.mobile.buttonMarkup on an existing anchor, button-type input, or button tag, it creates several divs which represent the button widget. Upon subsequent calls, it now picks up those divs and modifies their classes to reflect the options passed in, instead of just skipping the whole operation.