{"action":"opened","issue":{"url":"https://api.github.com/repos/algolia/react-nouislider/issues/15","repository_url":"https://api.github.com/repos/algolia/react-nouislider","labels_url":"https://api.github.com/repos/algolia/react-nouislider/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/algolia/react-nouislider/issues/15/comments","events_url":"https://api.github.com/repos/algolia/react-nouislider/issues/15/events","html_url":"https://github.com/algolia/react-nouislider/issues/15","id":134138620,"number":15,"title":"Error when implementing inside another component","user":{"login":"magupisoft","id":1904408,"avatar_url":"https://avatars.githubusercontent.com/u/1904408?v=3","gravatar_id":"","url":"https://api.github.com/users/magupisoft","html_url":"https://github.com/magupisoft","followers_url":"https://api.github.com/users/magupisoft/followers","following_url":"https://api.github.com/users/magupisoft/following{/other_user}","gists_url":"https://api.github.com/users/magupisoft/gists{/gist_id}","starred_url":"https://api.github.com/users/magupisoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magupisoft/subscriptions","organizations_url":"https://api.github.com/users/magupisoft/orgs","repos_url":"https://api.github.com/users/magupisoft/repos","events_url":"https://api.github.com/users/magupisoft/events{/privacy}","received_events_url":"https://api.github.com/users/magupisoft/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-17T00:35:36Z","updated_at":"2016-02-17T00:35:36Z","closed_at":null,"body":"I am using this component as a filter along with React Boostrap Table, and when I try to run it in Browser, I get the following error: \r\n\r\n ReferenceError: window is not defined\r\n   at <anonymous>:148:12 -> actions = window.navigator.pointerEnabled ? {\r\n   at array.filter.a.(anonymous function).(anonymous function) (<anonymous>:8:210)\r\n   at <anonymous>:21:2\r\n   at Script Document [3]:4:17239\r\n   at Q (Script Document [3]:1:518)\r\n   at <anonymous>:19:19\r\n   at Script Document [3]:4:48\r\n   at Q (Script Document [3]:1:518)\r\n   at <anonymous>:33:24\r\n   at Script Document [3]:3:12578\r\n   at Q (Script Document [3]:1:518)\r\n   at <anonymous>:41:20\r\n   at Script Document [3]:2:7045\r\n   at Q (Script Document [3]:1:518)\r\n   at <anonymous>:29:20\r\n   at Script Document [3]:1:2835\r\n   at Q (Script Document [3]:1:518)\r\n   at <anonymous>:9:23\r\n   at Script Document [3]:1:657\r\n   at Q (Script Document [3]:1:518)\r\n   at Script Document [3]:1:605\r\n   at Script Document [3]:1:610\r\n   at Script Document [3]:1:308\r\n   at Script Document [3]:1:330\r\nLine: 4\r\nColumn: 17239"}}