-- Leo's gemini proxy
-- Connecting to git.thebackupbox.net:1965...
-- Connected
-- Sending request
-- Meta line: 20 text/gemini
repo: janusweb action: commit revision: path_from: revision_from: 6c88f5e67396924348b516c4e3a88c60022b02a7: path_to: revision_to:
commit 6c88f5e67396924348b516c4e3a88c60022b02a7 Author: James Baicoianu <james_github@baicoianu.com> Date: Sun Oct 31 01:47:37 2021 -0700 Use this.room instead of global room object diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js +++ b/scripts/janusbase.js @@ -900,7 +900,7 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f } this.createObject = function(type, args, skipstart) { - return room.createObject(type, args, this, !this.started); + return this.room.createObject(type, args, this, !this.started); } this.appendChild = function(obj) { var proxyobj = obj @@ -938,8 +938,8 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f realobj.stop(); this.remove(realobj); this.updateScriptChildren(); - if (room.objects[obj.js_id]) { - delete room.objects[obj.js_id]; + if (this.room.objects[obj.js_id]) { + delete this.room.objects[obj.js_id]; } } }
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 18:09:45 2024