mirror of
https://github.com/azaion/ui.git
synced 2026-06-21 21:11:10 +00:00
embed mission-planner
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
export function newGuid(): string {
|
||||
return 'xxxxxxxx-xxxx-xxxx-yxxx-xxxxxxxxxxxx'
|
||||
.replace(/[xy]/g, function (c) {
|
||||
const r = Math.random() * 16 | 0,
|
||||
v = c === 'x' ? r : (r & 0x3 | 0x8);
|
||||
return v.toString(16);
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user