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.

Bug 229051 - Empty Navigator in angular-resource.js
Summary: Empty Navigator in angular-resource.js
Status: RESOLVED WONTFIX
Alias: None
Product: javascript
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.4
Hardware: PC Linux
: P4 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 07:07 UTC by Vladimir Riha
Modified: 2015-08-05 14:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-04-26 07:07:51 UTC
Angular-resource.js (e.g. in AngularPhoneCat sample project) has empty Navigator, because everything is defined in anonymous function declared in array which is passed to function call inside "global" anonymous function, simple example:

(function() {
    a().test([function() {
            function Nic() {
            }
        }]);
})();

The same goes for angular-cookies

It would be nice to show something, but if you think it is too deep nesting to be  displayed in Navigator, please feel free to close this issue. Thanks  



Product Version: NetBeans IDE Dev (Build web-main-10391-on-20130425)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Petr Pisl 2015-08-05 14:48:38 UTC
I'm closing this bug. I'm not sure, whether function Nic would be visible in global space.