{"action":"created","issue":{"url":"https://api.github.com/repos/coolwanglu/vim.js/issues/22","labels_url":"https://api.github.com/repos/coolwanglu/vim.js/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/coolwanglu/vim.js/issues/22/comments","events_url":"https://api.github.com/repos/coolwanglu/vim.js/issues/22/events","html_url":"https://github.com/coolwanglu/vim.js/issues/22","id":55622049,"number":22,"title":"How to compile small vim.js?","user":{"login":"emnh","id":234932,"avatar_url":"https://avatars.githubusercontent.com/u/234932?v=3","gravatar_id":"","url":"https://api.github.com/users/emnh","html_url":"https://github.com/emnh","followers_url":"https://api.github.com/users/emnh/followers","following_url":"https://api.github.com/users/emnh/following{/other_user}","gists_url":"https://api.github.com/users/emnh/gists{/gist_id}","starred_url":"https://api.github.com/users/emnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emnh/subscriptions","organizations_url":"https://api.github.com/users/emnh/orgs","repos_url":"https://api.github.com/users/emnh/repos","events_url":"https://api.github.com/users/emnh/events{/privacy}","received_events_url":"https://api.github.com/users/emnh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-01-27T14:11:30Z","updated_at":"2015-01-28T04:08:38Z","closed_at":null,"body":"How did you get a small file of only 5.8 MB?\r\nI compile using emscripten 1.2.9 SDK and build.sh using the features you set but I get a 122 MB file.\r\n\r\nI tried running the closure compiler to minify it, but it runs out of memory even with java -Xmx2048m.\r\n\r\nWith emcc -O2 I get a 33 MB file, but then it doesn't work."},"comment":{"url":"https://api.github.com/repos/coolwanglu/vim.js/issues/comments/71778097","html_url":"https://github.com/coolwanglu/vim.js/issues/22#issuecomment-71778097","issue_url":"https://api.github.com/repos/coolwanglu/vim.js/issues/22","id":71778097,"user":{"login":"emnh","id":234932,"avatar_url":"https://avatars.githubusercontent.com/u/234932?v=3","gravatar_id":"","url":"https://api.github.com/users/emnh","html_url":"https://github.com/emnh","followers_url":"https://api.github.com/users/emnh/followers","following_url":"https://api.github.com/users/emnh/following{/other_user}","gists_url":"https://api.github.com/users/emnh/gists{/gist_id}","starred_url":"https://api.github.com/users/emnh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emnh/subscriptions","organizations_url":"https://api.github.com/users/emnh/orgs","repos_url":"https://api.github.com/users/emnh/repos","events_url":"https://api.github.com/users/emnh/events{/privacy}","received_events_url":"https://api.github.com/users/emnh/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T04:08:38Z","updated_at":"2015-01-28T04:08:38Z","body":"Ok. Thanks!\r\n\r\nI have a [working demo](http://alexis.lart.no:3000/?html,js,vim,output) of Native Vim integration with JSBin running under [jor1k](http://github.com/s-macke/jor1k/) linux RISC emulation now. Try it you like, see if it is too slow. Maybe I'll try vim.js as well."}}