{"action":"closed","issue":{"url":"https://api.github.com/repos/erkyrath/lectrote/issues/70","repository_url":"https://api.github.com/repos/erkyrath/lectrote","labels_url":"https://api.github.com/repos/erkyrath/lectrote/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/erkyrath/lectrote/issues/70/comments","events_url":"https://api.github.com/repos/erkyrath/lectrote/issues/70/events","html_url":"https://github.com/erkyrath/lectrote/issues/70","id":180083753,"number":70,"title":"Adding Z-Code support","user":{"login":"curiousdannii","id":59074,"avatar_url":"https://avatars.githubusercontent.com/u/59074?v=3","gravatar_id":"","url":"https://api.github.com/users/curiousdannii","html_url":"https://github.com/curiousdannii","followers_url":"https://api.github.com/users/curiousdannii/followers","following_url":"https://api.github.com/users/curiousdannii/following{/other_user}","gists_url":"https://api.github.com/users/curiousdannii/gists{/gist_id}","starred_url":"https://api.github.com/users/curiousdannii/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/curiousdannii/subscriptions","organizations_url":"https://api.github.com/users/curiousdannii/orgs","repos_url":"https://api.github.com/users/curiousdannii/repos","events_url":"https://api.github.com/users/curiousdannii/events{/privacy}","received_events_url":"https://api.github.com/users/curiousdannii/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-09-29T15:34:23Z","updated_at":"2016-10-03T18:10:30Z","closed_at":"2016-10-03T18:10:30Z","body":"I saw [Zarf's comment](http://www.intfiction.org/forum/viewtopic.php?f=7&t=20520#p112701) and thought I'd write a few notes because I'm about to go away for a few days. This will be so much easier once I adapt ZVM to use Glk, but that's not going to happen before IFComp! But for a very crude minimal embedding of Parchment you should only need to intercept these few places:\r\n\r\n- Skip loading the story file here and just load the VM files (or maybe just hardcode them in the html?): https://github.com/curiousdannii/parchment/blob/bc793329904fcd7ee0322b517d04de954c289250/src/parchment/library.js#L322\r\n- Load the story here (synchronously if you can with Node?): https://github.com/curiousdannii/parchment/blob/bc793329904fcd7ee0322b517d04de954c289250/src/parchment/library.js#L49\r\n- To handle saving and restoring you'll want to intercept here: https://github.com/curiousdannii/parchment/blob/bc793329904fcd7ee0322b517d04de954c289250/src/parchment/library.js#L401"}}
{"actor":{"display_login":"erkyrath"}}