added missing return statement

Signed-off-by: Ken Fukuyama <kenfdev@gmail.com>
This commit is contained in:
Ken Fukuyama 2018-03-03 15:59:15 +09:00 committed by Alex Ellis
parent d96674468c
commit 4cc51adffb

View File

@ -295,7 +295,7 @@ app.controller("home", ['$scope', '$log', '$http', '$location', '$timeout', '$md
function uuidv4() {
return ([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g, function(c) {
(c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
return (c ^ crypto.getRandomValues(new Uint8Array(1))[0] & 15 >> c / 4).toString(16)
})
}