{"action":"created","comment":{"url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/comments/48258748","id":48258748,"diff_hunk":"@@ -0,0 +1,177 @@\n+/**\n+ * @ngdoc directive\n+ * @name patternfly.form.directive:pfRemainingCharsCount\n+ *\n+ * @description\n+ *   Directive for showing a characters remaining count and triggering warning and error\n+ *   behavior when passing specified thresholds.\n+ *\n+ * @param {string} ng-model The scope model variable which contains the intial text for the text field.  Required, but</br>\n+ * can be an emptly string (\"\").\n+ * @param {string} count-fld The id of the field to display the 'characters-remaining' count.\n+ * @param {string} chars-max-limit Number representing the maximum number of characters to allow before dispatching a<br/>","path":"src/form/remaining-chars-count/remaining-chars-count.directive.js","position":12,"original_position":12,"commit_id":"0aef8ad07b0651ed39dce45e63d861e4da829f1d","original_commit_id":"0aef8ad07b0651ed39dce45e63d861e4da829f1d","user":{"login":"jeff-phillips-18","id":11633780,"avatar_url":"https://avatars.githubusercontent.com/u/11633780?v=3","gravatar_id":"","url":"https://api.github.com/users/jeff-phillips-18","html_url":"https://github.com/jeff-phillips-18","followers_url":"https://api.github.com/users/jeff-phillips-18/followers","following_url":"https://api.github.com/users/jeff-phillips-18/following{/other_user}","gists_url":"https://api.github.com/users/jeff-phillips-18/gists{/gist_id}","starred_url":"https://api.github.com/users/jeff-phillips-18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeff-phillips-18/subscriptions","organizations_url":"https://api.github.com/users/jeff-phillips-18/orgs","repos_url":"https://api.github.com/users/jeff-phillips-18/repos","events_url":"https://api.github.com/users/jeff-phillips-18/events{/privacy}","received_events_url":"https://api.github.com/users/jeff-phillips-18/received_events","type":"User","site_admin":false},"body":"how about  'max-chars' instead?","created_at":"2015-12-22T14:44:42Z","updated_at":"2015-12-22T14:44:42Z","html_url":"https://github.com/patternfly/angular-patternfly/pull/166#discussion_r48258748","pull_request_url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166","_links":{"self":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/comments/48258748"},"html":{"href":"https://github.com/patternfly/angular-patternfly/pull/166#discussion_r48258748"},"pull_request":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166"}}},"pull_request":{"url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166","id":54308870,"html_url":"https://github.com/patternfly/angular-patternfly/pull/166","diff_url":"https://github.com/patternfly/angular-patternfly/pull/166.diff","patch_url":"https://github.com/patternfly/angular-patternfly/pull/166.patch","issue_url":"https://api.github.com/repos/patternfly/angular-patternfly/issues/166","number":166,"state":"open","locked":false,"title":"New pfRemainingCharsCount directive","user":{"login":"dtaylor113","id":12733153,"avatar_url":"https://avatars.githubusercontent.com/u/12733153?v=3","gravatar_id":"","url":"https://api.github.com/users/dtaylor113","html_url":"https://github.com/dtaylor113","followers_url":"https://api.github.com/users/dtaylor113/followers","following_url":"https://api.github.com/users/dtaylor113/following{/other_user}","gists_url":"https://api.github.com/users/dtaylor113/gists{/gist_id}","starred_url":"https://api.github.com/users/dtaylor113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtaylor113/subscriptions","organizations_url":"https://api.github.com/users/dtaylor113/orgs","repos_url":"https://api.github.com/users/dtaylor113/repos","events_url":"https://api.github.com/users/dtaylor113/events{/privacy}","received_events_url":"https://api.github.com/users/dtaylor113/received_events","type":"User","site_admin":false},"body":"New pfRemainingCharsCount directive counts remaining characters for textareas and inputs.  Ability to specify when to warn user when certain number of characters remain.  Also to block input after maximum number of characters reached.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/12733153/11942468/cd8c27ae-a804-11e5-93cc-42a49356307a.png)","created_at":"2015-12-21T22:06:51Z","updated_at":"2015-12-22T14:44:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d924b0c520bc84d4508bbc3495aa6d59fc9bd856","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166/commits","review_comments_url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166/comments","review_comment_url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/comments{/number}","comments_url":"https://api.github.com/repos/patternfly/angular-patternfly/issues/166/comments","statuses_url":"https://api.github.com/repos/patternfly/angular-patternfly/statuses/0aef8ad07b0651ed39dce45e63d861e4da829f1d","head":{"label":"dtaylor113:master","ref":"master","sha":"0aef8ad07b0651ed39dce45e63d861e4da829f1d","user":{"login":"dtaylor113","id":12733153,"avatar_url":"https://avatars.githubusercontent.com/u/12733153?v=3","gravatar_id":"","url":"https://api.github.com/users/dtaylor113","html_url":"https://github.com/dtaylor113","followers_url":"https://api.github.com/users/dtaylor113/followers","following_url":"https://api.github.com/users/dtaylor113/following{/other_user}","gists_url":"https://api.github.com/users/dtaylor113/gists{/gist_id}","starred_url":"https://api.github.com/users/dtaylor113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtaylor113/subscriptions","organizations_url":"https://api.github.com/users/dtaylor113/orgs","repos_url":"https://api.github.com/users/dtaylor113/repos","events_url":"https://api.github.com/users/dtaylor113/events{/privacy}","received_events_url":"https://api.github.com/users/dtaylor113/received_events","type":"User","site_admin":false},"repo":{"id":40555489,"name":"angular-patternfly","full_name":"dtaylor113/angular-patternfly","owner":{"login":"dtaylor113","id":12733153,"avatar_url":"https://avatars.githubusercontent.com/u/12733153?v=3","gravatar_id":"","url":"https://api.github.com/users/dtaylor113","html_url":"https://github.com/dtaylor113","followers_url":"https://api.github.com/users/dtaylor113/followers","following_url":"https://api.github.com/users/dtaylor113/following{/other_user}","gists_url":"https://api.github.com/users/dtaylor113/gists{/gist_id}","starred_url":"https://api.github.com/users/dtaylor113/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtaylor113/subscriptions","organizations_url":"https://api.github.com/users/dtaylor113/orgs","repos_url":"https://api.github.com/users/dtaylor113/repos","events_url":"https://api.github.com/users/dtaylor113/events{/privacy}","received_events_url":"https://api.github.com/users/dtaylor113/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dtaylor113/angular-patternfly","description":"","fork":true,"url":"https://api.github.com/repos/dtaylor113/angular-patternfly","forks_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/forks","keys_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/teams","hooks_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/hooks","issue_events_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/issues/events{/number}","events_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/events","assignees_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/assignees{/user}","branches_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/branches{/branch}","tags_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/tags","blobs_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/git/refs{/sha}","trees_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/statuses/{sha}","languages_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/languages","stargazers_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/stargazers","contributors_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/contributors","subscribers_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/subscribers","subscription_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/subscription","commits_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/commits{/sha}","git_commits_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/git/commits{/sha}","comments_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/comments{/number}","issue_comment_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/issues/comments{/number}","contents_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/contents/{+path}","compare_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/merges","archive_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/downloads","issues_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/issues{/number}","pulls_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/pulls{/number}","milestones_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/milestones{/number}","notifications_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/labels{/name}","releases_url":"https://api.github.com/repos/dtaylor113/angular-patternfly/releases{/id}","created_at":"2015-08-11T17:25:11Z","updated_at":"2015-08-11T17:25:12Z","pushed_at":"2015-12-21T22:02:17Z","git_url":"git://github.com/dtaylor113/angular-patternfly.git","ssh_url":"git@github.com:dtaylor113/angular-patternfly.git","clone_url":"https://github.com/dtaylor113/angular-patternfly.git","svn_url":"https://github.com/dtaylor113/angular-patternfly","homepage":null,"size":1782,"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":"patternfly:master","ref":"master","sha":"8f5caae685c8cd98961ee6be686edd3c43b05dea","user":{"login":"patternfly","id":6391110,"avatar_url":"https://avatars.githubusercontent.com/u/6391110?v=3","gravatar_id":"","url":"https://api.github.com/users/patternfly","html_url":"https://github.com/patternfly","followers_url":"https://api.github.com/users/patternfly/followers","following_url":"https://api.github.com/users/patternfly/following{/other_user}","gists_url":"https://api.github.com/users/patternfly/gists{/gist_id}","starred_url":"https://api.github.com/users/patternfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patternfly/subscriptions","organizations_url":"https://api.github.com/users/patternfly/orgs","repos_url":"https://api.github.com/users/patternfly/repos","events_url":"https://api.github.com/users/patternfly/events{/privacy}","received_events_url":"https://api.github.com/users/patternfly/received_events","type":"Organization","site_admin":false},"repo":{"id":17672427,"name":"angular-patternfly","full_name":"patternfly/angular-patternfly","owner":{"login":"patternfly","id":6391110,"avatar_url":"https://avatars.githubusercontent.com/u/6391110?v=3","gravatar_id":"","url":"https://api.github.com/users/patternfly","html_url":"https://github.com/patternfly","followers_url":"https://api.github.com/users/patternfly/followers","following_url":"https://api.github.com/users/patternfly/following{/other_user}","gists_url":"https://api.github.com/users/patternfly/gists{/gist_id}","starred_url":"https://api.github.com/users/patternfly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patternfly/subscriptions","organizations_url":"https://api.github.com/users/patternfly/orgs","repos_url":"https://api.github.com/users/patternfly/repos","events_url":"https://api.github.com/users/patternfly/events{/privacy}","received_events_url":"https://api.github.com/users/patternfly/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/patternfly/angular-patternfly","description":"","fork":false,"url":"https://api.github.com/repos/patternfly/angular-patternfly","forks_url":"https://api.github.com/repos/patternfly/angular-patternfly/forks","keys_url":"https://api.github.com/repos/patternfly/angular-patternfly/keys{/key_id}","collaborators_url":"https://api.github.com/repos/patternfly/angular-patternfly/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/patternfly/angular-patternfly/teams","hooks_url":"https://api.github.com/repos/patternfly/angular-patternfly/hooks","issue_events_url":"https://api.github.com/repos/patternfly/angular-patternfly/issues/events{/number}","events_url":"https://api.github.com/repos/patternfly/angular-patternfly/events","assignees_url":"https://api.github.com/repos/patternfly/angular-patternfly/assignees{/user}","branches_url":"https://api.github.com/repos/patternfly/angular-patternfly/branches{/branch}","tags_url":"https://api.github.com/repos/patternfly/angular-patternfly/tags","blobs_url":"https://api.github.com/repos/patternfly/angular-patternfly/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/patternfly/angular-patternfly/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/patternfly/angular-patternfly/git/refs{/sha}","trees_url":"https://api.github.com/repos/patternfly/angular-patternfly/git/trees{/sha}","statuses_url":"https://api.github.com/repos/patternfly/angular-patternfly/statuses/{sha}","languages_url":"https://api.github.com/repos/patternfly/angular-patternfly/languages","stargazers_url":"https://api.github.com/repos/patternfly/angular-patternfly/stargazers","contributors_url":"https://api.github.com/repos/patternfly/angular-patternfly/contributors","subscribers_url":"https://api.github.com/repos/patternfly/angular-patternfly/subscribers","subscription_url":"https://api.github.com/repos/patternfly/angular-patternfly/subscription","commits_url":"https://api.github.com/repos/patternfly/angular-patternfly/commits{/sha}","git_commits_url":"https://api.github.com/repos/patternfly/angular-patternfly/git/commits{/sha}","comments_url":"https://api.github.com/repos/patternfly/angular-patternfly/comments{/number}","issue_comment_url":"https://api.github.com/repos/patternfly/angular-patternfly/issues/comments{/number}","contents_url":"https://api.github.com/repos/patternfly/angular-patternfly/contents/{+path}","compare_url":"https://api.github.com/repos/patternfly/angular-patternfly/compare/{base}...{head}","merges_url":"https://api.github.com/repos/patternfly/angular-patternfly/merges","archive_url":"https://api.github.com/repos/patternfly/angular-patternfly/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/patternfly/angular-patternfly/downloads","issues_url":"https://api.github.com/repos/patternfly/angular-patternfly/issues{/number}","pulls_url":"https://api.github.com/repos/patternfly/angular-patternfly/pulls{/number}","milestones_url":"https://api.github.com/repos/patternfly/angular-patternfly/milestones{/number}","notifications_url":"https://api.github.com/repos/patternfly/angular-patternfly/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/patternfly/angular-patternfly/labels{/name}","releases_url":"https://api.github.com/repos/patternfly/angular-patternfly/releases{/id}","created_at":"2014-03-12T15:43:51Z","updated_at":"2015-11-16T18:49:08Z","pushed_at":"2015-12-22T14:19:41Z","git_url":"git://github.com/patternfly/angular-patternfly.git","ssh_url":"git@github.com:patternfly/angular-patternfly.git","clone_url":"https://github.com/patternfly/angular-patternfly.git","svn_url":"https://github.com/patternfly/angular-patternfly","homepage":null,"size":1895,"stargazers_count":21,"watchers_count":21,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":12,"forks":17,"open_issues":12,"watchers":21,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166"},"html":{"href":"https://github.com/patternfly/angular-patternfly/pull/166"},"issue":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/issues/166"},"comments":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/issues/166/comments"},"review_comments":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166/comments"},"review_comment":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/pulls/166/commits"},"statuses":{"href":"https://api.github.com/repos/patternfly/angular-patternfly/statuses/0aef8ad07b0651ed39dce45e63d861e4da829f1d"}}}}