playcanvas/engine — pull request #18 by vkalpias (2014-07-22 16:37:07+00:00)
Title: Feature/synchronous clone

All components that load resources will first attempt to load them synchronously from the cache, so that entity#clone becomes synchronous. As a side effect entity#addComponent also becomes synchronous most of the time (unless we are adding assets not currently loaded in the asset registry which can probably be avoided by using script attributes).