Details :: outline is sometimes incomplete

This thread was displayed: 168 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Pawel Zieminski
11-10-2006 23:44:07 GMT +2

Hi, in the example below, function a.B.m1() is not shown in the outline.

This is a great plug-in! Thanks,

-Pawel


if (typeof a == "undefined") {
    a = {};
}
a.A = function() {
    this.m1 = function(){}
    this.m2 = function(){}
}
a.B = function() {
    B.prototype.m1 = function(){}
}
a.B.prototype.m2 = function(){}


Back | Reply | Quote | Top
Remus STRATULAT[InterAKT Online]Adobe Systems Romania staff
11-13-2006 16:36:26 GMT +2

Hello, 

JSEclipse has it's flaws :(. It can not interpret any syntax that is out there.  However your code is not a valid one. B.prototype.m1 makes no sense as B is not defined. But probably you wanted to write a.B.prototype.m1.

Anyway, thank you for your feedback and we will look into this problem first chance we'll have.

Reply | Quote | Top
Pawel Zieminski
11-15-2006 04:30:08 GMT +2

Hello,

This is legal syntax. You can access B's prototype from inside B's contructor. It runs correctly and other JS editors (IntelliJ, for example) parse it just fine.

Thank you,

-Pawel

Reply | Quote | Top
Adobe acquired InterAKT
InterAKT has been acquired by Adobe.
Learn more
 
© Adobe Systems Romania. All rights reserved.