mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 13:14:20 +00:00
possibilité de partager des créations
This commit is contained in:
parent
398bcc9ba3
commit
d111a52ee7
16 changed files with 287 additions and 13 deletions
7
docs/.vuepress/theme/util/homebrew.js
Normal file
7
docs/.vuepress/theme/util/homebrew.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
export function encode (o) {
|
||||
return btoa(unescape(encodeURIComponent(JSON.stringify(o))))
|
||||
}
|
||||
|
||||
export function decode (s) {
|
||||
return JSON.parse(decodeURIComponent(escape(atob(s))))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue