Bug Tracker

Modify

Ticket #5140 (closed bug: fixed)

Opened 5 years ago

Last modified 4 years ago

Some inconsistensies in API documentation xml

Reported by: olav Owned by:
Priority: trivial Milestone:
Component: docs Version:
Keywords: Cc: olav@…
Blocking: Blocked by:

Description

root/trunk/tools/api-browser/index.xml

Noticed some minor inconsistencies in the API documentation in index.xml

line 1175 (function removeClass, param class) type="String '(optional)' " should probably be a seperate optional="true" attribute

line 1377 (function filter, param expr): Type attribute should probably be "String" (not "Expression"), this is how jQuery-expressions are described other places

line 2136 (function clone, param true): The *name* of the parameter is "true", which is somewhat confusing. In the source it is named "events".

line 2194: (function css, param value) "String or Number" should be "String, Number"

line 2277: (function height, param val) "String or Number" should be "String, Number"

line 3529: (function load, param callback) type="Callback" should probably be type="Function"

Change History

comment:1 Changed 4 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

Much of this has been resolved in the new API site:  http://api.jquery.com/api/

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.