Commits

Anonymous 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

 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() {
         this.setEncoding('plain');

File daemon/orbited/js_src/compile.sh

-#!/bin/bash
-echo "enter the location of jsio"
-read jsio
-jsio_compile orbited.pkg --vv -j $jsio -o ../static/Orbited.js
+#!/bin/bash 
+jsio_compile orbited.pkg -j $JSIO_PATH -o ../static/Orbited.js