@ -865,7 +865,7 @@ class DemoShell {
}
window.demoInterface = {
window.demoInterface = module.exports = {
input (data) {
let type = data[0]
let content = data.substr(1)
@ -2,6 +2,6 @@ require('./lib/polyfills')
require('./modal')
require('./notif')
require('./appcommon')
require('./demo')
try { require('./demo') } catch (err) {}
require('./wifi')
window.termInit = require('./term')
@ -1,6 +1,7 @@
const EventEmitter = require('events')
const $ = require('./lib/chibi')
const demo = require('./demo')
let demo
try { demo = require('./demo') } catch (err) {}
/** Handle connections */
module.exports = class TermConnection extends EventEmitter {