repo: janusweb action: commit revision: path_from: revision_from: 121673c7bf9b536b31b04702176209aaa6aa80c1: path_to: revision_to:
commit 121673c7bf9b536b31b04702176209aaa6aa80c1 Author: James BaicoianuDate: Wed Sep 21 12:59:50 2016 -0700 Added room.getObjectById diff --git a/scripts/room.js b/scripts/room.js
--- 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-----