jquery/jquery-mobile — pull request #3368 by gabrielschulhof (2012-01-02 13:09:56+00:00)
Title: [slider] Implement enable/disable via _setOption

$.ui.widget already implements methods "enable" and "disable" via calls to
_setOption("disabled", ...). Thus, it is better to implement enable/disable by
overriding the default _setOption("disabled", ...) method and then chaining up
to $.ui.widget, because that way both the "enable"/"disable" pair of methods and
.slider("option", "disabled", value) work.