From 3b498fca42e116fcbfe3e9e9ec70caeb3809a0e4 Mon Sep 17 00:00:00 2001 From: nuintun Date: Tue, 24 Nov 2015 15:25:20 +0800 Subject: [PATCH] update files --- static/js/app/index.js | 4 ++++ static/js/components/app-main/app-main.html | 4 ++-- static/js/components/app-main/index.js | 14 ++++++++++++++ static/js/terminal/index.js | 3 +++ 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 static/js/terminal/index.js diff --git a/static/js/app/index.js b/static/js/app/index.js index 5d4050b..7e7d59e 100644 --- a/static/js/app/index.js +++ b/static/js/app/index.js @@ -14,6 +14,10 @@ require('../components/app-nav'); require('../components/app-main'); require('../components/no-data'); +// app runtime +window.AppRuntime = {}; + +// add DOMContentLoaded event window.addEventListener('DOMContentLoaded', function (){ var app; diff --git a/static/js/components/app-main/app-main.html b/static/js/components/app-main/app-main.html index 4ca447a..b755f43 100644 --- a/static/js/components/app-main/app-main.html +++ b/static/js/components/app-main/app-main.html @@ -12,7 +12,7 @@