{"action":"created","issue":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/417","repository_url":"https://api.github.com/repos/mqttjs/MQTT.js","labels_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/417/comments","events_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/417/events","html_url":"https://github.com/mqttjs/MQTT.js/issues/417","id":158582168,"number":417,"title":"Unexpected identifier error in browserifying mqtt","user":{"login":"mayooran99","id":6868898,"avatar_url":"https://avatars.githubusercontent.com/u/6868898?v=3","gravatar_id":"","url":"https://api.github.com/users/mayooran99","html_url":"https://github.com/mayooran99","followers_url":"https://api.github.com/users/mayooran99/followers","following_url":"https://api.github.com/users/mayooran99/following{/other_user}","gists_url":"https://api.github.com/users/mayooran99/gists{/gist_id}","starred_url":"https://api.github.com/users/mayooran99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mayooran99/subscriptions","organizations_url":"https://api.github.com/users/mayooran99/orgs","repos_url":"https://api.github.com/users/mayooran99/repos","events_url":"https://api.github.com/users/mayooran99/events{/privacy}","received_events_url":"https://api.github.com/users/mayooran99/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-05T23:59:11Z","updated_at":"2016-06-06T07:02:56Z","closed_at":null,"body":"I need to use the mqtt client from the browser and I followed the following steps as mentioned in the doc.\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/6868898/15809346/b465b390-2bac-11e6-9ea8-a2c8ba348f72.PNG)\r\n\r\n\r\nAnd then created a html page as specified in the doc.\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/6868898/15809349/cae9c778-2bac-11e6-8056-975b53980656.PNG)\r\n\r\n\r\nWhen I ran the commands, the browserMqtt.js got created successfully. But when I run the HTML I am getting the following error.\r\n\r\n![capture](https://cloud.githubusercontent.com/assets/6868898/15809152/932bb530-2ba7-11e6-8d29-f8496785e29f.PNG)\r\n\r\nIs there something wrong with the library?\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/comments/223882628","html_url":"https://github.com/mqttjs/MQTT.js/issues/417#issuecomment-223882628","issue_url":"https://api.github.com/repos/mqttjs/MQTT.js/issues/417","id":223882628,"user":{"login":"mcollina","id":52195,"avatar_url":"https://avatars.githubusercontent.com/u/52195?v=3","gravatar_id":"","url":"https://api.github.com/users/mcollina","html_url":"https://github.com/mcollina","followers_url":"https://api.github.com/users/mcollina/followers","following_url":"https://api.github.com/users/mcollina/following{/other_user}","gists_url":"https://api.github.com/users/mcollina/gists{/gist_id}","starred_url":"https://api.github.com/users/mcollina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mcollina/subscriptions","organizations_url":"https://api.github.com/users/mcollina/orgs","repos_url":"https://api.github.com/users/mcollina/repos","events_url":"https://api.github.com/users/mcollina/events{/privacy}","received_events_url":"https://api.github.com/users/mcollina/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T07:02:56Z","updated_at":"2016-06-06T07:02:56Z","body":"There is something wrong with the browserify version you are using:\r\nI got this line:\r\n\r\n```js\r\n  if(length === -1 || end > this._list.length ||Â end > this.packet.length)\r\n```"}}
{"actor":{"display_login":"mcollina"}}