Fix ESP_PROD breaking everything

box-drawing
cpsdqs 7 years ago
parent 430a9746d8
commit d63271714c
Signed by untrusted user: cpsdqs
GPG Key ID: 3F59586BB7448DD1
  1. 2
      js/demo.js
  2. 2
      js/index.js
  3. 3
      js/term_conn.js

@ -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 {

Loading…
Cancel
Save