dbIDE
dbIDE copied to clipboard
Missing code-mirror
I can compile hwide, and run it, but the file http://localhost:8023/static/js/codemirror-4.5/lib/codemirror.js serves up:
<!doctype html>
<head>
<title>Haskell Web IDE</title>
<script src="driver/threepenny-gui.js"></script>
<link rel="stylesheet" type="text/css" href="driver/threepenny-gui.css"/>
<link rel="stylesheet" type="text/css" href="static/js/codemirror-4.5/lib/codemirror.css">
<script src="static/js/codemirror-4.5/lib/codemirror.js"></script>
<script src="static/js/codemirror-4.5/mode/haskell/haskell.js"></script>
<script src="static/js/codemirror-4.5/mode/yaml/yaml.js"></script>
<script src="static/js/codemirror-4.5/mode/javascript/javascript.js"></script>
<script src="static/js/hwide.js"></script>
</head>
<body>
<noscript>Please enable JavaScript.</noscript>
</body>
</html>
I can fix that by pasting code-mirror into the right directory, but that's not a very nice user experience. Either ship it by default, or make a quick check and then error out saying "no code-mirror, here's how you get it, and here's where you put it".
Ah, I see this is basically a dupe of #2 - so already an FAQ :)