{"action":"created","issue":{"url":"https://api.github.com/repos/kripken/emscripten/issues/4291","repository_url":"https://api.github.com/repos/kripken/emscripten","labels_url":"https://api.github.com/repos/kripken/emscripten/issues/4291/labels{/name}","comments_url":"https://api.github.com/repos/kripken/emscripten/issues/4291/comments","events_url":"https://api.github.com/repos/kripken/emscripten/issues/4291/events","html_url":"https://github.com/kripken/emscripten/issues/4291","id":152830893,"number":4291,"title":"FS.createPreloadedFile throws Uncaught ReferenceError: Browser is not defined","user":{"login":"lambdabaa","id":535859,"avatar_url":"https://avatars.githubusercontent.com/u/535859?v=3","gravatar_id":"","url":"https://api.github.com/users/lambdabaa","html_url":"https://github.com/lambdabaa","followers_url":"https://api.github.com/users/lambdabaa/followers","following_url":"https://api.github.com/users/lambdabaa/following{/other_user}","gists_url":"https://api.github.com/users/lambdabaa/gists{/gist_id}","starred_url":"https://api.github.com/users/lambdabaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lambdabaa/subscriptions","organizations_url":"https://api.github.com/users/lambdabaa/orgs","repos_url":"https://api.github.com/users/lambdabaa/repos","events_url":"https://api.github.com/users/lambdabaa/events{/privacy}","received_events_url":"https://api.github.com/users/lambdabaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-03T17:31:14Z","updated_at":"2016-11-06T20:07:36Z","closed_at":null,"body":"I believe https://github.com/kripken/emscripten/blob/master/src/library_browser.js isn't getting pulled in appropriately.\n"},"comment":{"url":"https://api.github.com/repos/kripken/emscripten/issues/comments/258706745","html_url":"https://github.com/kripken/emscripten/issues/4291#issuecomment-258706745","issue_url":"https://api.github.com/repos/kripken/emscripten/issues/4291","id":258706745,"user":{"login":"BugraB","id":2589566,"avatar_url":"https://avatars.githubusercontent.com/u/2589566?v=3","gravatar_id":"","url":"https://api.github.com/users/BugraB","html_url":"https://github.com/BugraB","followers_url":"https://api.github.com/users/BugraB/followers","following_url":"https://api.github.com/users/BugraB/following{/other_user}","gists_url":"https://api.github.com/users/BugraB/gists{/gist_id}","starred_url":"https://api.github.com/users/BugraB/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BugraB/subscriptions","organizations_url":"https://api.github.com/users/BugraB/orgs","repos_url":"https://api.github.com/users/BugraB/repos","events_url":"https://api.github.com/users/BugraB/events{/privacy}","received_events_url":"https://api.github.com/users/BugraB/received_events","type":"User","site_admin":false},"created_at":"2016-11-06T20:07:36Z","updated_at":"2016-11-06T20:07:36Z","body":"@kripken I am having this exact issue in our code base after upgrading to sdk-tag-1.36.14-64bit. As a test case, I just created a simple main.cpp:\r\n\r\n#include <iostream>\r\n\r\nint main() {\r\n  std::cout << \"Hello world\" << std::endl;\r\n  return 0;\r\n}\r\n\r\nand built it as follows:\r\nemcc main.cpp -o main.html\r\n\r\nI cannot see any of the library_browser.js code in the generated main.js.\r\n\r\nIn our code we call FS.createPreloadedFile and it fails due to missing object \"Browser\". I wonder if I'm doing something wrong.\r\n"}}
{"actor":{"display_login":"BugraB"}}