Community
Participate
Working Groups
The examples (embeddededitor.html, minimaleditor.html) are picking up dojo through > <script type="text/javascript" src="/org.dojotoolkit/dojo/dojo.js.uncompressed.js"></script> This is not consumable, since it assumes that the server you're running the example on will have dojo available at that path. We should: - Reference a CDN copy of dojo for the examples. - Remove CSS imports of dojo stylesheets from the examples. (They're causing a long chain of requests that increases the page load time substantially.)
Here is a patch: http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?h=bug349705 It uses Dojo 1.6 from Google's CDN and removes the dojo/dijit stylesheets. Adds a CSS rule to make the font & spacing in the examples look the same as before.
Removed the CDN link due to legal questions. I'll just use this bug to remove the imports of Dojo css files, so the examples will load a bit faster.
http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=553a98c74fd3c59763b01185507cffd7d38c3097