| Summary: | parentRequire.specified is undefined | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Adam Peller <apeller> |
| Component: | Editor | Assignee: | Simon Kaegi <simon_kaegi> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Silenio_Quarti, simon_kaegi |
| Version: | 1.0 | ||
| Target Milestone: | 2.0 M1 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
Sorry Adam, that check was supposed to be in the code-base already. The test is already in the code base (Orion 1.0): http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=5cf156464601d5db223e11ad306e34fa42cd7ea2 Could it be a different problem? . . Sorry, I was looking at an old tag (v20120618-1815) |
When integrating the Orion editor with Maqetta, it is loaded by the Dojo loader. parentRequire.specified is undefined, so the load() method in textview/i18n fails. Our workaround is to simply test for truthiness: if (parentRequire.specified && parentRequire.specified("orion/bootstrap")) { //$NON-NLS-0$