{"action":"created","comment":{"url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/comments/53135308","id":53135308,"diff_hunk":"@@ -266,6 +273,12 @@ function visitModule(node) {\n             case ts.SyntaxKind.FunctionDeclaration:\n                 mod.methods.push(getMethod(node, true));\n                 break;\n+            case ts.SyntaxKind.ModuleDeclaration:\n+                modules.push(visitModule(node, modules));\n+                break;","path":"tools/typescript2fabel.js","position":50,"original_position":50,"commit_id":"d46d33232d0c27eb87e52c009345207370540bba","original_commit_id":"d46d33232d0c27eb87e52c009345207370540bba","user":{"login":"alfonsogarciacaro","id":8275461,"avatar_url":"https://avatars.githubusercontent.com/u/8275461?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsogarciacaro","html_url":"https://github.com/alfonsogarciacaro","followers_url":"https://api.github.com/users/alfonsogarciacaro/followers","following_url":"https://api.github.com/users/alfonsogarciacaro/following{/other_user}","gists_url":"https://api.github.com/users/alfonsogarciacaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsogarciacaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsogarciacaro/subscriptions","organizations_url":"https://api.github.com/users/alfonsogarciacaro/orgs","repos_url":"https://api.github.com/users/alfonsogarciacaro/repos","events_url":"https://api.github.com/users/alfonsogarciacaro/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsogarciacaro/received_events","type":"User","site_admin":false},"body":"I wonder why you make the nested modules siblings of their parent? Does this work that way? Can you point a sample of the kind of modules this is trying to deal with?","created_at":"2016-02-17T08:55:32Z","updated_at":"2016-02-17T08:55:32Z","html_url":"https://github.com/alfonsogarciacaro/Fabel/pull/12#discussion_r53135308","pull_request_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/comments/53135308"},"html":{"href":"https://github.com/alfonsogarciacaro/Fabel/pull/12#discussion_r53135308"},"pull_request":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12","id":59549558,"html_url":"https://github.com/alfonsogarciacaro/Fabel/pull/12","diff_url":"https://github.com/alfonsogarciacaro/Fabel/pull/12.diff","patch_url":"https://github.com/alfonsogarciacaro/Fabel/pull/12.patch","issue_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues/12","number":12,"state":"open","locked":false,"title":"[WIP] Generate more from .d.ts","user":{"login":"davidpodhola","id":436605,"avatar_url":"https://avatars.githubusercontent.com/u/436605?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpodhola","html_url":"https://github.com/davidpodhola","followers_url":"https://api.github.com/users/davidpodhola/followers","following_url":"https://api.github.com/users/davidpodhola/following{/other_user}","gists_url":"https://api.github.com/users/davidpodhola/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpodhola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpodhola/subscriptions","organizations_url":"https://api.github.com/users/davidpodhola/orgs","repos_url":"https://api.github.com/users/davidpodhola/repos","events_url":"https://api.github.com/users/davidpodhola/events{/privacy}","received_events_url":"https://api.github.com/users/davidpodhola/received_events","type":"User","site_admin":false},"body":"Work In Progress, the code is not optimal and is not DRY.\r\nGoing through files like jquery.d.ts I added more to be generated.\r\nCould you have a look @alfonsogarciacaro please? Thanks!","created_at":"2016-02-16T20:31:19Z","updated_at":"2016-02-17T08:55:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4a4496b03bc6a2b22bae32a37d315f8afcdd45bf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12/commits","review_comments_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12/comments","review_comment_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues/12/comments","statuses_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/statuses/d46d33232d0c27eb87e52c009345207370540bba","head":{"label":"davidpodhola:master","ref":"master","sha":"d46d33232d0c27eb87e52c009345207370540bba","user":{"login":"davidpodhola","id":436605,"avatar_url":"https://avatars.githubusercontent.com/u/436605?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpodhola","html_url":"https://github.com/davidpodhola","followers_url":"https://api.github.com/users/davidpodhola/followers","following_url":"https://api.github.com/users/davidpodhola/following{/other_user}","gists_url":"https://api.github.com/users/davidpodhola/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpodhola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpodhola/subscriptions","organizations_url":"https://api.github.com/users/davidpodhola/orgs","repos_url":"https://api.github.com/users/davidpodhola/repos","events_url":"https://api.github.com/users/davidpodhola/events{/privacy}","received_events_url":"https://api.github.com/users/davidpodhola/received_events","type":"User","site_admin":false},"repo":{"id":51429307,"name":"Fabel","full_name":"davidpodhola/Fabel","owner":{"login":"davidpodhola","id":436605,"avatar_url":"https://avatars.githubusercontent.com/u/436605?v=3","gravatar_id":"","url":"https://api.github.com/users/davidpodhola","html_url":"https://github.com/davidpodhola","followers_url":"https://api.github.com/users/davidpodhola/followers","following_url":"https://api.github.com/users/davidpodhola/following{/other_user}","gists_url":"https://api.github.com/users/davidpodhola/gists{/gist_id}","starred_url":"https://api.github.com/users/davidpodhola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidpodhola/subscriptions","organizations_url":"https://api.github.com/users/davidpodhola/orgs","repos_url":"https://api.github.com/users/davidpodhola/repos","events_url":"https://api.github.com/users/davidpodhola/events{/privacy}","received_events_url":"https://api.github.com/users/davidpodhola/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/davidpodhola/Fabel","description":"F# to JavaScript Compiler","fork":true,"url":"https://api.github.com/repos/davidpodhola/Fabel","forks_url":"https://api.github.com/repos/davidpodhola/Fabel/forks","keys_url":"https://api.github.com/repos/davidpodhola/Fabel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/davidpodhola/Fabel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/davidpodhola/Fabel/teams","hooks_url":"https://api.github.com/repos/davidpodhola/Fabel/hooks","issue_events_url":"https://api.github.com/repos/davidpodhola/Fabel/issues/events{/number}","events_url":"https://api.github.com/repos/davidpodhola/Fabel/events","assignees_url":"https://api.github.com/repos/davidpodhola/Fabel/assignees{/user}","branches_url":"https://api.github.com/repos/davidpodhola/Fabel/branches{/branch}","tags_url":"https://api.github.com/repos/davidpodhola/Fabel/tags","blobs_url":"https://api.github.com/repos/davidpodhola/Fabel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/davidpodhola/Fabel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/davidpodhola/Fabel/git/refs{/sha}","trees_url":"https://api.github.com/repos/davidpodhola/Fabel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/davidpodhola/Fabel/statuses/{sha}","languages_url":"https://api.github.com/repos/davidpodhola/Fabel/languages","stargazers_url":"https://api.github.com/repos/davidpodhola/Fabel/stargazers","contributors_url":"https://api.github.com/repos/davidpodhola/Fabel/contributors","subscribers_url":"https://api.github.com/repos/davidpodhola/Fabel/subscribers","subscription_url":"https://api.github.com/repos/davidpodhola/Fabel/subscription","commits_url":"https://api.github.com/repos/davidpodhola/Fabel/commits{/sha}","git_commits_url":"https://api.github.com/repos/davidpodhola/Fabel/git/commits{/sha}","comments_url":"https://api.github.com/repos/davidpodhola/Fabel/comments{/number}","issue_comment_url":"https://api.github.com/repos/davidpodhola/Fabel/issues/comments{/number}","contents_url":"https://api.github.com/repos/davidpodhola/Fabel/contents/{+path}","compare_url":"https://api.github.com/repos/davidpodhola/Fabel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/davidpodhola/Fabel/merges","archive_url":"https://api.github.com/repos/davidpodhola/Fabel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/davidpodhola/Fabel/downloads","issues_url":"https://api.github.com/repos/davidpodhola/Fabel/issues{/number}","pulls_url":"https://api.github.com/repos/davidpodhola/Fabel/pulls{/number}","milestones_url":"https://api.github.com/repos/davidpodhola/Fabel/milestones{/number}","notifications_url":"https://api.github.com/repos/davidpodhola/Fabel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/davidpodhola/Fabel/labels{/name}","releases_url":"https://api.github.com/repos/davidpodhola/Fabel/releases{/id}","deployments_url":"https://api.github.com/repos/davidpodhola/Fabel/deployments","created_at":"2016-02-10T08:37:12Z","updated_at":"2016-02-10T08:37:13Z","pushed_at":"2016-02-16T20:20:56Z","git_url":"git://github.com/davidpodhola/Fabel.git","ssh_url":"git@github.com:davidpodhola/Fabel.git","clone_url":"https://github.com/davidpodhola/Fabel.git","svn_url":"https://github.com/davidpodhola/Fabel","homepage":null,"size":435,"stargazers_count":0,"watchers_count":0,"language":"F#","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"alfonsogarciacaro:master","ref":"master","sha":"f29e7030b861c6dee26ae07e55cf7771c08adeb7","user":{"login":"alfonsogarciacaro","id":8275461,"avatar_url":"https://avatars.githubusercontent.com/u/8275461?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsogarciacaro","html_url":"https://github.com/alfonsogarciacaro","followers_url":"https://api.github.com/users/alfonsogarciacaro/followers","following_url":"https://api.github.com/users/alfonsogarciacaro/following{/other_user}","gists_url":"https://api.github.com/users/alfonsogarciacaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsogarciacaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsogarciacaro/subscriptions","organizations_url":"https://api.github.com/users/alfonsogarciacaro/orgs","repos_url":"https://api.github.com/users/alfonsogarciacaro/repos","events_url":"https://api.github.com/users/alfonsogarciacaro/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsogarciacaro/received_events","type":"User","site_admin":false},"repo":{"id":49417923,"name":"Fabel","full_name":"alfonsogarciacaro/Fabel","owner":{"login":"alfonsogarciacaro","id":8275461,"avatar_url":"https://avatars.githubusercontent.com/u/8275461?v=3","gravatar_id":"","url":"https://api.github.com/users/alfonsogarciacaro","html_url":"https://github.com/alfonsogarciacaro","followers_url":"https://api.github.com/users/alfonsogarciacaro/followers","following_url":"https://api.github.com/users/alfonsogarciacaro/following{/other_user}","gists_url":"https://api.github.com/users/alfonsogarciacaro/gists{/gist_id}","starred_url":"https://api.github.com/users/alfonsogarciacaro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfonsogarciacaro/subscriptions","organizations_url":"https://api.github.com/users/alfonsogarciacaro/orgs","repos_url":"https://api.github.com/users/alfonsogarciacaro/repos","events_url":"https://api.github.com/users/alfonsogarciacaro/events{/privacy}","received_events_url":"https://api.github.com/users/alfonsogarciacaro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alfonsogarciacaro/Fabel","description":"F# to JavaScript Compiler","fork":false,"url":"https://api.github.com/repos/alfonsogarciacaro/Fabel","forks_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/forks","keys_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/teams","hooks_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/hooks","issue_events_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues/events{/number}","events_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/events","assignees_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/assignees{/user}","branches_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/branches{/branch}","tags_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/tags","blobs_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/statuses/{sha}","languages_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/languages","stargazers_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/stargazers","contributors_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/contributors","subscribers_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/subscribers","subscription_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/subscription","commits_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues/comments{/number}","contents_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/contents/{+path}","compare_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/merges","archive_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/downloads","issues_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues{/number}","pulls_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls{/number}","milestones_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/milestones{/number}","notifications_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/labels{/name}","releases_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/releases{/id}","deployments_url":"https://api.github.com/repos/alfonsogarciacaro/Fabel/deployments","created_at":"2016-01-11T10:10:13Z","updated_at":"2016-02-16T21:38:21Z","pushed_at":"2016-02-17T00:27:53Z","git_url":"git://github.com/alfonsogarciacaro/Fabel.git","ssh_url":"git@github.com:alfonsogarciacaro/Fabel.git","clone_url":"https://github.com/alfonsogarciacaro/Fabel.git","svn_url":"https://github.com/alfonsogarciacaro/Fabel","homepage":null,"size":473,"stargazers_count":26,"watchers_count":26,"language":"F#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":5,"forks":3,"open_issues":5,"watchers":26,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12"},"html":{"href":"https://github.com/alfonsogarciacaro/Fabel/pull/12"},"issue":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues/12"},"comments":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/alfonsogarciacaro/Fabel/statuses/d46d33232d0c27eb87e52c009345207370540bba"}}}}