I am trying to get all the jsdoc into my solution.
I do not understand the following issue :
I create a new object and then call a function from that
- Code: Select all
var circle1
circle1 = new scopes.sw2013.circle(10,'circle1')
var Area = circle1.getArea()
No jsdoc warnings
No I use a form variable for circle1 ( media)
- Code: Select all
forms.tst1.circle1 = new scopes.sw2013.circle(10,'circle1')
var Area = forms.tst1.circle1.getArea()
now the second line gives a jsdoc warning
the method getArea is undefined for object circle1
How can I get rid of this warning ?