What steps will reproduce the problem?
1. create a class with a property a document it:
/**
@class Represents a person.
@property {Number} [publicProperty=0] A property.
*/
Person = function()
{
this.publicProperty = 0;
this.publicMethod = function(){}
var privateMethod = function(){}
}
What is the expected output? What do you see instead?
I expect the property to be a public instance member of the class
(Person#publicProperty).
But the property is marked as static, it is not supossed to be static, I
cannot use it like this:
Person.publicProperty = 9;
but rather like this:
(new Person()).publicProperty = 9;
What version of the product are you using? On what operating system?
2.3.0
Original issue reported on code.google.com by jbm...@gmail.com on 28 Oct 2009 at 6:11
Original issue reported on code.google.com by
jbm...@gmail.com
on 28 Oct 2009 at 6:11