royale-compiler
royale-compiler copied to clipboard
Add compiler warning for unqualified use of new Event
new Event() with no import will successfully compile in JS, but will create a browser event instead of a royale Event. This will usually be a mistake (and not work in IE). A compiler warning will make it easier to spot and fix.