1. Martin Thorsen Ranang
  2. orbited


des...@fe34127c-c842-0410-aa83-9fc675b9a81c  committed bd5f7f3

updated Orbited.js to export jsio.logging and recompiled it

  • Participants
  • Parent commits 867286c
  • Branches 0.8

Comments (0)

Files changed (2)

File daemon/orbited/js_src/Orbited.js

View file
 jsio('import Class');
+jsio('import jsio.logging');
 jsio('from jsio.protocols.mspp import MSPPStream, MSPPProtocol');
-var multiplexer = null;
+exports.logging = jsio.logging;
 // autodetect host + port!!!
 exports.settings = { 'host': 'localhost', 'port': 8000, 'path': '/csp'};
+var multiplexer = null;
 exports.TCPSocket = Class(MSPPStream, function() {
     this.init = function() {

File daemon/orbited/js_src/compile.sh

View file
-echo "enter the location of jsio"
-read jsio
-jsio_compile orbited.pkg --vv -j $jsio -o ../static/Orbited.js
+jsio_compile orbited.pkg -j $JSIO_PATH -o ../static/Orbited.js