{"action":"opened","number":546,"pull_request":{"url":"https://api.github.com/repos/mozilla/nunjucks/pulls/546","id":46849295,"html_url":"https://github.com/mozilla/nunjucks/pull/546","diff_url":"https://github.com/mozilla/nunjucks/pull/546.diff","patch_url":"https://github.com/mozilla/nunjucks/pull/546.patch","issue_url":"https://api.github.com/repos/mozilla/nunjucks/issues/546","number":546,"state":"open","locked":false,"title":"Fixed sudden \"Cannot read property '...'  of undefined\"","user":{"login":"umaxfun","id":521752,"avatar_url":"https://avatars.githubusercontent.com/u/521752?v=3","gravatar_id":"","url":"https://api.github.com/users/umaxfun","html_url":"https://github.com/umaxfun","followers_url":"https://api.github.com/users/umaxfun/followers","following_url":"https://api.github.com/users/umaxfun/following{/other_user}","gists_url":"https://api.github.com/users/umaxfun/gists{/gist_id}","starred_url":"https://api.github.com/users/umaxfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umaxfun/subscriptions","organizations_url":"https://api.github.com/users/umaxfun/orgs","repos_url":"https://api.github.com/users/umaxfun/repos","events_url":"https://api.github.com/users/umaxfun/events{/privacy}","received_events_url":"https://api.github.com/users/umaxfun/received_events","type":"User","site_admin":false},"body":"Without this line I always have an exception:\r\nTypeError: Cannot read property '<name of html template>' of undefined\r\n    at Obj.extend.getTemplate (/Users/.../node_modules/nunjucks/src/environment.js:179:41)\r\n    at Obj.extend.render (/Users/.../node_modules/nunjucks/src/environment.js:289:14)\r\n    at Object.module.exports.render (/Users/.../node_modules/nunjucks/index.js:71:14)\r\n...\r\n","created_at":"2015-10-06T00:03:47Z","updated_at":"2015-10-06T00:03:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/nunjucks/pulls/546/commits","review_comments_url":"https://api.github.com/repos/mozilla/nunjucks/pulls/546/comments","review_comment_url":"https://api.github.com/repos/mozilla/nunjucks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/nunjucks/issues/546/comments","statuses_url":"https://api.github.com/repos/mozilla/nunjucks/statuses/4ea5924e9243f34c881316cc2edb59f82a83e94d","head":{"label":"umaxfun:master","ref":"master","sha":"4ea5924e9243f34c881316cc2edb59f82a83e94d","user":{"login":"umaxfun","id":521752,"avatar_url":"https://avatars.githubusercontent.com/u/521752?v=3","gravatar_id":"","url":"https://api.github.com/users/umaxfun","html_url":"https://github.com/umaxfun","followers_url":"https://api.github.com/users/umaxfun/followers","following_url":"https://api.github.com/users/umaxfun/following{/other_user}","gists_url":"https://api.github.com/users/umaxfun/gists{/gist_id}","starred_url":"https://api.github.com/users/umaxfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umaxfun/subscriptions","organizations_url":"https://api.github.com/users/umaxfun/orgs","repos_url":"https://api.github.com/users/umaxfun/repos","events_url":"https://api.github.com/users/umaxfun/events{/privacy}","received_events_url":"https://api.github.com/users/umaxfun/received_events","type":"User","site_admin":false},"repo":{"id":43719831,"name":"nunjucks","full_name":"umaxfun/nunjucks","owner":{"login":"umaxfun","id":521752,"avatar_url":"https://avatars.githubusercontent.com/u/521752?v=3","gravatar_id":"","url":"https://api.github.com/users/umaxfun","html_url":"https://github.com/umaxfun","followers_url":"https://api.github.com/users/umaxfun/followers","following_url":"https://api.github.com/users/umaxfun/following{/other_user}","gists_url":"https://api.github.com/users/umaxfun/gists{/gist_id}","starred_url":"https://api.github.com/users/umaxfun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umaxfun/subscriptions","organizations_url":"https://api.github.com/users/umaxfun/orgs","repos_url":"https://api.github.com/users/umaxfun/repos","events_url":"https://api.github.com/users/umaxfun/events{/privacy}","received_events_url":"https://api.github.com/users/umaxfun/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umaxfun/nunjucks","description":"A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)","fork":true,"url":"https://api.github.com/repos/umaxfun/nunjucks","forks_url":"https://api.github.com/repos/umaxfun/nunjucks/forks","keys_url":"https://api.github.com/repos/umaxfun/nunjucks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umaxfun/nunjucks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umaxfun/nunjucks/teams","hooks_url":"https://api.github.com/repos/umaxfun/nunjucks/hooks","issue_events_url":"https://api.github.com/repos/umaxfun/nunjucks/issues/events{/number}","events_url":"https://api.github.com/repos/umaxfun/nunjucks/events","assignees_url":"https://api.github.com/repos/umaxfun/nunjucks/assignees{/user}","branches_url":"https://api.github.com/repos/umaxfun/nunjucks/branches{/branch}","tags_url":"https://api.github.com/repos/umaxfun/nunjucks/tags","blobs_url":"https://api.github.com/repos/umaxfun/nunjucks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umaxfun/nunjucks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umaxfun/nunjucks/git/refs{/sha}","trees_url":"https://api.github.com/repos/umaxfun/nunjucks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umaxfun/nunjucks/statuses/{sha}","languages_url":"https://api.github.com/repos/umaxfun/nunjucks/languages","stargazers_url":"https://api.github.com/repos/umaxfun/nunjucks/stargazers","contributors_url":"https://api.github.com/repos/umaxfun/nunjucks/contributors","subscribers_url":"https://api.github.com/repos/umaxfun/nunjucks/subscribers","subscription_url":"https://api.github.com/repos/umaxfun/nunjucks/subscription","commits_url":"https://api.github.com/repos/umaxfun/nunjucks/commits{/sha}","git_commits_url":"https://api.github.com/repos/umaxfun/nunjucks/git/commits{/sha}","comments_url":"https://api.github.com/repos/umaxfun/nunjucks/comments{/number}","issue_comment_url":"https://api.github.com/repos/umaxfun/nunjucks/issues/comments{/number}","contents_url":"https://api.github.com/repos/umaxfun/nunjucks/contents/{+path}","compare_url":"https://api.github.com/repos/umaxfun/nunjucks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umaxfun/nunjucks/merges","archive_url":"https://api.github.com/repos/umaxfun/nunjucks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umaxfun/nunjucks/downloads","issues_url":"https://api.github.com/repos/umaxfun/nunjucks/issues{/number}","pulls_url":"https://api.github.com/repos/umaxfun/nunjucks/pulls{/number}","milestones_url":"https://api.github.com/repos/umaxfun/nunjucks/milestones{/number}","notifications_url":"https://api.github.com/repos/umaxfun/nunjucks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umaxfun/nunjucks/labels{/name}","releases_url":"https://api.github.com/repos/umaxfun/nunjucks/releases{/id}","created_at":"2015-10-05T23:32:35Z","updated_at":"2015-10-05T23:32:36Z","pushed_at":"2015-10-05T23:59:15Z","git_url":"git://github.com/umaxfun/nunjucks.git","ssh_url":"git@github.com:umaxfun/nunjucks.git","clone_url":"https://github.com/umaxfun/nunjucks.git","svn_url":"https://github.com/umaxfun/nunjucks","homepage":"http://mozilla.github.io/nunjucks/","size":7456,"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":"mozilla:master","ref":"master","sha":"30691f8a71323e78978616c48558e44147d307e6","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":5351666,"name":"nunjucks","full_name":"mozilla/nunjucks","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/nunjucks","description":"A powerful templating engine with inheritance, asynchronous control, and more (jinja2 inspired)","fork":false,"url":"https://api.github.com/repos/mozilla/nunjucks","forks_url":"https://api.github.com/repos/mozilla/nunjucks/forks","keys_url":"https://api.github.com/repos/mozilla/nunjucks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/nunjucks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/nunjucks/teams","hooks_url":"https://api.github.com/repos/mozilla/nunjucks/hooks","issue_events_url":"https://api.github.com/repos/mozilla/nunjucks/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/nunjucks/events","assignees_url":"https://api.github.com/repos/mozilla/nunjucks/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/nunjucks/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/nunjucks/tags","blobs_url":"https://api.github.com/repos/mozilla/nunjucks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/nunjucks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/nunjucks/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/nunjucks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/nunjucks/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/nunjucks/languages","stargazers_url":"https://api.github.com/repos/mozilla/nunjucks/stargazers","contributors_url":"https://api.github.com/repos/mozilla/nunjucks/contributors","subscribers_url":"https://api.github.com/repos/mozilla/nunjucks/subscribers","subscription_url":"https://api.github.com/repos/mozilla/nunjucks/subscription","commits_url":"https://api.github.com/repos/mozilla/nunjucks/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/nunjucks/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/nunjucks/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/nunjucks/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/nunjucks/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/nunjucks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/nunjucks/merges","archive_url":"https://api.github.com/repos/mozilla/nunjucks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/nunjucks/downloads","issues_url":"https://api.github.com/repos/mozilla/nunjucks/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/nunjucks/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/nunjucks/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/nunjucks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/nunjucks/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/nunjucks/releases{/id}","created_at":"2012-08-09T05:40:44Z","updated_at":"2015-10-05T18:35:37Z","pushed_at":"2015-10-05T02:51:47Z","git_url":"git://github.com/mozilla/nunjucks.git","ssh_url":"git@github.com:mozilla/nunjucks.git","clone_url":"https://github.com/mozilla/nunjucks.git","svn_url":"https://github.com/mozilla/nunjucks","homepage":"http://mozilla.github.io/nunjucks/","size":7456,"stargazers_count":2219,"watchers_count":2219,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":179,"mirror_url":null,"open_issues_count":56,"forks":179,"open_issues":56,"watchers":2219,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/nunjucks/pulls/546"},"html":{"href":"https://github.com/mozilla/nunjucks/pull/546"},"issue":{"href":"https://api.github.com/repos/mozilla/nunjucks/issues/546"},"comments":{"href":"https://api.github.com/repos/mozilla/nunjucks/issues/546/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/nunjucks/pulls/546/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/nunjucks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/nunjucks/pulls/546/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/nunjucks/statuses/4ea5924e9243f34c881316cc2edb59f82a83e94d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":0,"changed_files":1}}