{"action":"created","issue":{"url":"https://api.github.com/repos/pull-stream/pull-stream/issues/47","repository_url":"https://api.github.com/repos/pull-stream/pull-stream","labels_url":"https://api.github.com/repos/pull-stream/pull-stream/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/pull-stream/pull-stream/issues/47/comments","events_url":"https://api.github.com/repos/pull-stream/pull-stream/issues/47/events","html_url":"https://github.com/pull-stream/pull-stream/pull/47","id":154910899,"number":47,"title":"(WIP) flatten internal modules","user":{"login":"ahdinosaur","id":719605,"avatar_url":"https://avatars.githubusercontent.com/u/719605?v=3","gravatar_id":"","url":"https://api.github.com/users/ahdinosaur","html_url":"https://github.com/ahdinosaur","followers_url":"https://api.github.com/users/ahdinosaur/followers","following_url":"https://api.github.com/users/ahdinosaur/following{/other_user}","gists_url":"https://api.github.com/users/ahdinosaur/gists{/gist_id}","starred_url":"https://api.github.com/users/ahdinosaur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahdinosaur/subscriptions","organizations_url":"https://api.github.com/users/ahdinosaur/orgs","repos_url":"https://api.github.com/users/ahdinosaur/repos","events_url":"https://api.github.com/users/ahdinosaur/events{/privacy}","received_events_url":"https://api.github.com/users/ahdinosaur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-15T14:18:37Z","updated_at":"2016-05-19T20:32:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pull-stream/pull-stream/pulls/47","html_url":"https://github.com/pull-stream/pull-stream/pull/47","diff_url":"https://github.com/pull-stream/pull-stream/pull/47.diff","patch_url":"https://github.com/pull-stream/pull-stream/pull/47.patch"},"body":"hey pull-stream,\n\nthis pull request is to flatten the internal modules of `pull-stream`,\nsuch that they can be required at `require('pull-stream/*')`.\n\nshould keep comaptibily with `require('pull-stream/{sources,throughs,sinks}')`.\n\ntests pass, but this probably needs a more thorough overview.\n\n@dominictarr: a question about [this line](https://github.com/pull-stream/pull-stream/blob/master/throughs.js#L10), is that supposed to be `key.exec`?"},"comment":{"url":"https://api.github.com/repos/pull-stream/pull-stream/issues/comments/220443737","html_url":"https://github.com/pull-stream/pull-stream/pull/47#issuecomment-220443737","issue_url":"https://api.github.com/repos/pull-stream/pull-stream/issues/47","id":220443737,"user":{"login":"dominictarr","id":259374,"avatar_url":"https://avatars.githubusercontent.com/u/259374?v=3","gravatar_id":"","url":"https://api.github.com/users/dominictarr","html_url":"https://github.com/dominictarr","followers_url":"https://api.github.com/users/dominictarr/followers","following_url":"https://api.github.com/users/dominictarr/following{/other_user}","gists_url":"https://api.github.com/users/dominictarr/gists{/gist_id}","starred_url":"https://api.github.com/users/dominictarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominictarr/subscriptions","organizations_url":"https://api.github.com/users/dominictarr/orgs","repos_url":"https://api.github.com/users/dominictarr/repos","events_url":"https://api.github.com/users/dominictarr/events{/privacy}","received_events_url":"https://api.github.com/users/dominictarr/received_events","type":"User","site_admin":false},"created_at":"2016-05-19T20:32:58Z","updated_at":"2016-05-19T20:32:58Z","body":"okay, I merged into 3.4.0, with some changes:\r\n\r\n* everything is moved into directories, so the top level is `index.js`, `pull.js`, `sources/` `sinks/` `throughs/`\r\n* file names are always hypenated instead of camel case. (some fs are case insensitive, easier to just use lower case)\r\n* inlined id function instead of requiring it (it's actually shorter to inline it than use require, I would require a one line function if it was more complicated, though)\r\n* fixed a few spots where something was missing (`id`, in one or two places, I guess there isn't test coverage for this );\r\n* made everything `'use strict'`\r\n\r\nthanks!"}}