jquery/api.jquery.com — pull request #610 by arthurvr (2014-12-21 14:02:54+00:00)
Title: $.fn.toggleClass: rename 'switch' variable

Documentation uses variable named "switch" in the function definition. Novices could try to use variable named that way, and sometimes they can get lost where the error is.

Fixes https://github.com/jquery/api.jquery.com/issues/581