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.
Created attachment 146824 [details] sample project Please see the attached project: - open module1.js - on line 13 (the one with error), invoke cc => "dummy" is offered but it is marked as property, not function. Should dummy be some object (e.g. alien.anatomy) , it's properties wouldn't be offered either. Product Version: NetBeans IDE Dev (Build javascript2-frameworks-30-on-20140416) Java: 1.8.0; Java HotSpot(TM) Client VM 25.0-b70 Runtime: Java(TM) SE Runtime Environment 1.8.0-b132 System: Linux version 3.2.0-60-generic-pae running on i386; UTF-8; en_US (nb)
This issue is not specific for RequireJS support: it can be reproduced even in plain JS: function A() { this.test = function () {}; } var a = new A(); var x = { demo: a.test() }; x. // invoke CC here -> demo is not evaluated as a function *** This bug has been marked as a duplicate of bug 246729 ***