| Summary: | [client] jslintPlugin.js calls document.addEventListener | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Felipe Heidrich <eclipse.felipe> |
| Component: | Client | Assignee: | Project Inbox <e4.orion-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | bokowski, mamacdon |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
(In reply to comment #0) > Trying to open a file in IE8 fails with error. For me the file opens fine. If I open the IE dev tools I can see that error in the console, but doesn't seem to affect ability to open/edit files for me. This was fixed a few days ago |
Trying to open a file in IE8 fails with error. jslintPlugin.js has this code: document.addEventListener("DOMContentLoaded", function() { var pluginData = { services : [{ id : "JSLintEditorSyntaxChecker", serviceType : { id: "IEditorSyntaxChecker", interfaces : ["checkSyntax"] }, properties: {} }] }; var serviceProvider = new eclipse.JSLintServiceProvider(); var jslintPlugin = new eclipse.Plugin(pluginData, serviceProvider); jslintPlugin.start(); }, false); The problem is that in IE8 document does not have a addEventListener method.