ajaxorg/ace — Issue #655: worker-javascript.js not found if editor loaded using Ajax
Author: abdulqadir
Created: 2012-02-28 15:34:53+00:00
State: open

If the editor is loaded using Ajax, and Javascript mode is set, it tries to load worker-javascript.js from current_url/javascript-worker.js and fails.

I suspect this is because jQuery is appending additional data to the url when the script location is read in data obtained using an Ajax call, in my case

ace-0.2.0/src/mode-javascript.js/?_=1330443139088

when requesting the script files.