-- 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: bfad621723e5efc3d7514ab4d9299a15c9def335:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit bfad621723e5efc3d7514ab4d9299a15c9def335
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Thu May 9 12:24:03 2019 -0700

    Store room.completed flag to indicate loading status

diff --git a/scripts/room.js b/scripts/room.js

index 84e90624c5f227b077c9a957cdf69651aee41217..

index ..c8dd25c778629834db31a75cb44eb798dcb29afb 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -92,6 +92,7 @@ elation.require([
       this.sounds = {};
       this.videos = {};
       this.loaded = false;
+      this.completed = false;
       this.parseerror = false;

       this.roomscripts = [];
@@ -1352,6 +1353,7 @@ elation.require([
           if (this.pendingassets.length == 0) {
             this.applyingEdits = false;
             setTimeout(elation.bind(this, function() {
+              this.completed = true;
               elation.events.fire({element: this, type: 'room_load_complete'});
             }), 0);
           }

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

-- Response ended

-- Page fetched on Sun Jun 2 15:00:56 2024