This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The js navigator displays: ? . Main() . Main.prototype.show() . model for a Phobos controller defined as: library.common.define(controller, "main", function() { function Main() { } Main.prototype.show = function() { model = {}; library.view.render("main.ejs"); } this.Main = Main; }); I think it would be more user friendly to replace the '?' first node by something like "function" or "library.common.define (function)" or "controller Main". How customizable this node test is for a Phobos controller?
*** Issue 103858 has been marked as a duplicate of this issue. ***
We will look at it.
*** Issue 101432 has been marked as a duplicate of this issue. ***
fixed in trunk: IDE:------------------------------------------------- IDE: [8/16/07 12:23 AM] Committing "JavaScript Editor Support" started Checking in JavaScript.java; /cvs/scripting/javascript/src/org/netbeans/modules/languages/javascript/JavaScript.java,v <-- JavaScript.java new revision: 1.58; previous revision: 1.57 done Checking in JavaScript.nbs; /cvs/scripting/javascript/src/org/netbeans/modules/languages/javascript/JavaScript.nbs,v <-- JavaScript.nbs new revision: 1.48; previous revision: 1.47 done IDE: [8/16/07 12:23 AM] Committing "JavaScript Editor Support" finished
is it really desired effect that function in ludo's example is not in navigator at all?
Yes. First function has no name, and second one is hidden inside this anonymous function.
Verified. This works as advertised.