I've been using the Ace editor for a little while but for some reason the solution that their website gives for changing the editor's theme won't work. I've Google the problem a few times and haven't found much. Here's my code so far:
var editor = ace.edit("editor");
editor.setTheme("path/to/css");
I have the stylesheet linked in the <head>
as well, and a <script>
pointing to the .js file for it. What am I doing wrong?