{"action":"closed","issue":{"url":"https://api.github.com/repos/Yomguithereal/baobab/issues/58","labels_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/58/comments","events_url":"https://api.github.com/repos/Yomguithereal/baobab/issues/58/events","html_url":"https://github.com/Yomguithereal/baobab/issues/58","id":53406582,"number":58,"title":"toLocalStorage?","user":{"login":"christianalfoni","id":3956929,"avatar_url":"https://avatars.githubusercontent.com/u/3956929?v=3","gravatar_id":"","url":"https://api.github.com/users/christianalfoni","html_url":"https://github.com/christianalfoni","followers_url":"https://api.github.com/users/christianalfoni/followers","following_url":"https://api.github.com/users/christianalfoni/following{/other_user}","gists_url":"https://api.github.com/users/christianalfoni/gists{/gist_id}","starred_url":"https://api.github.com/users/christianalfoni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianalfoni/subscriptions","organizations_url":"https://api.github.com/users/christianalfoni/orgs","repos_url":"https://api.github.com/users/christianalfoni/repos","events_url":"https://api.github.com/users/christianalfoni/events{/privacy}","received_events_url":"https://api.github.com/users/christianalfoni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-05T15:23:04Z","updated_at":"2015-01-05T19:53:16Z","closed_at":"2015-01-05T19:53:16Z","body":"Okay, sorry to just hammer out ideas without much suggested solutions, but it would also be great to say:\r\n\r\n```javascript\r\ntree.toLocalStorage();\r\ntree.fromLocalStorage();\r\n```\r\n\r\nIf the browser refreshes etc. you would easily be able to keep the state."}}