JavasScript plugin help - environment variables
How do you read environment vars? Was hoping it was as simple as process.env.ENV_VAR, but that does not work.
Also, when using project.save, and isBusy() is true, what is the best way to wait until Substance is not busy and then save? I am basically creating a project and then saving it. For now I am using a setTimeout to 5 seconds which does the job, but maybe I can temporarily listen for the busyStatusChanged event when isBusy is true?
thanks!!
