{"action":"created","issue":{"url":"https://api.github.com/repos/marmelab/restful.js/issues/29","labels_url":"https://api.github.com/repos/marmelab/restful.js/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/marmelab/restful.js/issues/29/comments","events_url":"https://api.github.com/repos/marmelab/restful.js/issues/29/events","html_url":"https://github.com/marmelab/restful.js/issues/29","id":85824650,"number":29,"title":"Error \"navigator is not defined\"","user":{"login":"chiquitinxx","id":879681,"avatar_url":"https://avatars.githubusercontent.com/u/879681?v=3","gravatar_id":"","url":"https://api.github.com/users/chiquitinxx","html_url":"https://github.com/chiquitinxx","followers_url":"https://api.github.com/users/chiquitinxx/followers","following_url":"https://api.github.com/users/chiquitinxx/following{/other_user}","gists_url":"https://api.github.com/users/chiquitinxx/gists{/gist_id}","starred_url":"https://api.github.com/users/chiquitinxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chiquitinxx/subscriptions","organizations_url":"https://api.github.com/users/chiquitinxx/orgs","repos_url":"https://api.github.com/users/chiquitinxx/repos","events_url":"https://api.github.com/users/chiquitinxx/events{/privacy}","received_events_url":"https://api.github.com/users/chiquitinxx/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-06T23:56:42Z","updated_at":"2015-09-25T15:21:56Z","closed_at":"2015-09-25T15:21:56Z","body":"Trying access a local rest API I get error:\r\n\r\nReferenceError: navigator is not defined\r\n\r\nJust in Node.js, not in browser, I'm using Node v0.12.2 and restful.js v0.6.1. It seems it expects be in a browser environment."},"comment":{"url":"https://api.github.com/repos/marmelab/restful.js/issues/comments/143250868","html_url":"https://github.com/marmelab/restful.js/issues/29#issuecomment-143250868","issue_url":"https://api.github.com/repos/marmelab/restful.js/issues/29","id":143250868,"user":{"login":"RobinBressan","id":4641116,"avatar_url":"https://avatars.githubusercontent.com/u/4641116?v=3","gravatar_id":"","url":"https://api.github.com/users/RobinBressan","html_url":"https://github.com/RobinBressan","followers_url":"https://api.github.com/users/RobinBressan/followers","following_url":"https://api.github.com/users/RobinBressan/following{/other_user}","gists_url":"https://api.github.com/users/RobinBressan/gists{/gist_id}","starred_url":"https://api.github.com/users/RobinBressan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RobinBressan/subscriptions","organizations_url":"https://api.github.com/users/RobinBressan/orgs","repos_url":"https://api.github.com/users/RobinBressan/repos","events_url":"https://api.github.com/users/RobinBressan/events{/privacy}","received_events_url":"https://api.github.com/users/RobinBressan/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T15:21:56Z","updated_at":"2015-09-25T15:21:56Z","body":"@chiquitinxx #50 will bring compatibility for both browser and node environment."}}