-- 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: 1e3068bccf4af15baf91fa278daba2362141559b: path_to: revision_to:
commit 1e3068bccf4af15baf91fa278daba2362141559b Author: James Baicoianu <james_github@baicoianu.com> Date: Wed Jun 22 01:57:48 2016 -0700 Added basic ProxyObject support diff --git a/scripts/janusbase.js b/scripts/janusbase.js
--- a/scripts/janusbase.js +++ b/scripts/janusbase.js @@ -61,6 +61,16 @@ elation.require(['engine.things.generic', 'utils.template'], function() { var xml = elation.template.get('janusweb.edit.object', objdef); return xml; } + this.getProxyObject = function() { + return new elation.proxy(this, { + id: ['property', 'properties.id'], + js_id: ['property', 'properties.js_id'], + pos: ['property', 'properties.position'], + vel: ['property', 'properties.velocity'], + scale: ['property', 'properties.scale'], + col: ['property', 'properties.col'], + }); + } this.start = function() { } this.stop = function() {
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 14:20:16 2024