{"action":"created","comment":{"url":"https://api.github.com/repos/wayfair/tungstenjs/pulls/comments/54461819","id":54461819,"diff_hunk":"@@ -11,17 +11,19 @@\n   \"bugs\": \"https://github.com/wayfair/tungstenjs/issues\",\n   \"main\": \"tungsten.js\",\n   \"scripts\": {\n+    \"clean\": \"rm dist/*.js\",","path":"package.json","position":4,"original_position":4,"commit_id":"1ee2372887b7cb5ef8c57a412666349d1a1b0275","original_commit_id":"1ee2372887b7cb5ef8c57a412666349d1a1b0275","user":{"login":"blamattina","id":376160,"avatar_url":"https://avatars.githubusercontent.com/u/376160?v=3","gravatar_id":"","url":"https://api.github.com/users/blamattina","html_url":"https://github.com/blamattina","followers_url":"https://api.github.com/users/blamattina/followers","following_url":"https://api.github.com/users/blamattina/following{/other_user}","gists_url":"https://api.github.com/users/blamattina/gists{/gist_id}","starred_url":"https://api.github.com/users/blamattina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blamattina/subscriptions","organizations_url":"https://api.github.com/users/blamattina/orgs","repos_url":"https://api.github.com/users/blamattina/repos","events_url":"https://api.github.com/users/blamattina/events{/privacy}","received_events_url":"https://api.github.com/users/blamattina/received_events","type":"User","site_admin":false},"body":"@andrewrota I'm not sure of the cross platform implications here.","created_at":"2016-02-29T19:19:53Z","updated_at":"2016-02-29T19:19:53Z","html_url":"https://github.com/wayfair/tungstenjs/pull/187#discussion_r54461819","pull_request_url":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187","_links":{"self":{"href":"https://api.github.com/repos/wayfair/tungstenjs/pulls/comments/54461819"},"html":{"href":"https://github.com/wayfair/tungstenjs/pull/187#discussion_r54461819"},"pull_request":{"href":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187"}}},"pull_request":{"url":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187","id":61128219,"html_url":"https://github.com/wayfair/tungstenjs/pull/187","diff_url":"https://github.com/wayfair/tungstenjs/pull/187.diff","patch_url":"https://github.com/wayfair/tungstenjs/pull/187.patch","issue_url":"https://api.github.com/repos/wayfair/tungstenjs/issues/187","number":187,"state":"open","locked":false,"title":"Special Event Plugin Interface [Not Ready]","user":{"login":"blamattina","id":376160,"avatar_url":"https://avatars.githubusercontent.com/u/376160?v=3","gravatar_id":"","url":"https://api.github.com/users/blamattina","html_url":"https://github.com/blamattina","followers_url":"https://api.github.com/users/blamattina/followers","following_url":"https://api.github.com/users/blamattina/following{/other_user}","gists_url":"https://api.github.com/users/blamattina/gists{/gist_id}","starred_url":"https://api.github.com/users/blamattina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blamattina/subscriptions","organizations_url":"https://api.github.com/users/blamattina/orgs","repos_url":"https://api.github.com/users/blamattina/repos","events_url":"https://api.github.com/users/blamattina/events{/privacy}","received_events_url":"https://api.github.com/users/blamattina/received_events","type":"User","site_admin":false},"body":"### Event Plugin Interface\r\n```js\r\nvar tungsten = require('tungstenjs');\r\nvar specialPlugin = require('./my-awesome-plugin');\r\ntungsten.addEventPlugin(specialPlugin);\r\n```\r\n\r\n### Changes\r\n- Relocate special events from `src/event/handlers` to `plugins/`\r\n- Add `npm run build-plugins` to build special event handlers\r\n- Add `npm run clean` to clear `dist/`\r\n- Update `npm run prepublish` to include `clean` and `build-plugins`\r\n- Lay groundwork to move special event plugins to full fledged npm modules\r\n- Added `plugin/README.md` with instructions on how to create a special event plugin\r\n- Promoted `addEventPlugin` to public API\r\n- Remove dependency on `underscore` for `intent`, `submit-data` and `touch`\r\n- Update `browser-standalone` example to use a special event plugin\r\n\r\n### TODO\r\n- [ ] Add documentation to demonstrate how these can be loaded [`docs/`?]\r\n- [ ] Update `README.md`\r\n- [ ] Squash","created_at":"2016-02-29T19:13:40Z","updated_at":"2016-02-29T19:19:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92f3d7c583504c425e0ad90b832c11d60b4881e7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187/commits","review_comments_url":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187/comments","review_comment_url":"https://api.github.com/repos/wayfair/tungstenjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wayfair/tungstenjs/issues/187/comments","statuses_url":"https://api.github.com/repos/wayfair/tungstenjs/statuses/1ee2372887b7cb5ef8c57a412666349d1a1b0275","head":{"label":"wayfair:bl-special-event-plugin-interface","ref":"bl-special-event-plugin-interface","sha":"1ee2372887b7cb5ef8c57a412666349d1a1b0275","user":{"login":"wayfair","id":1065892,"avatar_url":"https://avatars.githubusercontent.com/u/1065892?v=3","gravatar_id":"","url":"https://api.github.com/users/wayfair","html_url":"https://github.com/wayfair","followers_url":"https://api.github.com/users/wayfair/followers","following_url":"https://api.github.com/users/wayfair/following{/other_user}","gists_url":"https://api.github.com/users/wayfair/gists{/gist_id}","starred_url":"https://api.github.com/users/wayfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayfair/subscriptions","organizations_url":"https://api.github.com/users/wayfair/orgs","repos_url":"https://api.github.com/users/wayfair/repos","events_url":"https://api.github.com/users/wayfair/events{/privacy}","received_events_url":"https://api.github.com/users/wayfair/received_events","type":"Organization","site_admin":false},"repo":{"id":32032028,"name":"tungstenjs","full_name":"wayfair/tungstenjs","owner":{"login":"wayfair","id":1065892,"avatar_url":"https://avatars.githubusercontent.com/u/1065892?v=3","gravatar_id":"","url":"https://api.github.com/users/wayfair","html_url":"https://github.com/wayfair","followers_url":"https://api.github.com/users/wayfair/followers","following_url":"https://api.github.com/users/wayfair/following{/other_user}","gists_url":"https://api.github.com/users/wayfair/gists{/gist_id}","starred_url":"https://api.github.com/users/wayfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayfair/subscriptions","organizations_url":"https://api.github.com/users/wayfair/orgs","repos_url":"https://api.github.com/users/wayfair/repos","events_url":"https://api.github.com/users/wayfair/events{/privacy}","received_events_url":"https://api.github.com/users/wayfair/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wayfair/tungstenjs","description":"","fork":false,"url":"https://api.github.com/repos/wayfair/tungstenjs","forks_url":"https://api.github.com/repos/wayfair/tungstenjs/forks","keys_url":"https://api.github.com/repos/wayfair/tungstenjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wayfair/tungstenjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wayfair/tungstenjs/teams","hooks_url":"https://api.github.com/repos/wayfair/tungstenjs/hooks","issue_events_url":"https://api.github.com/repos/wayfair/tungstenjs/issues/events{/number}","events_url":"https://api.github.com/repos/wayfair/tungstenjs/events","assignees_url":"https://api.github.com/repos/wayfair/tungstenjs/assignees{/user}","branches_url":"https://api.github.com/repos/wayfair/tungstenjs/branches{/branch}","tags_url":"https://api.github.com/repos/wayfair/tungstenjs/tags","blobs_url":"https://api.github.com/repos/wayfair/tungstenjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wayfair/tungstenjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wayfair/tungstenjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/wayfair/tungstenjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wayfair/tungstenjs/statuses/{sha}","languages_url":"https://api.github.com/repos/wayfair/tungstenjs/languages","stargazers_url":"https://api.github.com/repos/wayfair/tungstenjs/stargazers","contributors_url":"https://api.github.com/repos/wayfair/tungstenjs/contributors","subscribers_url":"https://api.github.com/repos/wayfair/tungstenjs/subscribers","subscription_url":"https://api.github.com/repos/wayfair/tungstenjs/subscription","commits_url":"https://api.github.com/repos/wayfair/tungstenjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/wayfair/tungstenjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/wayfair/tungstenjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/wayfair/tungstenjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/wayfair/tungstenjs/contents/{+path}","compare_url":"https://api.github.com/repos/wayfair/tungstenjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wayfair/tungstenjs/merges","archive_url":"https://api.github.com/repos/wayfair/tungstenjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wayfair/tungstenjs/downloads","issues_url":"https://api.github.com/repos/wayfair/tungstenjs/issues{/number}","pulls_url":"https://api.github.com/repos/wayfair/tungstenjs/pulls{/number}","milestones_url":"https://api.github.com/repos/wayfair/tungstenjs/milestones{/number}","notifications_url":"https://api.github.com/repos/wayfair/tungstenjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wayfair/tungstenjs/labels{/name}","releases_url":"https://api.github.com/repos/wayfair/tungstenjs/releases{/id}","deployments_url":"https://api.github.com/repos/wayfair/tungstenjs/deployments","created_at":"2015-03-11T17:41:39Z","updated_at":"2016-02-23T18:34:47Z","pushed_at":"2016-02-29T19:18:51Z","git_url":"git://github.com/wayfair/tungstenjs.git","ssh_url":"git@github.com:wayfair/tungstenjs.git","clone_url":"https://github.com/wayfair/tungstenjs.git","svn_url":"https://github.com/wayfair/tungstenjs","homepage":null,"size":4454,"stargazers_count":146,"watchers_count":146,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":13,"forks":15,"open_issues":13,"watchers":146,"default_branch":"master"}},"base":{"label":"wayfair:master","ref":"master","sha":"d5049f06f761442739031ec08a307de6b4b84909","user":{"login":"wayfair","id":1065892,"avatar_url":"https://avatars.githubusercontent.com/u/1065892?v=3","gravatar_id":"","url":"https://api.github.com/users/wayfair","html_url":"https://github.com/wayfair","followers_url":"https://api.github.com/users/wayfair/followers","following_url":"https://api.github.com/users/wayfair/following{/other_user}","gists_url":"https://api.github.com/users/wayfair/gists{/gist_id}","starred_url":"https://api.github.com/users/wayfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayfair/subscriptions","organizations_url":"https://api.github.com/users/wayfair/orgs","repos_url":"https://api.github.com/users/wayfair/repos","events_url":"https://api.github.com/users/wayfair/events{/privacy}","received_events_url":"https://api.github.com/users/wayfair/received_events","type":"Organization","site_admin":false},"repo":{"id":32032028,"name":"tungstenjs","full_name":"wayfair/tungstenjs","owner":{"login":"wayfair","id":1065892,"avatar_url":"https://avatars.githubusercontent.com/u/1065892?v=3","gravatar_id":"","url":"https://api.github.com/users/wayfair","html_url":"https://github.com/wayfair","followers_url":"https://api.github.com/users/wayfair/followers","following_url":"https://api.github.com/users/wayfair/following{/other_user}","gists_url":"https://api.github.com/users/wayfair/gists{/gist_id}","starred_url":"https://api.github.com/users/wayfair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wayfair/subscriptions","organizations_url":"https://api.github.com/users/wayfair/orgs","repos_url":"https://api.github.com/users/wayfair/repos","events_url":"https://api.github.com/users/wayfair/events{/privacy}","received_events_url":"https://api.github.com/users/wayfair/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/wayfair/tungstenjs","description":"","fork":false,"url":"https://api.github.com/repos/wayfair/tungstenjs","forks_url":"https://api.github.com/repos/wayfair/tungstenjs/forks","keys_url":"https://api.github.com/repos/wayfair/tungstenjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wayfair/tungstenjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wayfair/tungstenjs/teams","hooks_url":"https://api.github.com/repos/wayfair/tungstenjs/hooks","issue_events_url":"https://api.github.com/repos/wayfair/tungstenjs/issues/events{/number}","events_url":"https://api.github.com/repos/wayfair/tungstenjs/events","assignees_url":"https://api.github.com/repos/wayfair/tungstenjs/assignees{/user}","branches_url":"https://api.github.com/repos/wayfair/tungstenjs/branches{/branch}","tags_url":"https://api.github.com/repos/wayfair/tungstenjs/tags","blobs_url":"https://api.github.com/repos/wayfair/tungstenjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wayfair/tungstenjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wayfair/tungstenjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/wayfair/tungstenjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wayfair/tungstenjs/statuses/{sha}","languages_url":"https://api.github.com/repos/wayfair/tungstenjs/languages","stargazers_url":"https://api.github.com/repos/wayfair/tungstenjs/stargazers","contributors_url":"https://api.github.com/repos/wayfair/tungstenjs/contributors","subscribers_url":"https://api.github.com/repos/wayfair/tungstenjs/subscribers","subscription_url":"https://api.github.com/repos/wayfair/tungstenjs/subscription","commits_url":"https://api.github.com/repos/wayfair/tungstenjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/wayfair/tungstenjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/wayfair/tungstenjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/wayfair/tungstenjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/wayfair/tungstenjs/contents/{+path}","compare_url":"https://api.github.com/repos/wayfair/tungstenjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wayfair/tungstenjs/merges","archive_url":"https://api.github.com/repos/wayfair/tungstenjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wayfair/tungstenjs/downloads","issues_url":"https://api.github.com/repos/wayfair/tungstenjs/issues{/number}","pulls_url":"https://api.github.com/repos/wayfair/tungstenjs/pulls{/number}","milestones_url":"https://api.github.com/repos/wayfair/tungstenjs/milestones{/number}","notifications_url":"https://api.github.com/repos/wayfair/tungstenjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wayfair/tungstenjs/labels{/name}","releases_url":"https://api.github.com/repos/wayfair/tungstenjs/releases{/id}","deployments_url":"https://api.github.com/repos/wayfair/tungstenjs/deployments","created_at":"2015-03-11T17:41:39Z","updated_at":"2016-02-23T18:34:47Z","pushed_at":"2016-02-29T19:18:51Z","git_url":"git://github.com/wayfair/tungstenjs.git","ssh_url":"git@github.com:wayfair/tungstenjs.git","clone_url":"https://github.com/wayfair/tungstenjs.git","svn_url":"https://github.com/wayfair/tungstenjs","homepage":null,"size":4454,"stargazers_count":146,"watchers_count":146,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":15,"mirror_url":null,"open_issues_count":13,"forks":15,"open_issues":13,"watchers":146,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187"},"html":{"href":"https://github.com/wayfair/tungstenjs/pull/187"},"issue":{"href":"https://api.github.com/repos/wayfair/tungstenjs/issues/187"},"comments":{"href":"https://api.github.com/repos/wayfair/tungstenjs/issues/187/comments"},"review_comments":{"href":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187/comments"},"review_comment":{"href":"https://api.github.com/repos/wayfair/tungstenjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wayfair/tungstenjs/pulls/187/commits"},"statuses":{"href":"https://api.github.com/repos/wayfair/tungstenjs/statuses/1ee2372887b7cb5ef8c57a412666349d1a1b0275"}}}}