Skip to content

Instantly share code, notes, and snippets.

@amasad
Created February 23, 2012 17:47
Show Gist options
  • Save amasad/1893996 to your computer and use it in GitHub Desktop.
Save amasad/1893996 to your computer and use it in GitHub Desktop.
WorkerClient = ace.require('ace/worker/worker_client').WorkerClient;
WorkerClient.prototype.$guessBasePath = function () {
var loc = window.location;
return loc.protocol + '//' + loc.host + '/assets/ace/';
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment