Closed craftoid closed 11 years ago
Cool. I hadn't fully explored Ace, and just started from the example. With this maybe I can check the syntax before sending it off to the SVG worker.
Yes, the syntax checker is really very helpful.
As long as this project resides on GitHub, you could also get rid of the same-origin problems by linking this version of ace: https://github.com/ajaxorg/ace-builds/blob/master/src-min-noconflict/ace.js
But then again, this wouldn't work for my local clone of the repo ...
ACE's dynamic syntax validation feature didn't work. The editor tries to use the javascript worker from the cloud which results in same-origin policy problems. Using a local javascript worker fixed it.