{"action":"created","comment":{"url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/comments/36050341","id":36050341,"diff_hunk":"@@ -0,0 +1,51 @@\n+define([\n+    '$'\n+], function($) {\n+\n+    var init = function() {\n+        var $breadcrumbs = $('.c-breadcrumbs');\n+\n+        $breadcrumbs.each(function() {\n+            var $this = $(this);\n+            var $links = $this.find('.c-breadcrumbs__item');\n+            var showMoreText = \"Show more breadcrumbs items\";\n+            var $showMore = $('<li class=\"c-breadcrumbs__item\"><button class=\"c-breadcrumbs__link c--show-more js-breadcrumb-show\" type=\"button\">' + showMoreText + '</button></li>');","path":"breadcrumbs-ui.js","position":12,"original_position":12,"commit_id":"01d6119d9e4b42ff351af11c69fd9b6111084a4a","original_commit_id":"01d6119d9e4b42ff351af11c69fd9b6111084a4a","user":{"login":"ry5n","id":804014,"avatar_url":"https://avatars.githubusercontent.com/u/804014?v=3","gravatar_id":"","url":"https://api.github.com/users/ry5n","html_url":"https://github.com/ry5n","followers_url":"https://api.github.com/users/ry5n/followers","following_url":"https://api.github.com/users/ry5n/following{/other_user}","gists_url":"https://api.github.com/users/ry5n/gists{/gist_id}","starred_url":"https://api.github.com/users/ry5n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry5n/subscriptions","organizations_url":"https://api.github.com/users/ry5n/orgs","repos_url":"https://api.github.com/users/ry5n/repos","events_url":"https://api.github.com/users/ry5n/events{/privacy}","received_events_url":"https://api.github.com/users/ry5n/received_events","type":"User","site_admin":false},"body":"One of the things I’m recommending is a separate template for the breadcrumb item (for a different reason). It would be awesome if we could render the show more button using that same template rather than duplicating that here. @fractaltheory: any idea how hard that would be? It would mean require-ing in the dust template and calling dust.render in the UI script…  ","created_at":"2015-08-03T00:25:13Z","updated_at":"2015-08-03T00:25:13Z","html_url":"https://github.com/mobify/stencil-breadcrumbs/pull/1#discussion_r36050341","pull_request_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/comments/36050341"},"html":{"href":"https://github.com/mobify/stencil-breadcrumbs/pull/1#discussion_r36050341"},"pull_request":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1","id":41386568,"html_url":"https://github.com/mobify/stencil-breadcrumbs/pull/1","diff_url":"https://github.com/mobify/stencil-breadcrumbs/pull/1.diff","patch_url":"https://github.com/mobify/stencil-breadcrumbs/pull/1.patch","issue_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/1","number":1,"state":"open","locked":false,"title":"Breadcrumbs Stencil for Stencil 2.0","user":{"login":"cole-sanderson","id":5376326,"avatar_url":"https://avatars.githubusercontent.com/u/5376326?v=3","gravatar_id":"","url":"https://api.github.com/users/cole-sanderson","html_url":"https://github.com/cole-sanderson","followers_url":"https://api.github.com/users/cole-sanderson/followers","following_url":"https://api.github.com/users/cole-sanderson/following{/other_user}","gists_url":"https://api.github.com/users/cole-sanderson/gists{/gist_id}","starred_url":"https://api.github.com/users/cole-sanderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cole-sanderson/subscriptions","organizations_url":"https://api.github.com/users/cole-sanderson/orgs","repos_url":"https://api.github.com/users/cole-sanderson/repos","events_url":"https://api.github.com/users/cole-sanderson/events{/privacy}","received_events_url":"https://api.github.com/users/cole-sanderson/received_events","type":"User","site_admin":false},"body":"Status: **Ready for Review**\r\nOwner: @cole-sanderson\r\nReviewers: @jeffkamo @avelinet @mlworks @yourpalsonja @nastiatikk @ry5n\r\n\r\n## Jira Ticket:\r\n[STEN-11](https://mobify.atlassian.net/browse/STEN-11)\r\n\r\n## Todos:\r\n- [ ] Engineer +1\r\n- [ ] Designer +1\r\n\r\n### Feedback:\r\n_none so far_\r\n\r\n## How to Test\r\n- read in README for how to test ","created_at":"2015-07-31T22:21:00Z","updated_at":"2015-08-03T00:25:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2b161026937a580b96516a102db7b25412a35c6b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1/commits","review_comments_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1/comments","review_comment_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/1/comments","statuses_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/statuses/01d6119d9e4b42ff351af11c69fd9b6111084a4a","head":{"label":"mobify:dev-2.0","ref":"dev-2.0","sha":"01d6119d9e4b42ff351af11c69fd9b6111084a4a","user":{"login":"mobify","id":73539,"avatar_url":"https://avatars.githubusercontent.com/u/73539?v=3","gravatar_id":"","url":"https://api.github.com/users/mobify","html_url":"https://github.com/mobify","followers_url":"https://api.github.com/users/mobify/followers","following_url":"https://api.github.com/users/mobify/following{/other_user}","gists_url":"https://api.github.com/users/mobify/gists{/gist_id}","starred_url":"https://api.github.com/users/mobify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobify/subscriptions","organizations_url":"https://api.github.com/users/mobify/orgs","repos_url":"https://api.github.com/users/mobify/repos","events_url":"https://api.github.com/users/mobify/events{/privacy}","received_events_url":"https://api.github.com/users/mobify/received_events","type":"Organization","site_admin":false},"repo":{"id":34354246,"name":"stencil-breadcrumbs","full_name":"mobify/stencil-breadcrumbs","owner":{"login":"mobify","id":73539,"avatar_url":"https://avatars.githubusercontent.com/u/73539?v=3","gravatar_id":"","url":"https://api.github.com/users/mobify","html_url":"https://github.com/mobify","followers_url":"https://api.github.com/users/mobify/followers","following_url":"https://api.github.com/users/mobify/following{/other_user}","gists_url":"https://api.github.com/users/mobify/gists{/gist_id}","starred_url":"https://api.github.com/users/mobify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobify/subscriptions","organizations_url":"https://api.github.com/users/mobify/orgs","repos_url":"https://api.github.com/users/mobify/repos","events_url":"https://api.github.com/users/mobify/events{/privacy}","received_events_url":"https://api.github.com/users/mobify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mobify/stencil-breadcrumbs","description":"A breadcrumb component for Stencil","fork":false,"url":"https://api.github.com/repos/mobify/stencil-breadcrumbs","forks_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/forks","keys_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/teams","hooks_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/hooks","issue_events_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/events{/number}","events_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/events","assignees_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/assignees{/user}","branches_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/branches{/branch}","tags_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/tags","blobs_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/statuses/{sha}","languages_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/languages","stargazers_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/stargazers","contributors_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/contributors","subscribers_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/subscribers","subscription_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/subscription","commits_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/contents/{+path}","compare_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/merges","archive_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/downloads","issues_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues{/number}","pulls_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls{/number}","milestones_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/milestones{/number}","notifications_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/labels{/name}","releases_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/releases{/id}","created_at":"2015-04-21T21:55:17Z","updated_at":"2015-07-23T19:48:17Z","pushed_at":"2015-07-31T22:33:34Z","git_url":"git://github.com/mobify/stencil-breadcrumbs.git","ssh_url":"git@github.com:mobify/stencil-breadcrumbs.git","clone_url":"https://github.com/mobify/stencil-breadcrumbs.git","svn_url":"https://github.com/mobify/stencil-breadcrumbs","homepage":null,"size":480,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"mobify:master","ref":"master","sha":"b301700b31210ddaf6de253983442d0bcb04c46a","user":{"login":"mobify","id":73539,"avatar_url":"https://avatars.githubusercontent.com/u/73539?v=3","gravatar_id":"","url":"https://api.github.com/users/mobify","html_url":"https://github.com/mobify","followers_url":"https://api.github.com/users/mobify/followers","following_url":"https://api.github.com/users/mobify/following{/other_user}","gists_url":"https://api.github.com/users/mobify/gists{/gist_id}","starred_url":"https://api.github.com/users/mobify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobify/subscriptions","organizations_url":"https://api.github.com/users/mobify/orgs","repos_url":"https://api.github.com/users/mobify/repos","events_url":"https://api.github.com/users/mobify/events{/privacy}","received_events_url":"https://api.github.com/users/mobify/received_events","type":"Organization","site_admin":false},"repo":{"id":34354246,"name":"stencil-breadcrumbs","full_name":"mobify/stencil-breadcrumbs","owner":{"login":"mobify","id":73539,"avatar_url":"https://avatars.githubusercontent.com/u/73539?v=3","gravatar_id":"","url":"https://api.github.com/users/mobify","html_url":"https://github.com/mobify","followers_url":"https://api.github.com/users/mobify/followers","following_url":"https://api.github.com/users/mobify/following{/other_user}","gists_url":"https://api.github.com/users/mobify/gists{/gist_id}","starred_url":"https://api.github.com/users/mobify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobify/subscriptions","organizations_url":"https://api.github.com/users/mobify/orgs","repos_url":"https://api.github.com/users/mobify/repos","events_url":"https://api.github.com/users/mobify/events{/privacy}","received_events_url":"https://api.github.com/users/mobify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mobify/stencil-breadcrumbs","description":"A breadcrumb component for Stencil","fork":false,"url":"https://api.github.com/repos/mobify/stencil-breadcrumbs","forks_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/forks","keys_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/teams","hooks_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/hooks","issue_events_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/events{/number}","events_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/events","assignees_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/assignees{/user}","branches_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/branches{/branch}","tags_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/tags","blobs_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/refs{/sha}","trees_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/statuses/{sha}","languages_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/languages","stargazers_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/stargazers","contributors_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/contributors","subscribers_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/subscribers","subscription_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/subscription","commits_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/commits{/sha}","git_commits_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/git/commits{/sha}","comments_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/comments{/number}","issue_comment_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/comments{/number}","contents_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/contents/{+path}","compare_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/merges","archive_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/downloads","issues_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues{/number}","pulls_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls{/number}","milestones_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/milestones{/number}","notifications_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/labels{/name}","releases_url":"https://api.github.com/repos/mobify/stencil-breadcrumbs/releases{/id}","created_at":"2015-04-21T21:55:17Z","updated_at":"2015-07-23T19:48:17Z","pushed_at":"2015-07-31T22:33:34Z","git_url":"git://github.com/mobify/stencil-breadcrumbs.git","ssh_url":"git@github.com:mobify/stencil-breadcrumbs.git","clone_url":"https://github.com/mobify/stencil-breadcrumbs.git","svn_url":"https://github.com/mobify/stencil-breadcrumbs","homepage":null,"size":480,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1"},"html":{"href":"https://github.com/mobify/stencil-breadcrumbs/pull/1"},"issue":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/1"},"comments":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/mobify/stencil-breadcrumbs/statuses/01d6119d9e4b42ff351af11c69fd9b6111084a4a"}}}}