-- 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: 6487090d298195eb53cc7f638bc4323c9a575619: path_to: revision_to:
commit 6487090d298195eb53cc7f638bc4323c9a575619 Author: James Baicoianu <james_github@baicoianu.com> Date: Thu Mar 31 02:13:59 2016 -0700 Added datapath argument diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js +++ b/scripts/janusweb.js @@ -7,14 +7,15 @@ elation.require(['engine.things.generic','engine.things.remoteplayer', 'janusweb this.defineProperties({ url: { type: 'string', default: false }, homepage: { type: 'string', default: "http://www.janusvr.com/" }, - corsproxy: { type: 'string', default: '' } + corsproxy: { type: 'string', default: '' }, + datapath: { type: 'string', default: '/media/janusweb' } }); elation.events.add(window, 'popstate', elation.bind(this, this.handlePopstate)); if (this.properties.corsproxy != '') { elation.engine.assets.setCORSProxy(this.properties.corsproxy); } - elation.engine.assets.loadAssetPack('/media/janusweb/assets.json'); + elation.engine.assets.loadAssetPack(this.properties.datapath + 'assets.json'); this.engine.systems.controls.addContext('janus', { 'load_url': [ 'keyboard_tab', elation.bind(this, this.showLoadURL) ],
-----END OF PAGE-----
-- Response ended
-- Page fetched on Sun Jun 2 16:25:53 2024