{"action":"created","comment":{"url":"https://api.github.com/repos/sourcejs/Source/pulls/comments/56770092","id":56770092,"diff_hunk":"@@ -0,0 +1,48 @@\n+/* Breadcrumb\n+-------------------------------------------------- */\n+\n+.source_breadcrumb {\n+    display: block;\n+    vertical-align: 1px;\n+    background: #f1f2f3;\n+    margin: 0 -25px;\n+    padding: 10px 25px;\n+\n+    white-space: nowrap;\n+    overflow: hidden;\n+    overflow-x: auto;\n+    -webkit-overflow-scrolling: touch;\n+}\n+\n+.source_breadcrumb_lst {\n+    margin: 0;\n+    padding: 0;\n+    list-style: none;\n+}\n+\n+.source_breadcrumb_lst > * {","path":"assets/css/project/breadcrumb.less","position":23,"original_position":23,"commit_id":"85a95dde10c544079bf6d7e8a492220a3050585c","original_commit_id":"85a95dde10c544079bf6d7e8a492220a3050585c","user":{"login":"operatino","id":1260461,"avatar_url":"https://avatars.githubusercontent.com/u/1260461?v=3","gravatar_id":"","url":"https://api.github.com/users/operatino","html_url":"https://github.com/operatino","followers_url":"https://api.github.com/users/operatino/followers","following_url":"https://api.github.com/users/operatino/following{/other_user}","gists_url":"https://api.github.com/users/operatino/gists{/gist_id}","starred_url":"https://api.github.com/users/operatino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/operatino/subscriptions","organizations_url":"https://api.github.com/users/operatino/orgs","repos_url":"https://api.github.com/users/operatino/repos","events_url":"https://api.github.com/users/operatino/events{/privacy}","received_events_url":"https://api.github.com/users/operatino/received_events","type":"User","site_admin":false},"body":"please use more specific classnames - `.source_breadcrumb_i {}`","created_at":"2016-03-20T19:19:38Z","updated_at":"2016-03-20T19:19:38Z","html_url":"https://github.com/sourcejs/Source/pull/202#discussion_r56770092","pull_request_url":"https://api.github.com/repos/sourcejs/Source/pulls/202","_links":{"self":{"href":"https://api.github.com/repos/sourcejs/Source/pulls/comments/56770092"},"html":{"href":"https://github.com/sourcejs/Source/pull/202#discussion_r56770092"},"pull_request":{"href":"https://api.github.com/repos/sourcejs/Source/pulls/202"}}},"pull_request":{"url":"https://api.github.com/repos/sourcejs/Source/pulls/202","id":61842892,"html_url":"https://github.com/sourcejs/Source/pull/202","diff_url":"https://github.com/sourcejs/Source/pull/202.diff","patch_url":"https://github.com/sourcejs/Source/pull/202.patch","issue_url":"https://api.github.com/repos/sourcejs/Source/issues/202","number":202,"state":"open","locked":false,"title":"Ndelangen/breadcrumb in header","user":{"login":"ndelangen","id":3070389,"avatar_url":"https://avatars.githubusercontent.com/u/3070389?v=3","gravatar_id":"","url":"https://api.github.com/users/ndelangen","html_url":"https://github.com/ndelangen","followers_url":"https://api.github.com/users/ndelangen/followers","following_url":"https://api.github.com/users/ndelangen/following{/other_user}","gists_url":"https://api.github.com/users/ndelangen/gists{/gist_id}","starred_url":"https://api.github.com/users/ndelangen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndelangen/subscriptions","organizations_url":"https://api.github.com/users/ndelangen/orgs","repos_url":"https://api.github.com/users/ndelangen/repos","events_url":"https://api.github.com/users/ndelangen/events{/privacy}","received_events_url":"https://api.github.com/users/ndelangen/received_events","type":"User","site_admin":false},"body":"I'm trying to write a custom middleware for adding breadcrumbs on sourceJS pages.\r\n\r\nI've not been able to make it work so far, I'll need some help @operatino .\r\nIt's broken at the moment.\r\n\r\nWhat I think is going on: the same EJS-template is attempted to be rendered, once with part A of the data (head, header, footer), and a second time with breadcrumbs. But the first time EJS exits with an error: It cannot resolve 'breadcrumb'.\r\n\r\n```\r\nbreadcrumb is not defined\r\n    at eval (eval at <anonymous> (/sourcejs/node_modules/ejs/lib/ejs.js:495:12), <anonymous>:32:16)\r\n    at returnedFn (/sourcejs/node_modules/ejs/lib/ejs.js:524:17)\r\n    at exports.render (/sourcejs/node_modules/ejs/lib/ejs.js:345:37)\r\n    at Object.ejs.render (/sourcejs/core/ejsWithHelpers.js:147:12)\r\n    at /sourcejs/core/middlewares/wrap.js:116:49\r\n    at /sourcejs/node_modules/graceful-fs/graceful-fs.js:76:16\r\n    at tryToString (fs.js:414:3)\r\n    at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:401:12)\r\nIs there some option for EJS to ignore parts that it cannot resolve? And have it render the output of the earlier render with new data? I doubt this is intended use of EJS.\r\n```\r\n\r\nIf you see some way of making this work, that be awesome! I'd be happy to continue working on this when I know how to continue.","created_at":"2016-03-06T13:36:19Z","updated_at":"2016-03-20T19:19:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c88dcc4c05eff43828b2235678ef85705894f602","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sourcejs/Source/pulls/202/commits","review_comments_url":"https://api.github.com/repos/sourcejs/Source/pulls/202/comments","review_comment_url":"https://api.github.com/repos/sourcejs/Source/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcejs/Source/issues/202/comments","statuses_url":"https://api.github.com/repos/sourcejs/Source/statuses/85a95dde10c544079bf6d7e8a492220a3050585c","head":{"label":"ndelangen:ndelangen/breadcrumb-in-header","ref":"ndelangen/breadcrumb-in-header","sha":"85a95dde10c544079bf6d7e8a492220a3050585c","user":{"login":"ndelangen","id":3070389,"avatar_url":"https://avatars.githubusercontent.com/u/3070389?v=3","gravatar_id":"","url":"https://api.github.com/users/ndelangen","html_url":"https://github.com/ndelangen","followers_url":"https://api.github.com/users/ndelangen/followers","following_url":"https://api.github.com/users/ndelangen/following{/other_user}","gists_url":"https://api.github.com/users/ndelangen/gists{/gist_id}","starred_url":"https://api.github.com/users/ndelangen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndelangen/subscriptions","organizations_url":"https://api.github.com/users/ndelangen/orgs","repos_url":"https://api.github.com/users/ndelangen/repos","events_url":"https://api.github.com/users/ndelangen/events{/privacy}","received_events_url":"https://api.github.com/users/ndelangen/received_events","type":"User","site_admin":false},"repo":{"id":49809219,"name":"sourcejs-Source","full_name":"ndelangen/sourcejs-Source","owner":{"login":"ndelangen","id":3070389,"avatar_url":"https://avatars.githubusercontent.com/u/3070389?v=3","gravatar_id":"","url":"https://api.github.com/users/ndelangen","html_url":"https://github.com/ndelangen","followers_url":"https://api.github.com/users/ndelangen/followers","following_url":"https://api.github.com/users/ndelangen/following{/other_user}","gists_url":"https://api.github.com/users/ndelangen/gists{/gist_id}","starred_url":"https://api.github.com/users/ndelangen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ndelangen/subscriptions","organizations_url":"https://api.github.com/users/ndelangen/orgs","repos_url":"https://api.github.com/users/ndelangen/repos","events_url":"https://api.github.com/users/ndelangen/events{/privacy}","received_events_url":"https://api.github.com/users/ndelangen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ndelangen/sourcejs-Source","description":"Living Style Guides Engine and Maintenance Environment for Front-end Components. Core repository.","fork":true,"url":"https://api.github.com/repos/ndelangen/sourcejs-Source","forks_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/forks","keys_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/teams","hooks_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/hooks","issue_events_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/issues/events{/number}","events_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/events","assignees_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/assignees{/user}","branches_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/branches{/branch}","tags_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/tags","blobs_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/git/refs{/sha}","trees_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/statuses/{sha}","languages_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/languages","stargazers_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/stargazers","contributors_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/contributors","subscribers_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/subscribers","subscription_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/subscription","commits_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/commits{/sha}","git_commits_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/git/commits{/sha}","comments_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/comments{/number}","issue_comment_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/issues/comments{/number}","contents_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/contents/{+path}","compare_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/merges","archive_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/downloads","issues_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/issues{/number}","pulls_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/pulls{/number}","milestones_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/milestones{/number}","notifications_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/labels{/name}","releases_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/releases{/id}","deployments_url":"https://api.github.com/repos/ndelangen/sourcejs-Source/deployments","created_at":"2016-01-17T08:31:14Z","updated_at":"2016-01-17T08:46:25Z","pushed_at":"2016-03-13T23:54:51Z","git_url":"git://github.com/ndelangen/sourcejs-Source.git","ssh_url":"git@github.com:ndelangen/sourcejs-Source.git","clone_url":"https://github.com/ndelangen/sourcejs-Source.git","svn_url":"https://github.com/ndelangen/sourcejs-Source","homepage":"http://sourcejs.com","size":13779,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"sourcejs:0.6.0-dev","ref":"0.6.0-dev","sha":"5f91c7fce516bee0a00f3708556c6e26dfd4f6e6","user":{"login":"sourcejs","id":3853046,"avatar_url":"https://avatars.githubusercontent.com/u/3853046?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcejs","html_url":"https://github.com/sourcejs","followers_url":"https://api.github.com/users/sourcejs/followers","following_url":"https://api.github.com/users/sourcejs/following{/other_user}","gists_url":"https://api.github.com/users/sourcejs/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcejs/subscriptions","organizations_url":"https://api.github.com/users/sourcejs/orgs","repos_url":"https://api.github.com/users/sourcejs/repos","events_url":"https://api.github.com/users/sourcejs/events{/privacy}","received_events_url":"https://api.github.com/users/sourcejs/received_events","type":"Organization","site_admin":false},"repo":{"id":9578262,"name":"Source","full_name":"sourcejs/Source","owner":{"login":"sourcejs","id":3853046,"avatar_url":"https://avatars.githubusercontent.com/u/3853046?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcejs","html_url":"https://github.com/sourcejs","followers_url":"https://api.github.com/users/sourcejs/followers","following_url":"https://api.github.com/users/sourcejs/following{/other_user}","gists_url":"https://api.github.com/users/sourcejs/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcejs/subscriptions","organizations_url":"https://api.github.com/users/sourcejs/orgs","repos_url":"https://api.github.com/users/sourcejs/repos","events_url":"https://api.github.com/users/sourcejs/events{/privacy}","received_events_url":"https://api.github.com/users/sourcejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcejs/Source","description":"Living Style Guides Engine and Maintenance Environment for Front-end Components. Core repository.","fork":false,"url":"https://api.github.com/repos/sourcejs/Source","forks_url":"https://api.github.com/repos/sourcejs/Source/forks","keys_url":"https://api.github.com/repos/sourcejs/Source/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcejs/Source/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcejs/Source/teams","hooks_url":"https://api.github.com/repos/sourcejs/Source/hooks","issue_events_url":"https://api.github.com/repos/sourcejs/Source/issues/events{/number}","events_url":"https://api.github.com/repos/sourcejs/Source/events","assignees_url":"https://api.github.com/repos/sourcejs/Source/assignees{/user}","branches_url":"https://api.github.com/repos/sourcejs/Source/branches{/branch}","tags_url":"https://api.github.com/repos/sourcejs/Source/tags","blobs_url":"https://api.github.com/repos/sourcejs/Source/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcejs/Source/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcejs/Source/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcejs/Source/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcejs/Source/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcejs/Source/languages","stargazers_url":"https://api.github.com/repos/sourcejs/Source/stargazers","contributors_url":"https://api.github.com/repos/sourcejs/Source/contributors","subscribers_url":"https://api.github.com/repos/sourcejs/Source/subscribers","subscription_url":"https://api.github.com/repos/sourcejs/Source/subscription","commits_url":"https://api.github.com/repos/sourcejs/Source/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcejs/Source/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcejs/Source/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcejs/Source/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcejs/Source/contents/{+path}","compare_url":"https://api.github.com/repos/sourcejs/Source/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcejs/Source/merges","archive_url":"https://api.github.com/repos/sourcejs/Source/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcejs/Source/downloads","issues_url":"https://api.github.com/repos/sourcejs/Source/issues{/number}","pulls_url":"https://api.github.com/repos/sourcejs/Source/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcejs/Source/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcejs/Source/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcejs/Source/labels{/name}","releases_url":"https://api.github.com/repos/sourcejs/Source/releases{/id}","deployments_url":"https://api.github.com/repos/sourcejs/Source/deployments","created_at":"2013-04-21T11:05:02Z","updated_at":"2016-03-19T10:45:35Z","pushed_at":"2016-03-20T19:06:21Z","git_url":"git://github.com/sourcejs/Source.git","ssh_url":"git@github.com:sourcejs/Source.git","clone_url":"https://github.com/sourcejs/Source.git","svn_url":"https://github.com/sourcejs/Source","homepage":"http://sourcejs.com","size":13954,"stargazers_count":448,"watchers_count":448,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":44,"mirror_url":null,"open_issues_count":49,"forks":44,"open_issues":49,"watchers":448,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcejs/Source/pulls/202"},"html":{"href":"https://github.com/sourcejs/Source/pull/202"},"issue":{"href":"https://api.github.com/repos/sourcejs/Source/issues/202"},"comments":{"href":"https://api.github.com/repos/sourcejs/Source/issues/202/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcejs/Source/pulls/202/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcejs/Source/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcejs/Source/pulls/202/commits"},"statuses":{"href":"https://api.github.com/repos/sourcejs/Source/statuses/85a95dde10c544079bf6d7e8a492220a3050585c"}}}}