highfidelity/hifi — pull request #3990 by ZappoMan (2014-12-19 19:36:55+00:00)
Title: Entity Scripts bug fixes/improvements

* fixed allowing "include" inside of Entity Scripts
* added support to call "leaveEntity" methods on entity scripts when leaving a domain - NOTE: this may not happen until after you've disconnected from the domain. We need to consider adding support for "about to leave a domain"