{"action":"closed","number":938,"pull_request":{"url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/938","id":50928348,"html_url":"https://github.com/adaptlearning/adapt_authoring/pull/938","diff_url":"https://github.com/adaptlearning/adapt_authoring/pull/938.diff","patch_url":"https://github.com/adaptlearning/adapt_authoring/pull/938.patch","issue_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/938","number":938,"state":"closed","locked":false,"title":"Setup jscs to enforce code style","user":{"login":"taylortom","id":1059083,"avatar_url":"https://avatars.githubusercontent.com/u/1059083?v=3","gravatar_id":"","url":"https://api.github.com/users/taylortom","html_url":"https://github.com/taylortom","followers_url":"https://api.github.com/users/taylortom/followers","following_url":"https://api.github.com/users/taylortom/following{/other_user}","gists_url":"https://api.github.com/users/taylortom/gists{/gist_id}","starred_url":"https://api.github.com/users/taylortom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taylortom/subscriptions","organizations_url":"https://api.github.com/users/taylortom/orgs","repos_url":"https://api.github.com/users/taylortom/repos","events_url":"https://api.github.com/users/taylortom/events{/privacy}","received_events_url":"https://api.github.com/users/taylortom/received_events","type":"User","site_admin":false},"body":"Fixes #342.\r\n\r\nHave based the [jscs settings](https://github.com/adaptlearning/adapt_authoring/blob/issue/342/.jscsrc) on a node-inspired configuration. I've set the task to auto-enforce the rules where possible, so we may want to take some of the options out. \r\n\r\nSee [here](http://jscs.info/rules) for the full list of available options.","created_at":"2015-11-17T10:24:59Z","updated_at":"2015-11-25T14:28:41Z","closed_at":"2015-11-25T14:28:41Z","merged_at":"2015-11-25T14:28:41Z","merge_commit_sha":"3b73e344d5ef4e933ba5f88e9ea389e9daccdaf0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/938/commits","review_comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/938/comments","review_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/938/comments","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/3804b3fb1bc4a1ee903c2bfc50047e75e9a78359","head":{"label":"adaptlearning:issue/342","ref":"issue/342","sha":"3804b3fb1bc4a1ee903c2bfc50047e75e9a78359","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":13562581,"name":"adapt_authoring","full_name":"adaptlearning/adapt_authoring","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt_authoring","description":"Source code for the Adapt Authoring tool","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt_authoring","forks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/releases{/id}","created_at":"2013-10-14T13:52:24Z","updated_at":"2015-11-05T12:04:29Z","pushed_at":"2015-11-25T14:28:41Z","git_url":"git://github.com/adaptlearning/adapt_authoring.git","ssh_url":"git@github.com:adaptlearning/adapt_authoring.git","clone_url":"https://github.com/adaptlearning/adapt_authoring.git","svn_url":"https://github.com/adaptlearning/adapt_authoring","homepage":null,"size":40351,"stargazers_count":54,"watchers_count":54,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":99,"forks":47,"open_issues":99,"watchers":54,"default_branch":"master"}},"base":{"label":"adaptlearning:develop","ref":"develop","sha":"dc48e488e33bf772094217e45a7b087e5624f7fa","user":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"repo":{"id":13562581,"name":"adapt_authoring","full_name":"adaptlearning/adapt_authoring","owner":{"login":"adaptlearning","id":5629464,"avatar_url":"https://avatars.githubusercontent.com/u/5629464?v=3","gravatar_id":"","url":"https://api.github.com/users/adaptlearning","html_url":"https://github.com/adaptlearning","followers_url":"https://api.github.com/users/adaptlearning/followers","following_url":"https://api.github.com/users/adaptlearning/following{/other_user}","gists_url":"https://api.github.com/users/adaptlearning/gists{/gist_id}","starred_url":"https://api.github.com/users/adaptlearning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adaptlearning/subscriptions","organizations_url":"https://api.github.com/users/adaptlearning/orgs","repos_url":"https://api.github.com/users/adaptlearning/repos","events_url":"https://api.github.com/users/adaptlearning/events{/privacy}","received_events_url":"https://api.github.com/users/adaptlearning/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adaptlearning/adapt_authoring","description":"Source code for the Adapt Authoring tool","fork":false,"url":"https://api.github.com/repos/adaptlearning/adapt_authoring","forks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/forks","keys_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/teams","hooks_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/hooks","issue_events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/events{/number}","events_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/events","assignees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/assignees{/user}","branches_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/branches{/branch}","tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/tags","blobs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/refs{/sha}","trees_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/{sha}","languages_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/languages","stargazers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/stargazers","contributors_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contributors","subscribers_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscribers","subscription_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/subscription","commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/commits{/sha}","git_commits_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/git/commits{/sha}","comments_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/comments{/number}","issue_comment_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/comments{/number}","contents_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/contents/{+path}","compare_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/merges","archive_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/downloads","issues_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues{/number}","pulls_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls{/number}","milestones_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/milestones{/number}","notifications_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/labels{/name}","releases_url":"https://api.github.com/repos/adaptlearning/adapt_authoring/releases{/id}","created_at":"2013-10-14T13:52:24Z","updated_at":"2015-11-05T12:04:29Z","pushed_at":"2015-11-25T14:28:41Z","git_url":"git://github.com/adaptlearning/adapt_authoring.git","ssh_url":"git@github.com:adaptlearning/adapt_authoring.git","clone_url":"https://github.com/adaptlearning/adapt_authoring.git","svn_url":"https://github.com/adaptlearning/adapt_authoring","homepage":null,"size":40351,"stargazers_count":54,"watchers_count":54,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":47,"mirror_url":null,"open_issues_count":99,"forks":47,"open_issues":99,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/938"},"html":{"href":"https://github.com/adaptlearning/adapt_authoring/pull/938"},"issue":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/938"},"comments":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/issues/938/comments"},"review_comments":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/938/comments"},"review_comment":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/pulls/938/commits"},"statuses":{"href":"https://api.github.com/repos/adaptlearning/adapt_authoring/statuses/3804b3fb1bc4a1ee903c2bfc50047e75e9a78359"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"brian-learningpool","id":1327471,"avatar_url":"https://avatars.githubusercontent.com/u/1327471?v=3","gravatar_id":"","url":"https://api.github.com/users/brian-learningpool","html_url":"https://github.com/brian-learningpool","followers_url":"https://api.github.com/users/brian-learningpool/followers","following_url":"https://api.github.com/users/brian-learningpool/following{/other_user}","gists_url":"https://api.github.com/users/brian-learningpool/gists{/gist_id}","starred_url":"https://api.github.com/users/brian-learningpool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brian-learningpool/subscriptions","organizations_url":"https://api.github.com/users/brian-learningpool/orgs","repos_url":"https://api.github.com/users/brian-learningpool/repos","events_url":"https://api.github.com/users/brian-learningpool/events{/privacy}","received_events_url":"https://api.github.com/users/brian-learningpool/received_events","type":"User","site_admin":false},"comments":4,"review_comments":2,"commits":3,"additions":38,"deletions":0,"changed_files":3}}