{"action":"created","issue":{"url":"https://api.github.com/repos/Applifier/node-scribe/issues/6","labels_url":"https://api.github.com/repos/Applifier/node-scribe/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/Applifier/node-scribe/issues/6/comments","events_url":"https://api.github.com/repos/Applifier/node-scribe/issues/6/events","html_url":"https://github.com/Applifier/node-scribe/issues/6","id":72104565,"number":6,"title":"The library throws an Error when autoReconnectTimeout is an array of numbers ","user":{"login":"suryatech","id":6257686,"avatar_url":"https://avatars.githubusercontent.com/u/6257686?v=3","gravatar_id":"","url":"https://api.github.com/users/suryatech","html_url":"https://github.com/suryatech","followers_url":"https://api.github.com/users/suryatech/followers","following_url":"https://api.github.com/users/suryatech/following{/other_user}","gists_url":"https://api.github.com/users/suryatech/gists{/gist_id}","starred_url":"https://api.github.com/users/suryatech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suryatech/subscriptions","organizations_url":"https://api.github.com/users/suryatech/orgs","repos_url":"https://api.github.com/users/suryatech/repos","events_url":"https://api.github.com/users/suryatech/events{/privacy}","received_events_url":"https://api.github.com/users/suryatech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-30T09:00:59Z","updated_at":"2015-08-27T01:08:43Z","closed_at":null,"body":"https://github.com/Applifier/node-scribe/blob/master/lib/scribe.js#L47\r\n\r\nI believe the check inside the loop should be ```!==```\r\n```\r\nfor (var i = 0; i < opt.autoReconnectTimeout.length; i++) {\r\n        var timeout = opt.autoReconnectTimeout[i];\r\n        if (timeout.constructor === Number) {\r\n          throw new Error(\"autoReconnectTimeout should be Number or Array of numbers\");\r\n        }\r\n        this.autoReconnectTimeout.push(timeout);\r\n  }\r\n```"},"comment":{"url":"https://api.github.com/repos/Applifier/node-scribe/issues/comments/135227651","html_url":"https://github.com/Applifier/node-scribe/issues/6#issuecomment-135227651","issue_url":"https://api.github.com/repos/Applifier/node-scribe/issues/6","id":135227651,"user":{"login":"niccaluim","id":10020028,"avatar_url":"https://avatars.githubusercontent.com/u/10020028?v=3","gravatar_id":"","url":"https://api.github.com/users/niccaluim","html_url":"https://github.com/niccaluim","followers_url":"https://api.github.com/users/niccaluim/followers","following_url":"https://api.github.com/users/niccaluim/following{/other_user}","gists_url":"https://api.github.com/users/niccaluim/gists{/gist_id}","starred_url":"https://api.github.com/users/niccaluim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/niccaluim/subscriptions","organizations_url":"https://api.github.com/users/niccaluim/orgs","repos_url":"https://api.github.com/users/niccaluim/repos","events_url":"https://api.github.com/users/niccaluim/events{/privacy}","received_events_url":"https://api.github.com/users/niccaluim/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T01:08:43Z","updated_at":"2015-08-27T01:08:43Z","body":"I just ran into this problem too."}}