mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
code formatter
Signed-off-by: qinpengfei <qinpengfei@jd.com>
This commit is contained in:
parent
476b652c26
commit
70a5e343c5
5
gateway/assets/script/bootstrap.js
vendored
5
gateway/assets/script/bootstrap.js
vendored
@ -351,7 +351,6 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$interval', '$f
|
|||||||
function uuidv4() {
|
function uuidv4() {
|
||||||
var cryptoInstance = window.crypto || window.msCrypto; // for IE11
|
var cryptoInstance = window.crypto || window.msCrypto; // for IE11
|
||||||
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, function(c) {
|
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, function(c) {
|
||||||
return (c ^ cryptoInstance.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
|
return (c ^ cryptoInstance.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user