MCPcopy Create free account
hub / github.com/aosabook/500lines / restoreLocal

Function restoreLocal

blockcode/code/file.js:29–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 }
28
29 function restoreLocal(){ jsonToScript(localStorage[title] || '[]' ); }
30
31 function clearScript(){
32 [].slice.call(document.querySelectorAll('.script > .block')).forEach(function(block){

Callers

nothing calls this directly

Calls 1

jsonToScriptFunction · 0.85

Tested by

no test coverage detected