I found a major bug in Ace when trying to load Ace via AJAX (instead
of adding a <script> tag to the page), I use jQuery to load the
script.
this function:
https://github.com/ajaxorg/ace/blob/master/lib/ace/worker/worker_client.js#L115
this function tries to get the aceBaseUrl via the script tag if
aceBaseUrl is not defined, but the script tag doesn't exist because I
loaded the script via jQuery.
I tried setting ace.require.aceBaseUrl with no luck...
require.aceBaseUrl returns an error: require is not defined...