-- 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: 4a132490af8067b66faf2bf1a684b3e7e2144e26:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 4a132490af8067b66faf2bf1a684b3e7e2144e26
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Sun Jan 30 14:35:12 2022 -0800

    Code quality improvements

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

index 1bc3fbc6c8bdf06627f7e2beb4ee81951528f00c..

index ..356e7ac64e0e1ba2d13f9c546da7e661cd0566d2 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -1325,7 +1325,7 @@ console.log('connect room audio to graph', this.audionodes.gain, this.audionodes
           objectargs.ghost_id = args.id;
           //objectargs.ghost_scale = args.scale;
           //objectargs.scale = new THREE.Vector3(1,1,1);
-          objectargs.orientation = new THREE.Quaternion()
+          objectargs.orientation = new THREE.Quaternion();
           break;
       }
       //console.log('spawn it', realtype, args, objectargs);
@@ -2150,7 +2150,7 @@ console.log('connect room audio to graph', this.audionodes.gain, this.audionodes
           var real = this.getObjectFromProxy(change);
           if (real) {
             var xmltype = typemap[real.type] || 'Object';
-            xmlnode = xmldoc.createElement(xmltype);
+            let xmlnode = xmldoc.createElement(xmltype);

             var attrs = Object.keys(change);
             for (var i = 0; i < attrs.length; i++) {
@@ -2730,7 +2730,7 @@ console.log('dispatch to parent', event, this, event.target);
     this.fadeAudioOut = function(time=4, value=0) {
       if (this.audionodes) {
         let gain = this.audionodes.gain,
-            ctx = this.audionodes.listener.context;
+            ctx = this.audionodes.listener.context,
             currentgain = gain.gain.value;

         gain.gain.cancelScheduledValues(ctx.currentTime);

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

-- Response ended

-- Page fetched on Sun Jun 2 15:06:47 2024