seagull-game/static/js/desktop-structuredclone.js

5 lines
206 B
JavaScript

function structuredClone(val) {
var output = JSON.parse(JSON.stringify(val));
if (window.pywebview.api.debug_mode) { console.log(("structuredClone:" + val) + " => " + outval); }
return output;
}