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 150531 [details] sample file Please check the attached JS files. They contains multiple warnings about global variables which are not correct as given variables (or functions in some cases) are not global. Following properties are marked as global and should not be: - line 27, variable LoginService - line 37, function factory - line 101 function controller Marking as P2 as it is highly visible and #2 & #3 are common in (not only I guess) AngularJS. Thank you Product Version: NetBeans IDE Dev (Build 201411170001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-37-generic running on amd64; UTF-8; en_US (nb)
Fixed in web-main.
Integrated into 'main-silver', will be available in build *201503280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/2a80ea925d1b User: Petr Pisl <ppisl@netbeans.org> Log: #248696 - Falsely detected global variables and functions
Thank you, verified Product Version: NetBeans IDE Dev (Build 201503300001) Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.13.0-45-generic running on amd64; UTF-8; en_US (nb)