{"action":"created","comment":{"url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/comments/31410898","id":31410898,"diff_hunk":"@@ -0,0 +1,63 @@\n+define([\n+    'html!./rb-check-control-group.tpl.html'\n+], function (template) {\n+\n+    /**\n+     * @ngdoc directive\n+     * @name rbCheckControlGroup\n+     * @module rb-check-control-group\n+     *\n+     * @restrict E\n+     *\n+     * @description\n+     * `<rb-check-control-group/>` Is a directive for creating multiple checkboxes with\n+     * an optional select all title.\n+     *\n+     * @usage\n+     * <hljs lang=\"html\">\n+     *    <form name=\"form\">\n+     *        <rb-check-control-group\n+     *            enable-select-all=\"false\"\n+     *            form=\"form\"\n+     *            is-disabled=\"false\"\n+     *            is-required=\"false\"\n+     *            name=\"name\"\n+     *            ng-model=\"ngModel\"\n+     *            options=\"options\"\n+     *            title=\"Your Title\">\n+     *        </rb-check-control-group>\n+     *    </form>\n+     * </hljs>\n+     *\n+     * @ngInject\n+     */\n+    function rbCheckControlGroupDirective (filterFilter) {\n+\n+        return {\n+            scope: {\n+                enableSelectAll: '@',\n+                form: '=',\n+                isDisabled: '@',\n+                isRequired: '@',\n+                name: '@',\n+                ngModel: '=',\n+                options: '=',\n+                title: '@'\n+            },\n+            restrict: 'E',\n+            replace: true,\n+            template: template,\n+            link: function ($scope, $element, $attributes) {\n+\n+                $scope.$watch('options|filter:{checked:true}', function (newOptions) {","path":"src/rb-check-control/rb-check-control-group-directive.js","position":52,"original_position":52,"commit_id":"8fa40939253efb8ebb100dd6533638b188681729","original_commit_id":"8fa40939253efb8ebb100dd6533638b188681729","user":{"login":"k0nG","id":448470,"avatar_url":"https://avatars.githubusercontent.com/u/448470?v=3","gravatar_id":"","url":"https://api.github.com/users/k0nG","html_url":"https://github.com/k0nG","followers_url":"https://api.github.com/users/k0nG/followers","following_url":"https://api.github.com/users/k0nG/following{/other_user}","gists_url":"https://api.github.com/users/k0nG/gists{/gist_id}","starred_url":"https://api.github.com/users/k0nG/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/k0nG/subscriptions","organizations_url":"https://api.github.com/users/k0nG/orgs","repos_url":"https://api.github.com/users/k0nG/repos","events_url":"https://api.github.com/users/k0nG/events{/privacy}","received_events_url":"https://api.github.com/users/k0nG/received_events","type":"User","site_admin":false},"body":"Neat. :+1: ","created_at":"2015-06-01T09:27:27Z","updated_at":"2015-06-01T09:27:27Z","html_url":"https://github.com/rockabox/rbx_ui_components/pull/165#discussion_r31410898","pull_request_url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165","_links":{"self":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/comments/31410898"},"html":{"href":"https://github.com/rockabox/rbx_ui_components/pull/165#discussion_r31410898"},"pull_request":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165"}}},"pull_request":{"url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165","id":36517565,"html_url":"https://github.com/rockabox/rbx_ui_components/pull/165","diff_url":"https://github.com/rockabox/rbx_ui_components/pull/165.diff","patch_url":"https://github.com/rockabox/rbx_ui_components/pull/165.patch","issue_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/165","number":165,"state":"open","locked":false,"title":"Refactor check control","user":{"login":"jonman","id":2930010,"avatar_url":"https://avatars.githubusercontent.com/u/2930010?v=3","gravatar_id":"","url":"https://api.github.com/users/jonman","html_url":"https://github.com/jonman","followers_url":"https://api.github.com/users/jonman/followers","following_url":"https://api.github.com/users/jonman/following{/other_user}","gists_url":"https://api.github.com/users/jonman/gists{/gist_id}","starred_url":"https://api.github.com/users/jonman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonman/subscriptions","organizations_url":"https://api.github.com/users/jonman/orgs","repos_url":"https://api.github.com/users/jonman/repos","events_url":"https://api.github.com/users/jonman/events{/privacy}","received_events_url":"https://api.github.com/users/jonman/received_events","type":"User","site_admin":false},"body":"- `rb-check-control` now renders a single checkbox input.\r\n- `rb-check-control-group` will render multiple checkboxes.\r\n- `options` attribute replaces `ng-model` to define checkbox content.\r\n- `ng-model` will now return an array of currently checked values.\r\n\r\nTP: https://rockabox.tpondemand.com/entity/9534","created_at":"2015-05-29T15:39:10Z","updated_at":"2015-06-01T09:27:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df73a5dfa53d8b737181889305cb0c1721addbc8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165/commits","review_comments_url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165/comments","review_comment_url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/165/comments","statuses_url":"https://api.github.com/repos/rockabox/rbx_ui_components/statuses/8fa40939253efb8ebb100dd6533638b188681729","head":{"label":"rockabox:story/9534-refactor-check-control","ref":"story/9534-refactor-check-control","sha":"8fa40939253efb8ebb100dd6533638b188681729","user":{"login":"rockabox","id":245290,"avatar_url":"https://avatars.githubusercontent.com/u/245290?v=3","gravatar_id":"","url":"https://api.github.com/users/rockabox","html_url":"https://github.com/rockabox","followers_url":"https://api.github.com/users/rockabox/followers","following_url":"https://api.github.com/users/rockabox/following{/other_user}","gists_url":"https://api.github.com/users/rockabox/gists{/gist_id}","starred_url":"https://api.github.com/users/rockabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockabox/subscriptions","organizations_url":"https://api.github.com/users/rockabox/orgs","repos_url":"https://api.github.com/users/rockabox/repos","events_url":"https://api.github.com/users/rockabox/events{/privacy}","received_events_url":"https://api.github.com/users/rockabox/received_events","type":"Organization","site_admin":false},"repo":{"id":30237405,"name":"rbx_ui_components","full_name":"rockabox/rbx_ui_components","owner":{"login":"rockabox","id":245290,"avatar_url":"https://avatars.githubusercontent.com/u/245290?v=3","gravatar_id":"","url":"https://api.github.com/users/rockabox","html_url":"https://github.com/rockabox","followers_url":"https://api.github.com/users/rockabox/followers","following_url":"https://api.github.com/users/rockabox/following{/other_user}","gists_url":"https://api.github.com/users/rockabox/gists{/gist_id}","starred_url":"https://api.github.com/users/rockabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockabox/subscriptions","organizations_url":"https://api.github.com/users/rockabox/orgs","repos_url":"https://api.github.com/users/rockabox/repos","events_url":"https://api.github.com/users/rockabox/events{/privacy}","received_events_url":"https://api.github.com/users/rockabox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rockabox/rbx_ui_components","description":"","fork":false,"url":"https://api.github.com/repos/rockabox/rbx_ui_components","forks_url":"https://api.github.com/repos/rockabox/rbx_ui_components/forks","keys_url":"https://api.github.com/repos/rockabox/rbx_ui_components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rockabox/rbx_ui_components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rockabox/rbx_ui_components/teams","hooks_url":"https://api.github.com/repos/rockabox/rbx_ui_components/hooks","issue_events_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/events{/number}","events_url":"https://api.github.com/repos/rockabox/rbx_ui_components/events","assignees_url":"https://api.github.com/repos/rockabox/rbx_ui_components/assignees{/user}","branches_url":"https://api.github.com/repos/rockabox/rbx_ui_components/branches{/branch}","tags_url":"https://api.github.com/repos/rockabox/rbx_ui_components/tags","blobs_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/refs{/sha}","trees_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rockabox/rbx_ui_components/statuses/{sha}","languages_url":"https://api.github.com/repos/rockabox/rbx_ui_components/languages","stargazers_url":"https://api.github.com/repos/rockabox/rbx_ui_components/stargazers","contributors_url":"https://api.github.com/repos/rockabox/rbx_ui_components/contributors","subscribers_url":"https://api.github.com/repos/rockabox/rbx_ui_components/subscribers","subscription_url":"https://api.github.com/repos/rockabox/rbx_ui_components/subscription","commits_url":"https://api.github.com/repos/rockabox/rbx_ui_components/commits{/sha}","git_commits_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/commits{/sha}","comments_url":"https://api.github.com/repos/rockabox/rbx_ui_components/comments{/number}","issue_comment_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/comments{/number}","contents_url":"https://api.github.com/repos/rockabox/rbx_ui_components/contents/{+path}","compare_url":"https://api.github.com/repos/rockabox/rbx_ui_components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rockabox/rbx_ui_components/merges","archive_url":"https://api.github.com/repos/rockabox/rbx_ui_components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rockabox/rbx_ui_components/downloads","issues_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues{/number}","pulls_url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls{/number}","milestones_url":"https://api.github.com/repos/rockabox/rbx_ui_components/milestones{/number}","notifications_url":"https://api.github.com/repos/rockabox/rbx_ui_components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rockabox/rbx_ui_components/labels{/name}","releases_url":"https://api.github.com/repos/rockabox/rbx_ui_components/releases{/id}","created_at":"2015-02-03T10:27:21Z","updated_at":"2015-05-21T12:34:14Z","pushed_at":"2015-06-01T08:26:39Z","git_url":"git://github.com/rockabox/rbx_ui_components.git","ssh_url":"git@github.com:rockabox/rbx_ui_components.git","clone_url":"https://github.com/rockabox/rbx_ui_components.git","svn_url":"https://github.com/rockabox/rbx_ui_components","homepage":null,"size":3340,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":4,"default_branch":"master"}},"base":{"label":"rockabox:master","ref":"master","sha":"57a40a319940ea1769a46531d5f7e22892ae7929","user":{"login":"rockabox","id":245290,"avatar_url":"https://avatars.githubusercontent.com/u/245290?v=3","gravatar_id":"","url":"https://api.github.com/users/rockabox","html_url":"https://github.com/rockabox","followers_url":"https://api.github.com/users/rockabox/followers","following_url":"https://api.github.com/users/rockabox/following{/other_user}","gists_url":"https://api.github.com/users/rockabox/gists{/gist_id}","starred_url":"https://api.github.com/users/rockabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockabox/subscriptions","organizations_url":"https://api.github.com/users/rockabox/orgs","repos_url":"https://api.github.com/users/rockabox/repos","events_url":"https://api.github.com/users/rockabox/events{/privacy}","received_events_url":"https://api.github.com/users/rockabox/received_events","type":"Organization","site_admin":false},"repo":{"id":30237405,"name":"rbx_ui_components","full_name":"rockabox/rbx_ui_components","owner":{"login":"rockabox","id":245290,"avatar_url":"https://avatars.githubusercontent.com/u/245290?v=3","gravatar_id":"","url":"https://api.github.com/users/rockabox","html_url":"https://github.com/rockabox","followers_url":"https://api.github.com/users/rockabox/followers","following_url":"https://api.github.com/users/rockabox/following{/other_user}","gists_url":"https://api.github.com/users/rockabox/gists{/gist_id}","starred_url":"https://api.github.com/users/rockabox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockabox/subscriptions","organizations_url":"https://api.github.com/users/rockabox/orgs","repos_url":"https://api.github.com/users/rockabox/repos","events_url":"https://api.github.com/users/rockabox/events{/privacy}","received_events_url":"https://api.github.com/users/rockabox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rockabox/rbx_ui_components","description":"","fork":false,"url":"https://api.github.com/repos/rockabox/rbx_ui_components","forks_url":"https://api.github.com/repos/rockabox/rbx_ui_components/forks","keys_url":"https://api.github.com/repos/rockabox/rbx_ui_components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rockabox/rbx_ui_components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rockabox/rbx_ui_components/teams","hooks_url":"https://api.github.com/repos/rockabox/rbx_ui_components/hooks","issue_events_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/events{/number}","events_url":"https://api.github.com/repos/rockabox/rbx_ui_components/events","assignees_url":"https://api.github.com/repos/rockabox/rbx_ui_components/assignees{/user}","branches_url":"https://api.github.com/repos/rockabox/rbx_ui_components/branches{/branch}","tags_url":"https://api.github.com/repos/rockabox/rbx_ui_components/tags","blobs_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/refs{/sha}","trees_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rockabox/rbx_ui_components/statuses/{sha}","languages_url":"https://api.github.com/repos/rockabox/rbx_ui_components/languages","stargazers_url":"https://api.github.com/repos/rockabox/rbx_ui_components/stargazers","contributors_url":"https://api.github.com/repos/rockabox/rbx_ui_components/contributors","subscribers_url":"https://api.github.com/repos/rockabox/rbx_ui_components/subscribers","subscription_url":"https://api.github.com/repos/rockabox/rbx_ui_components/subscription","commits_url":"https://api.github.com/repos/rockabox/rbx_ui_components/commits{/sha}","git_commits_url":"https://api.github.com/repos/rockabox/rbx_ui_components/git/commits{/sha}","comments_url":"https://api.github.com/repos/rockabox/rbx_ui_components/comments{/number}","issue_comment_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/comments{/number}","contents_url":"https://api.github.com/repos/rockabox/rbx_ui_components/contents/{+path}","compare_url":"https://api.github.com/repos/rockabox/rbx_ui_components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rockabox/rbx_ui_components/merges","archive_url":"https://api.github.com/repos/rockabox/rbx_ui_components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rockabox/rbx_ui_components/downloads","issues_url":"https://api.github.com/repos/rockabox/rbx_ui_components/issues{/number}","pulls_url":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls{/number}","milestones_url":"https://api.github.com/repos/rockabox/rbx_ui_components/milestones{/number}","notifications_url":"https://api.github.com/repos/rockabox/rbx_ui_components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rockabox/rbx_ui_components/labels{/name}","releases_url":"https://api.github.com/repos/rockabox/rbx_ui_components/releases{/id}","created_at":"2015-02-03T10:27:21Z","updated_at":"2015-05-21T12:34:14Z","pushed_at":"2015-06-01T08:26:39Z","git_url":"git://github.com/rockabox/rbx_ui_components.git","ssh_url":"git@github.com:rockabox/rbx_ui_components.git","clone_url":"https://github.com/rockabox/rbx_ui_components.git","svn_url":"https://github.com/rockabox/rbx_ui_components","homepage":null,"size":3340,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":5,"forks":0,"open_issues":5,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165"},"html":{"href":"https://github.com/rockabox/rbx_ui_components/pull/165"},"issue":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/165"},"comments":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/issues/165/comments"},"review_comments":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165/comments"},"review_comment":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/pulls/165/commits"},"statuses":{"href":"https://api.github.com/repos/rockabox/rbx_ui_components/statuses/8fa40939253efb8ebb100dd6533638b188681729"}}}}