Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365388 - Add a RequireJS example
Summary: Add a RequireJS example
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Editor (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-01 23:26 EST by Mark Macdonald CLA
Modified: 2012-01-20 15:04 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-12-01 23:26:13 EST
It would be good to have an example of how the editor can be consumed with RequireJS rather than manually write out the dependency tree using <script> tags.
Comment 1 Felipe Heidrich CLA 2011-12-02 11:35:46 EST
note that the text view demo.html example uses requirejs
i guess we could update one of the two editor examples to use it too.
Comment 2 Felipe Heidrich CLA 2011-12-19 13:43:38 EST
fixed (changed minimal and embedded editor sample to use requirejs)
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=6ba402f52bc6e143a94dd1a80ee3b77b8c59d0a9

see Bug 365968 for details (in particular comment 20)