jquery/jquery — pull request #573 by jyli7 (2011-11-03 22:05:53+00:00)
Title: Boolean for slideToggle and fadeToggle, #10491

Implements the request from ticket #10491 to add a boolean `showOrHide` option to `slideToggle()` and `fadeToggle()` to be consistent with `toggle()`.

To implement this, we (@ramz15, @omni5cience) also changed the function signature on `genFx` to take a start and stop index.

We also moved the `toggle()` definition from `jQuery.fn.extend` to an `.each` generator, so that we generate all three functions in a similar manner.