Invalid examples being generated by XSLT for jQuery.Widget #86

ajpiano opened this Issue Jan 4, 2013 · 1 comment


None yet

2 participants

ajpiano commented Jan 4, 2013

The examples that are being generated by the XSLT when generaing the docs for jQuery.widget and mouse are not actually valid usage examples, for example:

Initialize the jQuery.Widget with the hide option specified:

$( ".selector" ).jQuery.Widget({ hide: { effect: "explode", duration: 1000 } });

Get or set the hide option, after initialization:

// getter
var hide = $( ".selector" ).jQuery.Widget( "option", "hide" );

// setter
$( ".selector" ).jQuery.Widget( "option", "hide", { effect: "explode", duration: 1000 } );

Mouse fixed in 95a07c7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment