repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 121673c7bf9b536b31b04702176209aaa6aa80c1:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 121673c7bf9b536b31b04702176209aaa6aa80c1
Author: James Baicoianu 
Date:   Wed Sep 21 12:59:50 2016 -0700

    Added room.getObjectById

diff --git a/scripts/room.js b/scripts/room.js
index 24947fcd76749e1e988874984b199049dda53cb0..
index ..4a0c12a7e12477b798538f3fcefed4b86badaf8c 100644
--- a/scripts/room.js
+++ b/scripts/room.js
@@ -907,6 +907,9 @@ elation.require([
         elation.events.fire({element: room, type: 'janusweb_script_frame_end'});
       })(this);
     }
+    this.getObjectById = function(js_id) {
+      return this.jsobjects[js_id];
+    }
     this.getObjectFromProxy = function(proxy, children) {
       return proxy._target;
 /*

-----END OF PAGE-----