| Summary: | [content assist] Classes are not properly scoped | ||
|---|---|---|---|
| Product: | [WebTools] JSDT | Reporter: | Eugene Ostroukhov <eostroukhov> |
| Component: | General | Assignee: | Project Inbox <jsdt.javascript-inbox> |
| Status: | NEW --- | QA Contact: | Chris Jaun <cmjaun> |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.2.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
1. (Expected behavior) I do not have "myfunction()" function visible in the global scope code assist if I write it in anonymous scope: (function() { function myfunction() { return 1; } })(); 2. (Wrong behavior) I will see "myfunction" class (and its property) in code assist if I change the code to: (function() { function myfunction() { this.aproperty = 1; } })(); Note: browser does not see this class in the global scope.