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 257640 - 'The global variable "this" is not defined.'
Summary: 'The global variable "this" is not defined.'
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-20 09:44 UTC by Echo89
Modified: 2016-08-04 14:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of code with error (171.87 KB, image/png)
2016-01-20 09:44 UTC, Echo89
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Echo89 2016-01-20 09:44:18 UTC
Created attachment 158187 [details]
Screenshot of code with error

Hi,

For some reason, one line in approx. 25 lines that all make use of the "this" variable inside a prototype function is flagged for using the global variable "this", which apparently is also not declared.

See the screenshots I uploaded.
Comment 1 Petr Pisl 2016-08-04 14:53:23 UTC
Should be fixed in web-main.