How to add some known objects to ace editors syntax checker?
问题 we're using the ACE editor to write javascript code that's interpreted on the server side. So the server has a JavaScript interface and can execute submitted code to accomplish some task from the outside. The server implements some new objects that are not known by ACE. So ACE shows a warning, if one of this unknown objects is used in code. What is the correct way to tell ACE, that there are some new objects, variables und functions? I already took a look into worker-javascript.js, but I DON