{"action":"closed","number":1397,"pull_request":{"url":"https://api.github.com/repos/jadejs/jade/pulls/1397","id":11879260,"html_url":"https://github.com/jadejs/jade/pull/1397","diff_url":"https://github.com/jadejs/jade/pull/1397.diff","patch_url":"https://github.com/jadejs/jade/pull/1397.patch","issue_url":"https://api.github.com/repos/jadejs/jade/issues/1397","number":1397,"state":"closed","locked":false,"title":"Adds a new `context` keyword.","user":{"login":"timmfin","id":60455,"avatar_url":"https://avatars.githubusercontent.com/u/60455?v=3","gravatar_id":"","url":"https://api.github.com/users/timmfin","html_url":"https://github.com/timmfin","followers_url":"https://api.github.com/users/timmfin/followers","following_url":"https://api.github.com/users/timmfin/following{/other_user}","gists_url":"https://api.github.com/users/timmfin/gists{/gist_id}","starred_url":"https://api.github.com/users/timmfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmfin/subscriptions","organizations_url":"https://api.github.com/users/timmfin/orgs","repos_url":"https://api.github.com/users/timmfin/repos","events_url":"https://api.github.com/users/timmfin/events{/privacy}","received_events_url":"https://api.github.com/users/timmfin/received_events","type":"User","site_admin":false},"body":"It is similar to `include`, but instead of including the passed file's contents into the buffered output, the file's content is inserted directly into the compiled template code. This allows you to insert arbitrary javascript into the context of the template, such as JSON data, a bunch of helper javascript functions, etc.\r\n\r\nThis is particularly useful for things like static site generators that do not have some server middleware to pass in `locals` to the jade template.","created_at":"2014-01-26T02:29:37Z","updated_at":"2015-01-21T10:02:49Z","closed_at":"2015-01-21T10:02:49Z","merged_at":null,"merge_commit_sha":"73d6926d7dcb425a817de4764d00e29c1d18cbbb","assignee":null,"milestone":{"url":"https://api.github.com/repos/jadejs/jade/milestones/2","labels_url":"https://api.github.com/repos/jadejs/jade/milestones/2/labels","id":558592,"number":2,"title":"2.0.0","description":null,"creator":{"login":"ForbesLindesay","id":1260646,"avatar_url":"https://avatars.githubusercontent.com/u/1260646?v=3","gravatar_id":"","url":"https://api.github.com/users/ForbesLindesay","html_url":"https://github.com/ForbesLindesay","followers_url":"https://api.github.com/users/ForbesLindesay/followers","following_url":"https://api.github.com/users/ForbesLindesay/following{/other_user}","gists_url":"https://api.github.com/users/ForbesLindesay/gists{/gist_id}","starred_url":"https://api.github.com/users/ForbesLindesay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForbesLindesay/subscriptions","organizations_url":"https://api.github.com/users/ForbesLindesay/orgs","repos_url":"https://api.github.com/users/ForbesLindesay/repos","events_url":"https://api.github.com/users/ForbesLindesay/events{/privacy}","received_events_url":"https://api.github.com/users/ForbesLindesay/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":5,"state":"open","created_at":"2014-02-04T15:26:30Z","updated_at":"2015-01-21T10:02:49Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/jadejs/jade/pulls/1397/commits","review_comments_url":"https://api.github.com/repos/jadejs/jade/pulls/1397/comments","review_comment_url":"https://api.github.com/repos/jadejs/jade/pulls/comments/{number}","comments_url":"https://api.github.com/repos/jadejs/jade/issues/1397/comments","statuses_url":"https://api.github.com/repos/jadejs/jade/statuses/0dd4d91394e9b304cdfd004659ded5963f5daaea","head":{"label":"timmfin:context-keyword","ref":"context-keyword","sha":"0dd4d91394e9b304cdfd004659ded5963f5daaea","user":{"login":"timmfin","id":60455,"avatar_url":"https://avatars.githubusercontent.com/u/60455?v=3","gravatar_id":"","url":"https://api.github.com/users/timmfin","html_url":"https://github.com/timmfin","followers_url":"https://api.github.com/users/timmfin/followers","following_url":"https://api.github.com/users/timmfin/following{/other_user}","gists_url":"https://api.github.com/users/timmfin/gists{/gist_id}","starred_url":"https://api.github.com/users/timmfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmfin/subscriptions","organizations_url":"https://api.github.com/users/timmfin/orgs","repos_url":"https://api.github.com/users/timmfin/repos","events_url":"https://api.github.com/users/timmfin/events{/privacy}","received_events_url":"https://api.github.com/users/timmfin/received_events","type":"User","site_admin":false},"repo":{"id":11964838,"name":"jade","full_name":"timmfin/jade","owner":{"login":"timmfin","id":60455,"avatar_url":"https://avatars.githubusercontent.com/u/60455?v=3","gravatar_id":"","url":"https://api.github.com/users/timmfin","html_url":"https://github.com/timmfin","followers_url":"https://api.github.com/users/timmfin/followers","following_url":"https://api.github.com/users/timmfin/following{/other_user}","gists_url":"https://api.github.com/users/timmfin/gists{/gist_id}","starred_url":"https://api.github.com/users/timmfin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timmfin/subscriptions","organizations_url":"https://api.github.com/users/timmfin/orgs","repos_url":"https://api.github.com/users/timmfin/repos","events_url":"https://api.github.com/users/timmfin/events{/privacy}","received_events_url":"https://api.github.com/users/timmfin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timmfin/jade","description":"Jade - robust, elegant, feature rich template engine for nodejs","fork":true,"url":"https://api.github.com/repos/timmfin/jade","forks_url":"https://api.github.com/repos/timmfin/jade/forks","keys_url":"https://api.github.com/repos/timmfin/jade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timmfin/jade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timmfin/jade/teams","hooks_url":"https://api.github.com/repos/timmfin/jade/hooks","issue_events_url":"https://api.github.com/repos/timmfin/jade/issues/events{/number}","events_url":"https://api.github.com/repos/timmfin/jade/events","assignees_url":"https://api.github.com/repos/timmfin/jade/assignees{/user}","branches_url":"https://api.github.com/repos/timmfin/jade/branches{/branch}","tags_url":"https://api.github.com/repos/timmfin/jade/tags","blobs_url":"https://api.github.com/repos/timmfin/jade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timmfin/jade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timmfin/jade/git/refs{/sha}","trees_url":"https://api.github.com/repos/timmfin/jade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timmfin/jade/statuses/{sha}","languages_url":"https://api.github.com/repos/timmfin/jade/languages","stargazers_url":"https://api.github.com/repos/timmfin/jade/stargazers","contributors_url":"https://api.github.com/repos/timmfin/jade/contributors","subscribers_url":"https://api.github.com/repos/timmfin/jade/subscribers","subscription_url":"https://api.github.com/repos/timmfin/jade/subscription","commits_url":"https://api.github.com/repos/timmfin/jade/commits{/sha}","git_commits_url":"https://api.github.com/repos/timmfin/jade/git/commits{/sha}","comments_url":"https://api.github.com/repos/timmfin/jade/comments{/number}","issue_comment_url":"https://api.github.com/repos/timmfin/jade/issues/comments/{number}","contents_url":"https://api.github.com/repos/timmfin/jade/contents/{+path}","compare_url":"https://api.github.com/repos/timmfin/jade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timmfin/jade/merges","archive_url":"https://api.github.com/repos/timmfin/jade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timmfin/jade/downloads","issues_url":"https://api.github.com/repos/timmfin/jade/issues{/number}","pulls_url":"https://api.github.com/repos/timmfin/jade/pulls{/number}","milestones_url":"https://api.github.com/repos/timmfin/jade/milestones{/number}","notifications_url":"https://api.github.com/repos/timmfin/jade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timmfin/jade/labels{/name}","releases_url":"https://api.github.com/repos/timmfin/jade/releases{/id}","created_at":"2013-08-08T01:39:56Z","updated_at":"2014-10-21T15:44:54Z","pushed_at":"2014-09-02T00:53:28Z","git_url":"git://github.com/timmfin/jade.git","ssh_url":"git@github.com:timmfin/jade.git","clone_url":"https://github.com/timmfin/jade.git","svn_url":"https://github.com/timmfin/jade","homepage":"http://jade-lang.com","size":4204,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jadejs:master","ref":"master","sha":"95dbc1254bb6c9f238ff810489348e9fe9580a50","user":{"login":"jadejs","id":9338635,"avatar_url":"https://avatars.githubusercontent.com/u/9338635?v=3","gravatar_id":"","url":"https://api.github.com/users/jadejs","html_url":"https://github.com/jadejs","followers_url":"https://api.github.com/users/jadejs/followers","following_url":"https://api.github.com/users/jadejs/following{/other_user}","gists_url":"https://api.github.com/users/jadejs/gists{/gist_id}","starred_url":"https://api.github.com/users/jadejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadejs/subscriptions","organizations_url":"https://api.github.com/users/jadejs/orgs","repos_url":"https://api.github.com/users/jadejs/repos","events_url":"https://api.github.com/users/jadejs/events{/privacy}","received_events_url":"https://api.github.com/users/jadejs/received_events","type":"Organization","site_admin":false},"repo":{"id":734934,"name":"jade","full_name":"jadejs/jade","owner":{"login":"jadejs","id":9338635,"avatar_url":"https://avatars.githubusercontent.com/u/9338635?v=3","gravatar_id":"","url":"https://api.github.com/users/jadejs","html_url":"https://github.com/jadejs","followers_url":"https://api.github.com/users/jadejs/followers","following_url":"https://api.github.com/users/jadejs/following{/other_user}","gists_url":"https://api.github.com/users/jadejs/gists{/gist_id}","starred_url":"https://api.github.com/users/jadejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadejs/subscriptions","organizations_url":"https://api.github.com/users/jadejs/orgs","repos_url":"https://api.github.com/users/jadejs/repos","events_url":"https://api.github.com/users/jadejs/events{/privacy}","received_events_url":"https://api.github.com/users/jadejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jadejs/jade","description":"Jade - robust, elegant, feature rich template engine for nodejs","fork":false,"url":"https://api.github.com/repos/jadejs/jade","forks_url":"https://api.github.com/repos/jadejs/jade/forks","keys_url":"https://api.github.com/repos/jadejs/jade/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jadejs/jade/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jadejs/jade/teams","hooks_url":"https://api.github.com/repos/jadejs/jade/hooks","issue_events_url":"https://api.github.com/repos/jadejs/jade/issues/events{/number}","events_url":"https://api.github.com/repos/jadejs/jade/events","assignees_url":"https://api.github.com/repos/jadejs/jade/assignees{/user}","branches_url":"https://api.github.com/repos/jadejs/jade/branches{/branch}","tags_url":"https://api.github.com/repos/jadejs/jade/tags","blobs_url":"https://api.github.com/repos/jadejs/jade/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jadejs/jade/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jadejs/jade/git/refs{/sha}","trees_url":"https://api.github.com/repos/jadejs/jade/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jadejs/jade/statuses/{sha}","languages_url":"https://api.github.com/repos/jadejs/jade/languages","stargazers_url":"https://api.github.com/repos/jadejs/jade/stargazers","contributors_url":"https://api.github.com/repos/jadejs/jade/contributors","subscribers_url":"https://api.github.com/repos/jadejs/jade/subscribers","subscription_url":"https://api.github.com/repos/jadejs/jade/subscription","commits_url":"https://api.github.com/repos/jadejs/jade/commits{/sha}","git_commits_url":"https://api.github.com/repos/jadejs/jade/git/commits{/sha}","comments_url":"https://api.github.com/repos/jadejs/jade/comments{/number}","issue_comment_url":"https://api.github.com/repos/jadejs/jade/issues/comments/{number}","contents_url":"https://api.github.com/repos/jadejs/jade/contents/{+path}","compare_url":"https://api.github.com/repos/jadejs/jade/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jadejs/jade/merges","archive_url":"https://api.github.com/repos/jadejs/jade/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jadejs/jade/downloads","issues_url":"https://api.github.com/repos/jadejs/jade/issues{/number}","pulls_url":"https://api.github.com/repos/jadejs/jade/pulls{/number}","milestones_url":"https://api.github.com/repos/jadejs/jade/milestones{/number}","notifications_url":"https://api.github.com/repos/jadejs/jade/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jadejs/jade/labels{/name}","releases_url":"https://api.github.com/repos/jadejs/jade/releases{/id}","created_at":"2010-06-23T01:05:42Z","updated_at":"2015-01-21T01:20:01Z","pushed_at":"2015-01-20T05:37:36Z","git_url":"git://github.com/jadejs/jade.git","ssh_url":"git@github.com:jadejs/jade.git","clone_url":"https://github.com/jadejs/jade.git","svn_url":"https://github.com/jadejs/jade","homepage":"http://jade-lang.com","size":18147,"stargazers_count":7796,"watchers_count":7796,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1209,"mirror_url":null,"open_issues_count":89,"forks":1209,"open_issues":89,"watchers":7796,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jadejs/jade/pulls/1397"},"html":{"href":"https://github.com/jadejs/jade/pull/1397"},"issue":{"href":"https://api.github.com/repos/jadejs/jade/issues/1397"},"comments":{"href":"https://api.github.com/repos/jadejs/jade/issues/1397/comments"},"review_comments":{"href":"https://api.github.com/repos/jadejs/jade/pulls/1397/comments"},"review_comment":{"href":"https://api.github.com/repos/jadejs/jade/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/jadejs/jade/pulls/1397/commits"},"statuses":{"href":"https://api.github.com/repos/jadejs/jade/statuses/0dd4d91394e9b304cdfd004659ded5963f5daaea"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":21,"review_comments":2,"commits":2,"additions":76,"deletions":1,"changed_files":10}}