-- 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: 35b1642d606300f7ca51977b42de8c600e8ba04e:
path_to:
revision_to:

git.thebackupbox.net

janusweb

git://git.thebackupbox.net/janusweb

commit 35b1642d606300f7ca51977b42de8c600e8ba04e
Author: James Baicoianu <james_github@baicoianu.com>
Date:   Thu Apr 20 01:37:52 2017 -0700

    Fix for <Text> object syncing

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

index 191fddcf189d33b3c422ae37d827589b8a0719f6..

index ..1423f09a3c9ae5dd0864dfbb6384f57e907ec050 100644

--- a/scripts/room.js
+++ b/scripts/room.js
@@ -671,6 +671,11 @@ elation.require([
                 existing[objkeys[j]] = newobj[objkeys[j]];
               }
             }
+            // If the node has a _content attribute, determine the attribute name by looking at the tag name
+            if (newobj._content) {
+              var attrname = k.toLowerCase();
+              existing[attrname] = newobj._content;
+            }
           } else {
             hasNew = true;
             newobj.sync = false;

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

-- Response ended

-- Page fetched on Sun Jun 2 15:53:37 2024