{"action":"created","comment":{"url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/comments/24086958","id":24086958,"diff_hunk":"@@ -223,10 +223,22 @@\n             var turnIcon = Directions.getTurnIconName(position.properties.directions.turn);\n             var speedMs = (ProfileService.getCurrentUser().preferences.speed || 1) * mphToMs;\n             var timeMins = (distanceToTurn / speedMs / 60).toFixed(0);\n-            var distanceText = 'In approximately ' +  timeMins + ' minutes (' + $filter('distance')(distanceToTurn) + ')';\n+            var distanceText = 'In approximately ' +  timeMins +\n+                ' minutes (' + $filter('distance')(distanceToTurn) + ').';\n+            var subtitleText = distanceText;\n+            if (position.properties.directions.warnings) {\n+                _.each(position.properties.directions.warnings, function(warning) {","path":"src/nih_wayfinding/app/scripts/views/navigate/navigate-controller.js","position":9,"original_position":9,"commit_id":"e6cc823ea7f846e091b0dbe47ee02b0c9cc73461","original_commit_id":"e6cc823ea7f846e091b0dbe47ee02b0c9cc73461","user":{"login":"CloudNiner","id":1818302,"avatar_url":"https://avatars.githubusercontent.com/u/1818302?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudNiner","html_url":"https://github.com/CloudNiner","followers_url":"https://api.github.com/users/CloudNiner/followers","following_url":"https://api.github.com/users/CloudNiner/following{/other_user}","gists_url":"https://api.github.com/users/CloudNiner/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudNiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudNiner/subscriptions","organizations_url":"https://api.github.com/users/CloudNiner/orgs","repos_url":"https://api.github.com/users/CloudNiner/repos","events_url":"https://api.github.com/users/CloudNiner/events{/privacy}","received_events_url":"https://api.github.com/users/CloudNiner/received_events","type":"User","site_admin":false},"body":"Rather than a relatively verbose loop, could just do `position.properties.directions.warnings.join(' ')`?","created_at":"2015-02-04T14:41:20Z","updated_at":"2015-02-04T14:41:20Z","html_url":"https://github.com/azavea/nih-wayfinding/pull/88#discussion_r24086958","pull_request_url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/comments/24086958"},"html":{"href":"https://github.com/azavea/nih-wayfinding/pull/88#discussion_r24086958"},"pull_request":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88","id":28594934,"html_url":"https://github.com/azavea/nih-wayfinding/pull/88","diff_url":"https://github.com/azavea/nih-wayfinding/pull/88.diff","patch_url":"https://github.com/azavea/nih-wayfinding/pull/88.patch","issue_url":"https://api.github.com/repos/azavea/nih-wayfinding/issues/88","number":88,"state":"open","locked":false,"title":"Feature/add onroute notifications","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"body":"\r\n![nih-alerts](https://cloud.githubusercontent.com/assets/960264/6030926/0e1f8768-abc9-11e4-9ad1-6f5dfed8f90c.png)\r\n\r\n![image](https://cloud.githubusercontent.com/assets/960264/6030918/fc2276a6-abc8-11e4-9dd8-55ee453ea37a.png)\r\n","created_at":"2015-02-03T22:22:02Z","updated_at":"2015-02-04T14:41:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fa613267bc071e151703995a0c5ae4ab03022db9","assignee":{"login":"CloudNiner","id":1818302,"avatar_url":"https://avatars.githubusercontent.com/u/1818302?v=3","gravatar_id":"","url":"https://api.github.com/users/CloudNiner","html_url":"https://github.com/CloudNiner","followers_url":"https://api.github.com/users/CloudNiner/followers","following_url":"https://api.github.com/users/CloudNiner/following{/other_user}","gists_url":"https://api.github.com/users/CloudNiner/gists{/gist_id}","starred_url":"https://api.github.com/users/CloudNiner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CloudNiner/subscriptions","organizations_url":"https://api.github.com/users/CloudNiner/orgs","repos_url":"https://api.github.com/users/CloudNiner/repos","events_url":"https://api.github.com/users/CloudNiner/events{/privacy}","received_events_url":"https://api.github.com/users/CloudNiner/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88/commits","review_comments_url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88/comments","review_comment_url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/comments/{number}","comments_url":"https://api.github.com/repos/azavea/nih-wayfinding/issues/88/comments","statuses_url":"https://api.github.com/repos/azavea/nih-wayfinding/statuses/e6cc823ea7f846e091b0dbe47ee02b0c9cc73461","head":{"label":"flibbertigibbet:feature/add-onroute-notifications","ref":"feature/add-onroute-notifications","sha":"e6cc823ea7f846e091b0dbe47ee02b0c9cc73461","user":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"repo":{"id":28816956,"name":"nih-wayfinding","full_name":"flibbertigibbet/nih-wayfinding","owner":{"login":"flibbertigibbet","id":960264,"avatar_url":"https://avatars.githubusercontent.com/u/960264?v=3","gravatar_id":"","url":"https://api.github.com/users/flibbertigibbet","html_url":"https://github.com/flibbertigibbet","followers_url":"https://api.github.com/users/flibbertigibbet/followers","following_url":"https://api.github.com/users/flibbertigibbet/following{/other_user}","gists_url":"https://api.github.com/users/flibbertigibbet/gists{/gist_id}","starred_url":"https://api.github.com/users/flibbertigibbet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flibbertigibbet/subscriptions","organizations_url":"https://api.github.com/users/flibbertigibbet/orgs","repos_url":"https://api.github.com/users/flibbertigibbet/repos","events_url":"https://api.github.com/users/flibbertigibbet/events{/privacy}","received_events_url":"https://api.github.com/users/flibbertigibbet/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/flibbertigibbet/nih-wayfinding","description":"NIH Wayfinding Tools (Prototype)","fork":true,"url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding","forks_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/forks","keys_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/teams","hooks_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/hooks","issue_events_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/issues/events{/number}","events_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/events","assignees_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/assignees{/user}","branches_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/branches{/branch}","tags_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/tags","blobs_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/git/refs{/sha}","trees_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/statuses/{sha}","languages_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/languages","stargazers_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/stargazers","contributors_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/contributors","subscribers_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/subscribers","subscription_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/subscription","commits_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/commits{/sha}","git_commits_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/git/commits{/sha}","comments_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/comments{/number}","issue_comment_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/issues/comments/{number}","contents_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/contents/{+path}","compare_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/merges","archive_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/downloads","issues_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/issues{/number}","pulls_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/pulls{/number}","milestones_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/milestones{/number}","notifications_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/labels{/name}","releases_url":"https://api.github.com/repos/flibbertigibbet/nih-wayfinding/releases{/id}","created_at":"2015-01-05T14:56:35Z","updated_at":"2015-02-04T14:19:04Z","pushed_at":"2015-02-04T14:34:34Z","git_url":"git://github.com/flibbertigibbet/nih-wayfinding.git","ssh_url":"git@github.com:flibbertigibbet/nih-wayfinding.git","clone_url":"https://github.com/flibbertigibbet/nih-wayfinding.git","svn_url":"https://github.com/flibbertigibbet/nih-wayfinding","homepage":null,"size":872,"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":"develop"}},"base":{"label":"azavea:develop","ref":"develop","sha":"62fd676eddf6234b4715964e0ef7a2a2e8a393b5","user":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"repo":{"id":28718313,"name":"nih-wayfinding","full_name":"azavea/nih-wayfinding","owner":{"login":"azavea","id":595231,"avatar_url":"https://avatars.githubusercontent.com/u/595231?v=3","gravatar_id":"","url":"https://api.github.com/users/azavea","html_url":"https://github.com/azavea","followers_url":"https://api.github.com/users/azavea/followers","following_url":"https://api.github.com/users/azavea/following{/other_user}","gists_url":"https://api.github.com/users/azavea/gists{/gist_id}","starred_url":"https://api.github.com/users/azavea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azavea/subscriptions","organizations_url":"https://api.github.com/users/azavea/orgs","repos_url":"https://api.github.com/users/azavea/repos","events_url":"https://api.github.com/users/azavea/events{/privacy}","received_events_url":"https://api.github.com/users/azavea/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/azavea/nih-wayfinding","description":"NIH Wayfinding Tools (Prototype)","fork":false,"url":"https://api.github.com/repos/azavea/nih-wayfinding","forks_url":"https://api.github.com/repos/azavea/nih-wayfinding/forks","keys_url":"https://api.github.com/repos/azavea/nih-wayfinding/keys{/key_id}","collaborators_url":"https://api.github.com/repos/azavea/nih-wayfinding/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/azavea/nih-wayfinding/teams","hooks_url":"https://api.github.com/repos/azavea/nih-wayfinding/hooks","issue_events_url":"https://api.github.com/repos/azavea/nih-wayfinding/issues/events{/number}","events_url":"https://api.github.com/repos/azavea/nih-wayfinding/events","assignees_url":"https://api.github.com/repos/azavea/nih-wayfinding/assignees{/user}","branches_url":"https://api.github.com/repos/azavea/nih-wayfinding/branches{/branch}","tags_url":"https://api.github.com/repos/azavea/nih-wayfinding/tags","blobs_url":"https://api.github.com/repos/azavea/nih-wayfinding/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/azavea/nih-wayfinding/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/azavea/nih-wayfinding/git/refs{/sha}","trees_url":"https://api.github.com/repos/azavea/nih-wayfinding/git/trees{/sha}","statuses_url":"https://api.github.com/repos/azavea/nih-wayfinding/statuses/{sha}","languages_url":"https://api.github.com/repos/azavea/nih-wayfinding/languages","stargazers_url":"https://api.github.com/repos/azavea/nih-wayfinding/stargazers","contributors_url":"https://api.github.com/repos/azavea/nih-wayfinding/contributors","subscribers_url":"https://api.github.com/repos/azavea/nih-wayfinding/subscribers","subscription_url":"https://api.github.com/repos/azavea/nih-wayfinding/subscription","commits_url":"https://api.github.com/repos/azavea/nih-wayfinding/commits{/sha}","git_commits_url":"https://api.github.com/repos/azavea/nih-wayfinding/git/commits{/sha}","comments_url":"https://api.github.com/repos/azavea/nih-wayfinding/comments{/number}","issue_comment_url":"https://api.github.com/repos/azavea/nih-wayfinding/issues/comments/{number}","contents_url":"https://api.github.com/repos/azavea/nih-wayfinding/contents/{+path}","compare_url":"https://api.github.com/repos/azavea/nih-wayfinding/compare/{base}...{head}","merges_url":"https://api.github.com/repos/azavea/nih-wayfinding/merges","archive_url":"https://api.github.com/repos/azavea/nih-wayfinding/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/azavea/nih-wayfinding/downloads","issues_url":"https://api.github.com/repos/azavea/nih-wayfinding/issues{/number}","pulls_url":"https://api.github.com/repos/azavea/nih-wayfinding/pulls{/number}","milestones_url":"https://api.github.com/repos/azavea/nih-wayfinding/milestones{/number}","notifications_url":"https://api.github.com/repos/azavea/nih-wayfinding/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/azavea/nih-wayfinding/labels{/name}","releases_url":"https://api.github.com/repos/azavea/nih-wayfinding/releases{/id}","created_at":"2015-01-02T16:11:24Z","updated_at":"2015-02-04T14:07:45Z","pushed_at":"2015-02-04T14:07:44Z","git_url":"git://github.com/azavea/nih-wayfinding.git","ssh_url":"git@github.com:azavea/nih-wayfinding.git","clone_url":"https://github.com/azavea/nih-wayfinding.git","svn_url":"https://github.com/azavea/nih-wayfinding","homepage":null,"size":2089,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88"},"html":{"href":"https://github.com/azavea/nih-wayfinding/pull/88"},"issue":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/issues/88"},"comments":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/azavea/nih-wayfinding/statuses/e6cc823ea7f846e091b0dbe47ee02b0c9cc73461"}}}}