make Ace compatible with requireJS 0.25.0. This
expects a "data-main" to be present. fix #345
This commit is contained in:
parent
df27d13b94
commit
b28fb5cabc
5 changed files with 1917 additions and 2143 deletions
13
index.html
13
index.html
|
|
@ -680,7 +680,16 @@ object implicits extends Application {
|
|||
</script>
|
||||
<input id="cockpitInput" type="text"/>
|
||||
|
||||
<script src="demo/require.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script src="demo/boot.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
var require = {
|
||||
paths: {
|
||||
demo: "../demo",
|
||||
ace: "../lib/ace",
|
||||
cockpit: "../support/cockpit/lib/cockpit",
|
||||
pilot: "../support/pilot/lib/pilot"
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="demo/require.js" data-main="demo/boot" type="text/javascript" charset="utf-8"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue