{"action":"created","comment":{"url":"https://api.github.com/repos/ndless-nspire/Luna/pulls/comments/94275094","pull_request_review_id":14805400,"id":94275094,"diff_hunk":"@@ -0,0 +1,44 @@\n+var Module = { 'preRun': function() {\n+\n+callLuna = function(luaFileName, tnsFileName)\n+{\n+   Module.callMain([luaFileName, tnsFileName]);","path":"emscripten/luna-utils.js","position":5,"original_position":5,"commit_id":"4216e02e7e533018d2e006284a0d5cce3ade2ada","original_commit_id":"d02df203377b8107cdd2ec0c2058f16ab79aad69","user":{"login":"Vogtinator","id":1622084,"avatar_url":"https://avatars.githubusercontent.com/u/1622084?v=3","gravatar_id":"","url":"https://api.github.com/users/Vogtinator","html_url":"https://github.com/Vogtinator","followers_url":"https://api.github.com/users/Vogtinator/followers","following_url":"https://api.github.com/users/Vogtinator/following{/other_user}","gists_url":"https://api.github.com/users/Vogtinator/gists{/gist_id}","starred_url":"https://api.github.com/users/Vogtinator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vogtinator/subscriptions","organizations_url":"https://api.github.com/users/Vogtinator/orgs","repos_url":"https://api.github.com/users/Vogtinator/repos","events_url":"https://api.github.com/users/Vogtinator/events{/privacy}","received_events_url":"https://api.github.com/users/Vogtinator/received_events","type":"User","site_admin":false},"body":"Then maybe just run Module[\"main\"] directly? The return code is definitely useful outside of luna","created_at":"2016-12-31T15:50:15Z","updated_at":"2016-12-31T15:50:15Z","html_url":"https://github.com/ndless-nspire/Luna/pull/8#discussion_r94275094","pull_request_url":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/ndless-nspire/Luna/pulls/comments/94275094"},"html":{"href":"https://github.com/ndless-nspire/Luna/pull/8#discussion_r94275094"},"pull_request":{"href":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8","id":99769899,"html_url":"https://github.com/ndless-nspire/Luna/pull/8","diff_url":"https://github.com/ndless-nspire/Luna/pull/8.diff","patch_url":"https://github.com/ndless-nspire/Luna/pull/8.patch","issue_url":"https://api.github.com/repos/ndless-nspire/Luna/issues/8","number":8,"state":"open","locked":false,"title":"Simple JS version demo with emscripten","user":{"login":"adriweb","id":660896,"avatar_url":"https://avatars.githubusercontent.com/u/660896?v=3","gravatar_id":"","url":"https://api.github.com/users/adriweb","html_url":"https://github.com/adriweb","followers_url":"https://api.github.com/users/adriweb/followers","following_url":"https://api.github.com/users/adriweb/following{/other_user}","gists_url":"https://api.github.com/users/adriweb/gists{/gist_id}","starred_url":"https://api.github.com/users/adriweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriweb/subscriptions","organizations_url":"https://api.github.com/users/adriweb/orgs","repos_url":"https://api.github.com/users/adriweb/repos","events_url":"https://api.github.com/users/adriweb/events{/privacy}","received_events_url":"https://api.github.com/users/adriweb/received_events","type":"User","site_admin":false},"body":"Tested successfully in FF and Chrome.","created_at":"2016-12-30T17:38:43Z","updated_at":"2016-12-31T15:50:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"297372a559cb18f0515e30b4f93e047d157f8b19","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8/commits","review_comments_url":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8/comments","review_comment_url":"https://api.github.com/repos/ndless-nspire/Luna/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ndless-nspire/Luna/issues/8/comments","statuses_url":"https://api.github.com/repos/ndless-nspire/Luna/statuses/4216e02e7e533018d2e006284a0d5cce3ade2ada","head":{"label":"adriweb:master","ref":"master","sha":"4216e02e7e533018d2e006284a0d5cce3ade2ada","user":{"login":"adriweb","id":660896,"avatar_url":"https://avatars.githubusercontent.com/u/660896?v=3","gravatar_id":"","url":"https://api.github.com/users/adriweb","html_url":"https://github.com/adriweb","followers_url":"https://api.github.com/users/adriweb/followers","following_url":"https://api.github.com/users/adriweb/following{/other_user}","gists_url":"https://api.github.com/users/adriweb/gists{/gist_id}","starred_url":"https://api.github.com/users/adriweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriweb/subscriptions","organizations_url":"https://api.github.com/users/adriweb/orgs","repos_url":"https://api.github.com/users/adriweb/repos","events_url":"https://api.github.com/users/adriweb/events{/privacy}","received_events_url":"https://api.github.com/users/adriweb/received_events","type":"User","site_admin":false},"repo":{"id":77528563,"name":"Luna","full_name":"adriweb/Luna","owner":{"login":"adriweb","id":660896,"avatar_url":"https://avatars.githubusercontent.com/u/660896?v=3","gravatar_id":"","url":"https://api.github.com/users/adriweb","html_url":"https://github.com/adriweb","followers_url":"https://api.github.com/users/adriweb/followers","following_url":"https://api.github.com/users/adriweb/following{/other_user}","gists_url":"https://api.github.com/users/adriweb/gists{/gist_id}","starred_url":"https://api.github.com/users/adriweb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adriweb/subscriptions","organizations_url":"https://api.github.com/users/adriweb/orgs","repos_url":"https://api.github.com/users/adriweb/repos","events_url":"https://api.github.com/users/adriweb/events{/privacy}","received_events_url":"https://api.github.com/users/adriweb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adriweb/Luna","description":"Create TNS files from Lua and XML","fork":true,"url":"https://api.github.com/repos/adriweb/Luna","forks_url":"https://api.github.com/repos/adriweb/Luna/forks","keys_url":"https://api.github.com/repos/adriweb/Luna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adriweb/Luna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adriweb/Luna/teams","hooks_url":"https://api.github.com/repos/adriweb/Luna/hooks","issue_events_url":"https://api.github.com/repos/adriweb/Luna/issues/events{/number}","events_url":"https://api.github.com/repos/adriweb/Luna/events","assignees_url":"https://api.github.com/repos/adriweb/Luna/assignees{/user}","branches_url":"https://api.github.com/repos/adriweb/Luna/branches{/branch}","tags_url":"https://api.github.com/repos/adriweb/Luna/tags","blobs_url":"https://api.github.com/repos/adriweb/Luna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adriweb/Luna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adriweb/Luna/git/refs{/sha}","trees_url":"https://api.github.com/repos/adriweb/Luna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adriweb/Luna/statuses/{sha}","languages_url":"https://api.github.com/repos/adriweb/Luna/languages","stargazers_url":"https://api.github.com/repos/adriweb/Luna/stargazers","contributors_url":"https://api.github.com/repos/adriweb/Luna/contributors","subscribers_url":"https://api.github.com/repos/adriweb/Luna/subscribers","subscription_url":"https://api.github.com/repos/adriweb/Luna/subscription","commits_url":"https://api.github.com/repos/adriweb/Luna/commits{/sha}","git_commits_url":"https://api.github.com/repos/adriweb/Luna/git/commits{/sha}","comments_url":"https://api.github.com/repos/adriweb/Luna/comments{/number}","issue_comment_url":"https://api.github.com/repos/adriweb/Luna/issues/comments{/number}","contents_url":"https://api.github.com/repos/adriweb/Luna/contents/{+path}","compare_url":"https://api.github.com/repos/adriweb/Luna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adriweb/Luna/merges","archive_url":"https://api.github.com/repos/adriweb/Luna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adriweb/Luna/downloads","issues_url":"https://api.github.com/repos/adriweb/Luna/issues{/number}","pulls_url":"https://api.github.com/repos/adriweb/Luna/pulls{/number}","milestones_url":"https://api.github.com/repos/adriweb/Luna/milestones{/number}","notifications_url":"https://api.github.com/repos/adriweb/Luna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adriweb/Luna/labels{/name}","releases_url":"https://api.github.com/repos/adriweb/Luna/releases{/id}","deployments_url":"https://api.github.com/repos/adriweb/Luna/deployments","created_at":"2016-12-28T11:38:49Z","updated_at":"2016-12-28T11:38:51Z","pushed_at":"2016-12-30T21:59:48Z","git_url":"git://github.com/adriweb/Luna.git","ssh_url":"git@github.com:adriweb/Luna.git","clone_url":"https://github.com/adriweb/Luna.git","svn_url":"https://github.com/adriweb/Luna","homepage":null,"size":650,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ndless-nspire:master","ref":"master","sha":"26d4b2344551dd191d1d2353198967a1554d91a1","user":{"login":"ndless-nspire","id":8471231,"avatar_url":"https://avatars.githubusercontent.com/u/8471231?v=3","gravatar_id":"","url":"https://api.github.com/users/ndless-nspire","html_url":"https://github.com/ndless-nspire","followers_url":"https://api.github.com/users/ndless-nspire/followers","following_url":"https://api.github.com/users/ndless-nspire/following{/other_user}","gists_url":"https://api.github.com/users/ndless-nspire/gists{/gist_id}","starred_url":"https://api.github.com/users/ndless-nspire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndless-nspire/subscriptions","organizations_url":"https://api.github.com/users/ndless-nspire/orgs","repos_url":"https://api.github.com/users/ndless-nspire/repos","events_url":"https://api.github.com/users/ndless-nspire/events{/privacy}","received_events_url":"https://api.github.com/users/ndless-nspire/received_events","type":"Organization","site_admin":false},"repo":{"id":54421708,"name":"Luna","full_name":"ndless-nspire/Luna","owner":{"login":"ndless-nspire","id":8471231,"avatar_url":"https://avatars.githubusercontent.com/u/8471231?v=3","gravatar_id":"","url":"https://api.github.com/users/ndless-nspire","html_url":"https://github.com/ndless-nspire","followers_url":"https://api.github.com/users/ndless-nspire/followers","following_url":"https://api.github.com/users/ndless-nspire/following{/other_user}","gists_url":"https://api.github.com/users/ndless-nspire/gists{/gist_id}","starred_url":"https://api.github.com/users/ndless-nspire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndless-nspire/subscriptions","organizations_url":"https://api.github.com/users/ndless-nspire/orgs","repos_url":"https://api.github.com/users/ndless-nspire/repos","events_url":"https://api.github.com/users/ndless-nspire/events{/privacy}","received_events_url":"https://api.github.com/users/ndless-nspire/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ndless-nspire/Luna","description":"Create TNS files from Lua and XML","fork":false,"url":"https://api.github.com/repos/ndless-nspire/Luna","forks_url":"https://api.github.com/repos/ndless-nspire/Luna/forks","keys_url":"https://api.github.com/repos/ndless-nspire/Luna/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndless-nspire/Luna/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndless-nspire/Luna/teams","hooks_url":"https://api.github.com/repos/ndless-nspire/Luna/hooks","issue_events_url":"https://api.github.com/repos/ndless-nspire/Luna/issues/events{/number}","events_url":"https://api.github.com/repos/ndless-nspire/Luna/events","assignees_url":"https://api.github.com/repos/ndless-nspire/Luna/assignees{/user}","branches_url":"https://api.github.com/repos/ndless-nspire/Luna/branches{/branch}","tags_url":"https://api.github.com/repos/ndless-nspire/Luna/tags","blobs_url":"https://api.github.com/repos/ndless-nspire/Luna/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndless-nspire/Luna/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndless-nspire/Luna/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndless-nspire/Luna/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndless-nspire/Luna/statuses/{sha}","languages_url":"https://api.github.com/repos/ndless-nspire/Luna/languages","stargazers_url":"https://api.github.com/repos/ndless-nspire/Luna/stargazers","contributors_url":"https://api.github.com/repos/ndless-nspire/Luna/contributors","subscribers_url":"https://api.github.com/repos/ndless-nspire/Luna/subscribers","subscription_url":"https://api.github.com/repos/ndless-nspire/Luna/subscription","commits_url":"https://api.github.com/repos/ndless-nspire/Luna/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndless-nspire/Luna/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndless-nspire/Luna/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndless-nspire/Luna/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndless-nspire/Luna/contents/{+path}","compare_url":"https://api.github.com/repos/ndless-nspire/Luna/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndless-nspire/Luna/merges","archive_url":"https://api.github.com/repos/ndless-nspire/Luna/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndless-nspire/Luna/downloads","issues_url":"https://api.github.com/repos/ndless-nspire/Luna/issues{/number}","pulls_url":"https://api.github.com/repos/ndless-nspire/Luna/pulls{/number}","milestones_url":"https://api.github.com/repos/ndless-nspire/Luna/milestones{/number}","notifications_url":"https://api.github.com/repos/ndless-nspire/Luna/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndless-nspire/Luna/labels{/name}","releases_url":"https://api.github.com/repos/ndless-nspire/Luna/releases{/id}","deployments_url":"https://api.github.com/repos/ndless-nspire/Luna/deployments","created_at":"2016-03-21T20:50:29Z","updated_at":"2016-12-27T05:07:08Z","pushed_at":"2016-12-30T21:59:50Z","git_url":"git://github.com/ndless-nspire/Luna.git","ssh_url":"git@github.com:ndless-nspire/Luna.git","clone_url":"https://github.com/ndless-nspire/Luna.git","svn_url":"https://github.com/ndless-nspire/Luna","homepage":null,"size":667,"stargazers_count":4,"watchers_count":4,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8"},"html":{"href":"https://github.com/ndless-nspire/Luna/pull/8"},"issue":{"href":"https://api.github.com/repos/ndless-nspire/Luna/issues/8"},"comments":{"href":"https://api.github.com/repos/ndless-nspire/Luna/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/ndless-nspire/Luna/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ndless-nspire/Luna/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/ndless-nspire/Luna/statuses/4216e02e7e533018d2e006284a0d5cce3ade2ada"}}}}
{"actor":{"display_login":"Vogtinator"}}