{"action":"opened","issue":{"url":"https://api.github.com/repos/elm-lang/elm-repl/issues/48","labels_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/48/comments","events_url":"https://api.github.com/repos/elm-lang/elm-repl/issues/48/events","html_url":"https://github.com/elm-lang/elm-repl/issues/48","id":55804117,"number":48,"title":"\"ReferenceError: navigator is not defined\" in elm-html apps","user":{"login":"clarkware","id":4831,"avatar_url":"https://avatars.githubusercontent.com/u/4831?v=3","gravatar_id":"","url":"https://api.github.com/users/clarkware","html_url":"https://github.com/clarkware","followers_url":"https://api.github.com/users/clarkware/followers","following_url":"https://api.github.com/users/clarkware/following{/other_user}","gists_url":"https://api.github.com/users/clarkware/gists{/gist_id}","starred_url":"https://api.github.com/users/clarkware/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarkware/subscriptions","organizations_url":"https://api.github.com/users/clarkware/orgs","repos_url":"https://api.github.com/users/clarkware/repos","events_url":"https://api.github.com/users/clarkware/events{/privacy}","received_events_url":"https://api.github.com/users/clarkware/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T19:36:01Z","updated_at":"2015-01-28T19:36:01Z","closed_at":null,"body":"It seems that the elm-html library depends on a JavaScript \"navigator\" object that isn't defined when an elm-html app is run in the context of the REPL:\r\n\r\n```\r\n$ elm-repl\r\nElm REPL 0.4 <https://github.com/elm-lang/elm-repl#elm-repl>\r\nType :help for help, :exit to exit\r\n> import Todo\r\n> Todo.initialModel\r\nReferenceError: navigator is not defined\r\n```"}}