aboutsummaryrefslogtreecommitdiffstats
path: root/msb2pilot2/static
diff options
context:
space:
mode:
authorZhaoxing Meng <meng.zhaoxing1@zte.com.cn>2018-07-14 06:28:26 +0000
committerGerrit Code Review <gerrit@onap.org>2018-07-14 06:28:26 +0000
commit651367525a450768565336258c283c395adcc5eb (patch)
tree65521b7a93e700e7b496087de8fb75011a1fdf2f /msb2pilot2/static
parent2c6426336be4251d5ac3461de4708aa10da43805 (diff)
parentf5da888617ad7b436b8019cf649d759f99e07d35 (diff)
Merge "Initial commit for msb2pilot"
Diffstat (limited to 'msb2pilot2/static')
-rw-r--r--msb2pilot2/static/js/reload.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/msb2pilot2/static/js/reload.min.js b/msb2pilot2/static/js/reload.min.js
new file mode 100644
index 0000000..e780033
--- /dev/null
+++ b/msb2pilot2/static/js/reload.min.js
@@ -0,0 +1 @@
+function b(a){var c=new WebSocket(a);c.onclose=function(){setTimeout(function(){b(a)},2E3)};c.onmessage=function(){location.reload()}}try{if(window.WebSocket)try{b("ws://localhost:12450/reload")}catch(a){console.error(a)}else console.log("Your browser does not support WebSockets.")}catch(a){console.error("Exception during connecting to Reload:",a)};