-- 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: 124e51eeffdb3a2244b7c1b064b25dbe218173e9: path_to: revision_to:
commit 124e51eeffdb3a2244b7c1b064b25dbe218173e9 Author: James Baicoianu <james_github@baicoianu.com> Date: Sun Jul 16 22:11:23 2017 -0700 Default value for portal.size diff --git a/scripts/portal.js b/scripts/portal.js
--- a/scripts/portal.js +++ b/scripts/portal.js @@ -6,7 +6,7 @@ elation.require(['janusweb.janusbase'], function() { 'title': { type: 'string' }, 'janus': { type: 'object' }, //'color': { type: 'color', default: new THREE.Color(0xffffff), set: this.updateMaterial }, - 'size': { type: 'vector3', set: this.updateGeometry }, + 'size': { type: 'vector3', default: new THREE.Vector3(1,1,1), set: this.updateGeometry }, 'url': { type: 'string', set: this.updateTitle }, 'open': { type: 'boolean', default: false }, 'title': { type: 'string', set: this.updateTitle }, @@ -275,8 +275,8 @@ elation.require(['janusweb.janusbase'], function() { this.useBlur = function(ev) { this.unhover(); } - this.getProxyObject = function() { - var proxy = elation.engine.things.janusobject.extendclass.getProxyObject.call(this); + this.getProxyObject = function(classdef) { + var proxy = elation.engine.things.janusobject.extendclass.getProxyObject.call(this, classdef); proxy._proxydefs = { url: ['property', 'url'], title: ['property', 'title'],
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 14:22:49 2024