Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 420072

Summary: orion/i18n should guard use of requirejs require.defined and require.specified
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ClientAssignee: Simon Kaegi <simon_kaegi>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gheorghe
Version: 4.0Flags: gheorghe: review+
simon_kaegi: review+
Target Milestone: 4.0 RC3   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Kaegi CLA 2013-10-22 09:18:47 EDT
Our i18n plugin is making use of non-AMD API exposed only in RequireJS. This is making it difficult for consumers of other AMD Loaders (like Dojo's use of bdloader).

The use of require.defined and require.specified is an optimization and we should guard against their use to allow other AMD loaders.
Comment 1 Simon Kaegi CLA 2013-10-22 09:39:55 EDT
Fixed in Master.