Skip to content

Instantly share code, notes, and snippets.

@temp01
Created November 17, 2010 15:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save temp01/703515 to your computer and use it in GitHub Desktop.
Save temp01/703515 to your computer and use it in GitHub Desktop.

jQuery API.xml issues:

  • for replaceAll, :gt, :contains and :has
    the <argument> tag appears outside <signature>
  • for ajaxSuccess and ajaxSend
    the main <desc> appears inside <signature> (it should be a direct child of <entry>)

Due to these issues, some info on main api.jquery.com pages for these methods is missing.

@kswedberg
Copy link

Thanks for pointing out these issues! I fixed all of them except for :gt, :contains, and :has. Selectors don't have arguments (because they aren't functions). Instead they have a <sample></sample> tag. For example, :has includes <sample>:has(selector)</sample>, which is a sibling of <signature></signature>. If you want to suggest a better way of handling these, I'd be happy to change them.

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