mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
fixed ES6 syntax accidentally used in JavaScript.
fixed markup closing typo. Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
This commit is contained in:
parent
76526b0be3
commit
a6a657295f
@ -112,7 +112,7 @@
|
|||||||
<input ng-model="function.envProcess" type="text" readonly="readonly">
|
<input ng-model="function.envProcess" type="text" readonly="readonly">
|
||||||
</md-input-container>
|
</md-input-container>
|
||||||
</div>
|
</div>
|
||||||
<md-card-title-text>
|
</md-card-title-text>
|
||||||
</md-card-title>
|
</md-card-title>
|
||||||
</md-card>
|
</md-card>
|
||||||
<md-card>
|
<md-card>
|
||||||
|
4
gateway/assets/script/bootstrap.js
vendored
4
gateway/assets/script/bootstrap.js
vendored
@ -294,8 +294,8 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md
|
|||||||
]);
|
]);
|
||||||
|
|
||||||
function uuidv4() {
|
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)
|
(c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
|
||||||
)
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user