{"action":"created","issue":{"url":"https://api.github.com/repos/cucumber/gherkin3/issues/69","labels_url":"https://api.github.com/repos/cucumber/gherkin3/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/cucumber/gherkin3/issues/69/comments","events_url":"https://api.github.com/repos/cucumber/gherkin3/issues/69/events","html_url":"https://github.com/cucumber/gherkin3/issues/69","id":101289143,"number":69,"title":"Gherkin javascript  astBuilder.reset() Cannot read property 'reset' of undefined","user":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-16T18:58:26Z","updated_at":"2015-08-16T19:45:30Z","closed_at":null,"body":"Trying to use the javascript binding and it says `reset is not a function on astBuilder()`\r\n\r\n## Here is the code\r\n\r\n```javascript\r\nvar Gherkin = require('gherkin');\r\nvar parser = new Gherkin.Parser();\r\nvar fs = require(\"fs\");\r\n\r\nfs.readFile('./ls.feature',function(err,contents){\r\n  var gherkinDoc = contents.toString();\r\n  var feature = parser.parse(gherkinDoc);\r\n  console.log(feature);\r\n});\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/cucumber/gherkin3/issues/comments/131612736","html_url":"https://github.com/cucumber/gherkin3/issues/69#issuecomment-131612736","issue_url":"https://api.github.com/repos/cucumber/gherkin3/issues/69","id":131612736,"user":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"created_at":"2015-08-16T19:45:30Z","updated_at":"2015-08-16T19:45:30Z","body":"@brasmusson It works "}}