{"action":"created","comment":{"url":"https://api.github.com/repos/rwaldron/johnny-five/pulls/comments/27094754","id":27094754,"diff_hunk":"@@ -0,0 +1,13 @@\n+var LedControl = require(\"./ledcontrol\"),\n+  _ = require(\"lodash\");\n+\n+// stub implementation; extract functionality from ledcontrol.js\n+var Digits = function(opts) {\n+  opts.isMatrix = false;\n+  return new LedControl(opts);\n+};\n+_.extend(Digits, LedControl, {","path":"lib/led/digits.js","position":9,"original_position":9,"commit_id":"e0d7cbd5d1ae0e7876c4cc8990ad5b82d3063a45","original_commit_id":"e0d7cbd5d1ae0e7876c4cc8990ad5b82d3063a45","user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"body":"See PR #672 ","created_at":"2015-03-25T04:43:39Z","updated_at":"2015-03-25T04:43:39Z","html_url":"https://github.com/rwaldron/johnny-five/pull/670#discussion_r27094754","pull_request_url":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670","_links":{"self":{"href":"https://api.github.com/repos/rwaldron/johnny-five/pulls/comments/27094754"},"html":{"href":"https://github.com/rwaldron/johnny-five/pull/670#discussion_r27094754"},"pull_request":{"href":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670"}}},"pull_request":{"url":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670","id":31873810,"html_url":"https://github.com/rwaldron/johnny-five/pull/670","diff_url":"https://github.com/rwaldron/johnny-five/pull/670.diff","patch_url":"https://github.com/rwaldron/johnny-five/pull/670.patch","issue_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/670","number":670,"state":"open","locked":false,"title":"breakout LED-related code into led/ folder; closes #668","user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"body":"- Moved all the things\r\n- Should be completely backwards-compatible (tests pass; removed files were replaced)\r\n- Maintained private state between `Led`, `Led.RGB` and `Led.Array`.  (This probably merits some discussion, but I didn't want to break anything)","created_at":"2015-03-24T21:50:09Z","updated_at":"2015-03-25T04:43:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23fdaa6f5fa13fa47565dadcfee43eb80d7b4335","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670/commits","review_comments_url":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670/comments","review_comment_url":"https://api.github.com/repos/rwaldron/johnny-five/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/670/comments","statuses_url":"https://api.github.com/repos/rwaldron/johnny-five/statuses/e0d7cbd5d1ae0e7876c4cc8990ad5b82d3063a45","head":{"label":"boneskull:issue/668","ref":"issue/668","sha":"e0d7cbd5d1ae0e7876c4cc8990ad5b82d3063a45","user":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"repo":{"id":28465978,"name":"johnny-five","full_name":"boneskull/johnny-five","owner":{"login":"boneskull","id":924465,"avatar_url":"https://avatars.githubusercontent.com/u/924465?v=3","gravatar_id":"","url":"https://api.github.com/users/boneskull","html_url":"https://github.com/boneskull","followers_url":"https://api.github.com/users/boneskull/followers","following_url":"https://api.github.com/users/boneskull/following{/other_user}","gists_url":"https://api.github.com/users/boneskull/gists{/gist_id}","starred_url":"https://api.github.com/users/boneskull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boneskull/subscriptions","organizations_url":"https://api.github.com/users/boneskull/orgs","repos_url":"https://api.github.com/users/boneskull/repos","events_url":"https://api.github.com/users/boneskull/events{/privacy}","received_events_url":"https://api.github.com/users/boneskull/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/boneskull/johnny-five","description":"An Open Source, IoT and Robotics programming framework, developed at Bocoup.","fork":true,"url":"https://api.github.com/repos/boneskull/johnny-five","forks_url":"https://api.github.com/repos/boneskull/johnny-five/forks","keys_url":"https://api.github.com/repos/boneskull/johnny-five/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boneskull/johnny-five/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boneskull/johnny-five/teams","hooks_url":"https://api.github.com/repos/boneskull/johnny-five/hooks","issue_events_url":"https://api.github.com/repos/boneskull/johnny-five/issues/events{/number}","events_url":"https://api.github.com/repos/boneskull/johnny-five/events","assignees_url":"https://api.github.com/repos/boneskull/johnny-five/assignees{/user}","branches_url":"https://api.github.com/repos/boneskull/johnny-five/branches{/branch}","tags_url":"https://api.github.com/repos/boneskull/johnny-five/tags","blobs_url":"https://api.github.com/repos/boneskull/johnny-five/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boneskull/johnny-five/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boneskull/johnny-five/git/refs{/sha}","trees_url":"https://api.github.com/repos/boneskull/johnny-five/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boneskull/johnny-five/statuses/{sha}","languages_url":"https://api.github.com/repos/boneskull/johnny-five/languages","stargazers_url":"https://api.github.com/repos/boneskull/johnny-five/stargazers","contributors_url":"https://api.github.com/repos/boneskull/johnny-five/contributors","subscribers_url":"https://api.github.com/repos/boneskull/johnny-five/subscribers","subscription_url":"https://api.github.com/repos/boneskull/johnny-five/subscription","commits_url":"https://api.github.com/repos/boneskull/johnny-five/commits{/sha}","git_commits_url":"https://api.github.com/repos/boneskull/johnny-five/git/commits{/sha}","comments_url":"https://api.github.com/repos/boneskull/johnny-five/comments{/number}","issue_comment_url":"https://api.github.com/repos/boneskull/johnny-five/issues/comments{/number}","contents_url":"https://api.github.com/repos/boneskull/johnny-five/contents/{+path}","compare_url":"https://api.github.com/repos/boneskull/johnny-five/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boneskull/johnny-five/merges","archive_url":"https://api.github.com/repos/boneskull/johnny-five/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boneskull/johnny-five/downloads","issues_url":"https://api.github.com/repos/boneskull/johnny-five/issues{/number}","pulls_url":"https://api.github.com/repos/boneskull/johnny-five/pulls{/number}","milestones_url":"https://api.github.com/repos/boneskull/johnny-five/milestones{/number}","notifications_url":"https://api.github.com/repos/boneskull/johnny-five/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boneskull/johnny-five/labels{/name}","releases_url":"https://api.github.com/repos/boneskull/johnny-five/releases{/id}","created_at":"2014-12-25T00:49:31Z","updated_at":"2015-03-24T21:45:54Z","pushed_at":"2015-03-25T04:37:10Z","git_url":"git://github.com/boneskull/johnny-five.git","ssh_url":"git@github.com:boneskull/johnny-five.git","clone_url":"https://github.com/boneskull/johnny-five.git","svn_url":"https://github.com/boneskull/johnny-five","homepage":"","size":36541,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"rwaldron:master","ref":"master","sha":"566a2a7fc9301da7e40a1d6ae288e00220cbe0e9","user":{"login":"rwaldron","id":27985,"avatar_url":"https://avatars.githubusercontent.com/u/27985?v=3","gravatar_id":"","url":"https://api.github.com/users/rwaldron","html_url":"https://github.com/rwaldron","followers_url":"https://api.github.com/users/rwaldron/followers","following_url":"https://api.github.com/users/rwaldron/following{/other_user}","gists_url":"https://api.github.com/users/rwaldron/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaldron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaldron/subscriptions","organizations_url":"https://api.github.com/users/rwaldron/orgs","repos_url":"https://api.github.com/users/rwaldron/repos","events_url":"https://api.github.com/users/rwaldron/events{/privacy}","received_events_url":"https://api.github.com/users/rwaldron/received_events","type":"User","site_admin":false},"repo":{"id":3880513,"name":"johnny-five","full_name":"rwaldron/johnny-five","owner":{"login":"rwaldron","id":27985,"avatar_url":"https://avatars.githubusercontent.com/u/27985?v=3","gravatar_id":"","url":"https://api.github.com/users/rwaldron","html_url":"https://github.com/rwaldron","followers_url":"https://api.github.com/users/rwaldron/followers","following_url":"https://api.github.com/users/rwaldron/following{/other_user}","gists_url":"https://api.github.com/users/rwaldron/gists{/gist_id}","starred_url":"https://api.github.com/users/rwaldron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwaldron/subscriptions","organizations_url":"https://api.github.com/users/rwaldron/orgs","repos_url":"https://api.github.com/users/rwaldron/repos","events_url":"https://api.github.com/users/rwaldron/events{/privacy}","received_events_url":"https://api.github.com/users/rwaldron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rwaldron/johnny-five","description":"JavaScript Robotics and IoT programming framework, developed at Bocoup. Based on Arduino Firmata Protocol","fork":false,"url":"https://api.github.com/repos/rwaldron/johnny-five","forks_url":"https://api.github.com/repos/rwaldron/johnny-five/forks","keys_url":"https://api.github.com/repos/rwaldron/johnny-five/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rwaldron/johnny-five/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rwaldron/johnny-five/teams","hooks_url":"https://api.github.com/repos/rwaldron/johnny-five/hooks","issue_events_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/events{/number}","events_url":"https://api.github.com/repos/rwaldron/johnny-five/events","assignees_url":"https://api.github.com/repos/rwaldron/johnny-five/assignees{/user}","branches_url":"https://api.github.com/repos/rwaldron/johnny-five/branches{/branch}","tags_url":"https://api.github.com/repos/rwaldron/johnny-five/tags","blobs_url":"https://api.github.com/repos/rwaldron/johnny-five/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rwaldron/johnny-five/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rwaldron/johnny-five/git/refs{/sha}","trees_url":"https://api.github.com/repos/rwaldron/johnny-five/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rwaldron/johnny-five/statuses/{sha}","languages_url":"https://api.github.com/repos/rwaldron/johnny-five/languages","stargazers_url":"https://api.github.com/repos/rwaldron/johnny-five/stargazers","contributors_url":"https://api.github.com/repos/rwaldron/johnny-five/contributors","subscribers_url":"https://api.github.com/repos/rwaldron/johnny-five/subscribers","subscription_url":"https://api.github.com/repos/rwaldron/johnny-five/subscription","commits_url":"https://api.github.com/repos/rwaldron/johnny-five/commits{/sha}","git_commits_url":"https://api.github.com/repos/rwaldron/johnny-five/git/commits{/sha}","comments_url":"https://api.github.com/repos/rwaldron/johnny-five/comments{/number}","issue_comment_url":"https://api.github.com/repos/rwaldron/johnny-five/issues/comments{/number}","contents_url":"https://api.github.com/repos/rwaldron/johnny-five/contents/{+path}","compare_url":"https://api.github.com/repos/rwaldron/johnny-five/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rwaldron/johnny-five/merges","archive_url":"https://api.github.com/repos/rwaldron/johnny-five/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rwaldron/johnny-five/downloads","issues_url":"https://api.github.com/repos/rwaldron/johnny-five/issues{/number}","pulls_url":"https://api.github.com/repos/rwaldron/johnny-five/pulls{/number}","milestones_url":"https://api.github.com/repos/rwaldron/johnny-five/milestones{/number}","notifications_url":"https://api.github.com/repos/rwaldron/johnny-five/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rwaldron/johnny-five/labels{/name}","releases_url":"https://api.github.com/repos/rwaldron/johnny-five/releases{/id}","created_at":"2012-03-30T20:09:52Z","updated_at":"2015-03-25T03:01:56Z","pushed_at":"2015-03-25T04:37:58Z","git_url":"git://github.com/rwaldron/johnny-five.git","ssh_url":"git@github.com:rwaldron/johnny-five.git","clone_url":"https://github.com/rwaldron/johnny-five.git","svn_url":"https://github.com/rwaldron/johnny-five","homepage":"","size":42961,"stargazers_count":3377,"watchers_count":3377,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":427,"mirror_url":null,"open_issues_count":100,"forks":427,"open_issues":100,"watchers":3377,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670"},"html":{"href":"https://github.com/rwaldron/johnny-five/pull/670"},"issue":{"href":"https://api.github.com/repos/rwaldron/johnny-five/issues/670"},"comments":{"href":"https://api.github.com/repos/rwaldron/johnny-five/issues/670/comments"},"review_comments":{"href":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670/comments"},"review_comment":{"href":"https://api.github.com/repos/rwaldron/johnny-five/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rwaldron/johnny-five/pulls/670/commits"},"statuses":{"href":"https://api.github.com/repos/rwaldron/johnny-five/statuses/e0d7cbd5d1ae0e7876c4cc8990ad5b82d3063a45"}}}}