mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-02 08:39:38 -05:00
7 lines
181 B
CoffeeScript
7 lines
181 B
CoffeeScript
|
module.exports =
|
||
|
newGuid : ()->
|
||
|
S4 = ()->
|
||
|
return (((1+Math.random())*0x10000)|0).toString(16).substring(1)
|
||
|
return (S4()+S4()+"-"+S4()+"-"+S4()+"-"+S4()+"-"+S4()+S4()+S4())
|
||
|
|