This project is archived and is in readonly mode.

#1173 ✓resolved
mediavrog

Mootools Docs Errors: More

Reported by mediavrog | February 9th, 2011 @ 12:39 AM

http://mootools.net/docs/more/Types/Number.Format#Number:format
Arguments reads "suffix" 2 times when it should be prefix and suffix

________________

http://mootools.net/docs/more/Types/Array.Extras#Array:reduceRight
Syntax of reduceRight should show same signature as reduce

________________

http://mootools.net/docs/more/Utilities/Assets#Asset:javascript
Example should pass event "onLoad" like stated in the note, not "load"

________________

http://mootools.net/docs/more/Types/Date#Date:get
Should "LastMonth" be "LastDayOfMonth" in notes section ?

________________

http://mootools.net/docs/more/Types/Date#Date:format
One must be uppercase.
k - the hour (24-hour clock) as a digit (range 0 to 23). Single digits are preceded by a blank space. k - the hour (12-hour clock) as a digit (range 1 to 12). Single digits are preceded by a blank space.

________________

http://mootools.net/docs/more/Types/Date#Date:defineParser
Section: Pattern String. Small typo

As you can see, the above pattern (already included in Date.js) uses parentheses for grouping with a question mark to denote the preceding item or group as being optional, just as in a regular expression. It parsers (should be 'parses') strings such as:

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

People watching this ticket

Tags

Pages