From a6a657295ffd6fa2d85cf9d2f3c272f1c301fe12 Mon Sep 17 00:00:00 2001 From: Ken Fukuyama Date: Tue, 27 Feb 2018 23:24:19 +0900 Subject: [PATCH] fixed ES6 syntax accidentally used in JavaScript. fixed markup closing typo. Signed-off-by: Ken Fukuyama --- gateway/assets/index.html | 2 +- gateway/assets/script/bootstrap.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gateway/assets/index.html b/gateway/assets/index.html index 32cecccb..b16d2f92 100644 --- a/gateway/assets/index.html +++ b/gateway/assets/index.html @@ -112,7 +112,7 @@ - + diff --git a/gateway/assets/script/bootstrap.js b/gateway/assets/script/bootstrap.js index c87b3d75..159a33f4 100644 --- a/gateway/assets/script/bootstrap.js +++ b/gateway/assets/script/bootstrap.js @@ -294,8 +294,8 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md ]); function uuidv4() { - return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, c => + return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, function(c) { (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16) - ) + }) } \ No newline at end of file