{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/1","id":28081745,"html_url":"https://github.com/thetutlage/broccoli-angular-templates-cache/pull/1","diff_url":"https://github.com/thetutlage/broccoli-angular-templates-cache/pull/1.diff","patch_url":"https://github.com/thetutlage/broccoli-angular-templates-cache/pull/1.patch","issue_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues/1","number":1,"state":"open","locked":false,"title":"Ensure that template's path values are not undefined","user":{"login":"schlueter","id":7508458,"avatar_url":"https://avatars.githubusercontent.com/u/7508458?v=3","gravatar_id":"","url":"https://api.github.com/users/schlueter","html_url":"https://github.com/schlueter","followers_url":"https://api.github.com/users/schlueter/followers","following_url":"https://api.github.com/users/schlueter/following{/other_user}","gists_url":"https://api.github.com/users/schlueter/gists{/gist_id}","starred_url":"https://api.github.com/users/schlueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlueter/subscriptions","organizations_url":"https://api.github.com/users/schlueter/orgs","repos_url":"https://api.github.com/users/schlueter/repos","events_url":"https://api.github.com/users/schlueter/events{/privacy}","received_events_url":"https://api.github.com/users/schlueter/received_events","type":"User","site_admin":false},"body":"I was getting an error because filePath was *undefined*, and this patch prevents that from occuring. I didn't work out the full logic of what was going on, I just fixed the issue in a way that seemed correct.\r\n\r\nBasically though, *filePath* can be undefined in the `templates.push` call, and by initializing the variable and providing for an alternative value, the code will not encounter an error because *filePath* is not defined and the process with not be wrong as having *filePath* default to *file* fulfills the requirements of that anonymous function.","created_at":"2015-01-27T03:44:27Z","updated_at":"2015-01-27T03:44:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/1/commits","review_comments_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/1/comments","review_comment_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/comments/{number}","comments_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues/1/comments","statuses_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/statuses/13576f02d40c624aa39758fe92d9e9853de5e013","head":{"label":"schlueter:master","ref":"master","sha":"13576f02d40c624aa39758fe92d9e9853de5e013","user":{"login":"schlueter","id":7508458,"avatar_url":"https://avatars.githubusercontent.com/u/7508458?v=3","gravatar_id":"","url":"https://api.github.com/users/schlueter","html_url":"https://github.com/schlueter","followers_url":"https://api.github.com/users/schlueter/followers","following_url":"https://api.github.com/users/schlueter/following{/other_user}","gists_url":"https://api.github.com/users/schlueter/gists{/gist_id}","starred_url":"https://api.github.com/users/schlueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlueter/subscriptions","organizations_url":"https://api.github.com/users/schlueter/orgs","repos_url":"https://api.github.com/users/schlueter/repos","events_url":"https://api.github.com/users/schlueter/events{/privacy}","received_events_url":"https://api.github.com/users/schlueter/received_events","type":"User","site_admin":false},"repo":{"id":29841109,"name":"broccoli-angular-templates-cache","full_name":"schlueter/broccoli-angular-templates-cache","owner":{"login":"schlueter","id":7508458,"avatar_url":"https://avatars.githubusercontent.com/u/7508458?v=3","gravatar_id":"","url":"https://api.github.com/users/schlueter","html_url":"https://github.com/schlueter","followers_url":"https://api.github.com/users/schlueter/followers","following_url":"https://api.github.com/users/schlueter/following{/other_user}","gists_url":"https://api.github.com/users/schlueter/gists{/gist_id}","starred_url":"https://api.github.com/users/schlueter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schlueter/subscriptions","organizations_url":"https://api.github.com/users/schlueter/orgs","repos_url":"https://api.github.com/users/schlueter/repos","events_url":"https://api.github.com/users/schlueter/events{/privacy}","received_events_url":"https://api.github.com/users/schlueter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/schlueter/broccoli-angular-templates-cache","description":"Angular js template caching for broccoli js","fork":true,"url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache","forks_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/forks","keys_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/teams","hooks_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/hooks","issue_events_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/issues/events{/number}","events_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/events","assignees_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/assignees{/user}","branches_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/branches{/branch}","tags_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/tags","blobs_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/statuses/{sha}","languages_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/languages","stargazers_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/stargazers","contributors_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/contributors","subscribers_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/subscribers","subscription_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/subscription","commits_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/issues/comments/{number}","contents_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/contents/{+path}","compare_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/merges","archive_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/downloads","issues_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/issues{/number}","pulls_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/pulls{/number}","milestones_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/milestones{/number}","notifications_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/labels{/name}","releases_url":"https://api.github.com/repos/schlueter/broccoli-angular-templates-cache/releases{/id}","created_at":"2015-01-26T02:16:36Z","updated_at":"2015-01-26T02:44:24Z","pushed_at":"2015-01-26T02:44:23Z","git_url":"git://github.com/schlueter/broccoli-angular-templates-cache.git","ssh_url":"git@github.com:schlueter/broccoli-angular-templates-cache.git","clone_url":"https://github.com/schlueter/broccoli-angular-templates-cache.git","svn_url":"https://github.com/schlueter/broccoli-angular-templates-cache","homepage":null,"size":0,"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":"thetutlage:master","ref":"master","sha":"4b4c2e44b6597f725d0448f684ceb07a38d31ced","user":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"repo":{"id":29600747,"name":"broccoli-angular-templates-cache","full_name":"thetutlage/broccoli-angular-templates-cache","owner":{"login":"thetutlage","id":1706381,"avatar_url":"https://avatars.githubusercontent.com/u/1706381?v=3","gravatar_id":"","url":"https://api.github.com/users/thetutlage","html_url":"https://github.com/thetutlage","followers_url":"https://api.github.com/users/thetutlage/followers","following_url":"https://api.github.com/users/thetutlage/following{/other_user}","gists_url":"https://api.github.com/users/thetutlage/gists{/gist_id}","starred_url":"https://api.github.com/users/thetutlage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thetutlage/subscriptions","organizations_url":"https://api.github.com/users/thetutlage/orgs","repos_url":"https://api.github.com/users/thetutlage/repos","events_url":"https://api.github.com/users/thetutlage/events{/privacy}","received_events_url":"https://api.github.com/users/thetutlage/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/thetutlage/broccoli-angular-templates-cache","description":"Angular js template caching for broccoli js","fork":false,"url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache","forks_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/forks","keys_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/teams","hooks_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/hooks","issue_events_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues/events{/number}","events_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/events","assignees_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/assignees{/user}","branches_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/branches{/branch}","tags_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/tags","blobs_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/git/refs{/sha}","trees_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/statuses/{sha}","languages_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/languages","stargazers_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/stargazers","contributors_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/contributors","subscribers_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/subscribers","subscription_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/subscription","commits_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/commits{/sha}","git_commits_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/git/commits{/sha}","comments_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/comments{/number}","issue_comment_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues/comments/{number}","contents_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/contents/{+path}","compare_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/merges","archive_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/downloads","issues_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues{/number}","pulls_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls{/number}","milestones_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/milestones{/number}","notifications_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/labels{/name}","releases_url":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/releases{/id}","created_at":"2015-01-21T17:05:34Z","updated_at":"2015-01-22T09:16:45Z","pushed_at":"2015-01-22T09:16:45Z","git_url":"git://github.com/thetutlage/broccoli-angular-templates-cache.git","ssh_url":"git@github.com:thetutlage/broccoli-angular-templates-cache.git","clone_url":"https://github.com/thetutlage/broccoli-angular-templates-cache.git","svn_url":"https://github.com/thetutlage/broccoli-angular-templates-cache","homepage":null,"size":0,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/1"},"html":{"href":"https://github.com/thetutlage/broccoli-angular-templates-cache/pull/1"},"issue":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues/1"},"comments":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/thetutlage/broccoli-angular-templates-cache/statuses/13576f02d40c624aa39758fe92d9e9853de5e013"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":3,"changed_files":1}}