| Summary: | Consider using strict mode in JavaScript | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED WONTFIX | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 1.5 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ralf Sternberg
I tried to enable strict mode but found that parts of qooxdoo do not comply. For example, certain features like the arguments.callee property are not supported in strict mode. While exploring JSHint, I found that global strict mode is not even a recommended practice as it might break third-party widgets on the site. As an alternative, it's possible to enable strict mode within functions. As there's also a jshint options to enforce this, we will look into it as part of bug 311150. |