thanhlong203 / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

Documentation Defect: Public methods listed in documentation aren't available in object. #218

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

What steps will reproduce the problem?

0. Visit 
http://closure-library.googlecode.com/svn/docs/class_goog_date_Date.html

1. Download the latest copy of the closure library (currently r329).

2. Instantiate a date object:
var start_date = new goog.date.Date();

2. Call a public method listed in the documentation
alert( start_date.toLocaleDateString() );

What is the expected output? What do you see instead?
Expect to see a string alerted to the browser.

Instead, see:
Javascript error: start_date.toLocaleDateString is not a function

What version of the product are you using? On what operating system?
revision 329

Please provide any additional information below.
I would expect that any of the public methods listed in the documentation be 
accessible from the current version of the library.

Original issue reported on code.google.com by steve.sp...@gmail.com on 1 Oct 2010 at 5:53

GoogleCodeExporter commented 8 years ago
thanks for the report. I'm going to unify this with the other bug you filed, 
which is that our doc generator is generating bogus methods for this class.

Original comment by Nicholas.J.Santos on 1 Oct 2010 at 6:32