From 36259b1120fed922ac2654de91a5a453be151db2 Mon Sep 17 00:00:00 2001 From: nuintun Date: Fri, 27 Nov 2015 00:06:42 +0800 Subject: [PATCH] update files --- static/js/components/app-main/index.js | 2 ++ static/js/components/app-main/worker.js | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 static/js/components/app-main/worker.js diff --git a/static/js/components/app-main/index.js b/static/js/components/app-main/index.js index 8767d91..d713b40 100644 --- a/static/js/components/app-main/index.js +++ b/static/js/components/app-main/index.js @@ -200,5 +200,7 @@ module.exports = Vue.component('app-main', { }, ready: function (){ createXTerm(this.project.name, this.$els.terminal); + + new Worker('static/js/components/app-main/worker.js'); } }); diff --git a/static/js/components/app-main/worker.js b/static/js/components/app-main/worker.js new file mode 100644 index 0000000..65df509 --- /dev/null +++ b/static/js/components/app-main/worker.js @@ -0,0 +1,5 @@ +/** + * Created by nuintun on 2015/11/27. + */ + +var Terminal = require('../../terminal');