{"action":"opened","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/906","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/906/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/906/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/906/events","html_url":"https://github.com/phoenixframework/phoenix/issues/906","id":78979260,"number":906,"title":"new Socket() or new Phoenix.Socket()?","user":{"login":"stanonyime","id":1595081,"avatar_url":"https://avatars.githubusercontent.com/u/1595081?v=3","gravatar_id":"","url":"https://api.github.com/users/stanonyime","html_url":"https://github.com/stanonyime","followers_url":"https://api.github.com/users/stanonyime/followers","following_url":"https://api.github.com/users/stanonyime/following{/other_user}","gists_url":"https://api.github.com/users/stanonyime/gists{/gist_id}","starred_url":"https://api.github.com/users/stanonyime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stanonyime/subscriptions","organizations_url":"https://api.github.com/users/stanonyime/orgs","repos_url":"https://api.github.com/users/stanonyime/repos","events_url":"https://api.github.com/users/stanonyime/events{/privacy}","received_events_url":"https://api.github.com/users/stanonyime/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-21T12:46:39Z","updated_at":"2015-05-21T12:46:39Z","closed_at":null,"body":"I've been trying to set up a realtime tracker with phoenix but I keep getting this error:\r\n`js\r\nUncaught ReferenceError: Socket is not defined\r\n'\r\nThe phoenix.js is loaded.\r\nI keep seeing variations of \"socket = new Socket(\"...\")\" and \"socket = new Socket(\"..\")\" on online examples.\r\nI'm using React js, Elixir 1.0.2, phoenix v0.13.1 on Windows 8\r\n\r\nAlso my js files are not served after change and reload unless I rename the file"}}