{"action":"created","comment":{"url":"https://api.github.com/repos/camptocamp/ngeo/pulls/comments/25413920","id":25413920,"diff_hunk":"@@ -0,0 +1,33 @@\n+<!DOCTYPE>\n+<html ng-app='app'>\n+  <head>\n+    <title>Interaction button group example</title>\n+    <meta charset=\"utf-8\">\n+    <meta name=\"viewport\"\n+          content=\"initial-scale=1.0, user-scalable=no, width=device-width\">\n+    <meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\n+    <link rel=\"stylesheet\" href=\"../node_modules/openlayers/css/ol.css\" type=\"text/css\">\n+    <link rel=\"stylesheet\" href=\"http://getbootstrap.com/dist/css/bootstrap.min.css\" type=\"text/css\">\n+    <style>\n+\n+        .profile {\n+          width: 450px;\n+          height: 250px;\n+        }\n+\n+    </style>\n+  </head>\n+  <body ng-controller=\"MainController as ctrl\">\n+    <div class=\"profile\" ngeo-profile=\"ctrl.profileData\"","path":"examples/profile.html","position":21,"original_position":21,"commit_id":"786f9952f63a9f0c92a7b9f37d73861264e68835","original_commit_id":"786f9952f63a9f0c92a7b9f37d73861264e68835","user":{"login":"pgiraud","id":319774,"avatar_url":"https://avatars.githubusercontent.com/u/319774?v=3","gravatar_id":"","url":"https://api.github.com/users/pgiraud","html_url":"https://github.com/pgiraud","followers_url":"https://api.github.com/users/pgiraud/followers","following_url":"https://api.github.com/users/pgiraud/following{/other_user}","gists_url":"https://api.github.com/users/pgiraud/gists{/gist_id}","starred_url":"https://api.github.com/users/pgiraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgiraud/subscriptions","organizations_url":"https://api.github.com/users/pgiraud/orgs","repos_url":"https://api.github.com/users/pgiraud/repos","events_url":"https://api.github.com/users/pgiraud/events{/privacy}","received_events_url":"https://api.github.com/users/pgiraud/received_events","type":"User","site_admin":false},"body":"@gberaudo is right. The idea is to be able to update the data though the example doesn't show it. We should provide a way to load a new profile in the example.","created_at":"2015-02-26T09:28:05Z","updated_at":"2015-02-26T09:28:05Z","html_url":"https://github.com/camptocamp/ngeo/pull/173#discussion_r25413920","pull_request_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/173","_links":{"self":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/comments/25413920"},"html":{"href":"https://github.com/camptocamp/ngeo/pull/173#discussion_r25413920"},"pull_request":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/173"}}},"pull_request":{"url":"https://api.github.com/repos/camptocamp/ngeo/pulls/173","id":29988660,"html_url":"https://github.com/camptocamp/ngeo/pull/173","diff_url":"https://github.com/camptocamp/ngeo/pull/173.diff","patch_url":"https://github.com/camptocamp/ngeo/pull/173.patch","issue_url":"https://api.github.com/repos/camptocamp/ngeo/issues/173","number":173,"state":"open","locked":false,"title":"Profile","user":{"login":"pgiraud","id":319774,"avatar_url":"https://avatars.githubusercontent.com/u/319774?v=3","gravatar_id":"","url":"https://api.github.com/users/pgiraud","html_url":"https://github.com/pgiraud","followers_url":"https://api.github.com/users/pgiraud/followers","following_url":"https://api.github.com/users/pgiraud/following{/other_user}","gists_url":"https://api.github.com/users/pgiraud/gists{/gist_id}","starred_url":"https://api.github.com/users/pgiraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgiraud/subscriptions","organizations_url":"https://api.github.com/users/pgiraud/orgs","repos_url":"https://api.github.com/users/pgiraud/repos","events_url":"https://api.github.com/users/pgiraud/events{/privacy}","received_events_url":"https://api.github.com/users/pgiraud/received_events","type":"User","site_admin":false},"body":"The goal of this pull request is to provide a profile directive to display an elevation profile in the page.\r\nIt's really simple for now and it's not configurable via options. For example, it expects the elevation data to be given by a \"mnt\" key in the data.\r\n\r\nIt relies on D3js for which angular externs have been added. Those externs have been automatically created and don't include @types.\r\n\r\nPlease review.","created_at":"2015-02-25T14:00:27Z","updated_at":"2015-02-26T09:28:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/173/commits","review_comments_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/173/comments","review_comment_url":"https://api.github.com/repos/camptocamp/ngeo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/camptocamp/ngeo/issues/173/comments","statuses_url":"https://api.github.com/repos/camptocamp/ngeo/statuses/786f9952f63a9f0c92a7b9f37d73861264e68835","head":{"label":"pgiraud:profile","ref":"profile","sha":"786f9952f63a9f0c92a7b9f37d73861264e68835","user":{"login":"pgiraud","id":319774,"avatar_url":"https://avatars.githubusercontent.com/u/319774?v=3","gravatar_id":"","url":"https://api.github.com/users/pgiraud","html_url":"https://github.com/pgiraud","followers_url":"https://api.github.com/users/pgiraud/followers","following_url":"https://api.github.com/users/pgiraud/following{/other_user}","gists_url":"https://api.github.com/users/pgiraud/gists{/gist_id}","starred_url":"https://api.github.com/users/pgiraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgiraud/subscriptions","organizations_url":"https://api.github.com/users/pgiraud/orgs","repos_url":"https://api.github.com/users/pgiraud/repos","events_url":"https://api.github.com/users/pgiraud/events{/privacy}","received_events_url":"https://api.github.com/users/pgiraud/received_events","type":"User","site_admin":false},"repo":{"id":24409219,"name":"ngeo","full_name":"pgiraud/ngeo","owner":{"login":"pgiraud","id":319774,"avatar_url":"https://avatars.githubusercontent.com/u/319774?v=3","gravatar_id":"","url":"https://api.github.com/users/pgiraud","html_url":"https://github.com/pgiraud","followers_url":"https://api.github.com/users/pgiraud/followers","following_url":"https://api.github.com/users/pgiraud/following{/other_user}","gists_url":"https://api.github.com/users/pgiraud/gists{/gist_id}","starred_url":"https://api.github.com/users/pgiraud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pgiraud/subscriptions","organizations_url":"https://api.github.com/users/pgiraud/orgs","repos_url":"https://api.github.com/users/pgiraud/repos","events_url":"https://api.github.com/users/pgiraud/events{/privacy}","received_events_url":"https://api.github.com/users/pgiraud/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pgiraud/ngeo","description":"Library combining OpenLayers 3 and AngularJS","fork":true,"url":"https://api.github.com/repos/pgiraud/ngeo","forks_url":"https://api.github.com/repos/pgiraud/ngeo/forks","keys_url":"https://api.github.com/repos/pgiraud/ngeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pgiraud/ngeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pgiraud/ngeo/teams","hooks_url":"https://api.github.com/repos/pgiraud/ngeo/hooks","issue_events_url":"https://api.github.com/repos/pgiraud/ngeo/issues/events{/number}","events_url":"https://api.github.com/repos/pgiraud/ngeo/events","assignees_url":"https://api.github.com/repos/pgiraud/ngeo/assignees{/user}","branches_url":"https://api.github.com/repos/pgiraud/ngeo/branches{/branch}","tags_url":"https://api.github.com/repos/pgiraud/ngeo/tags","blobs_url":"https://api.github.com/repos/pgiraud/ngeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pgiraud/ngeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pgiraud/ngeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/pgiraud/ngeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pgiraud/ngeo/statuses/{sha}","languages_url":"https://api.github.com/repos/pgiraud/ngeo/languages","stargazers_url":"https://api.github.com/repos/pgiraud/ngeo/stargazers","contributors_url":"https://api.github.com/repos/pgiraud/ngeo/contributors","subscribers_url":"https://api.github.com/repos/pgiraud/ngeo/subscribers","subscription_url":"https://api.github.com/repos/pgiraud/ngeo/subscription","commits_url":"https://api.github.com/repos/pgiraud/ngeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/pgiraud/ngeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/pgiraud/ngeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/pgiraud/ngeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/pgiraud/ngeo/contents/{+path}","compare_url":"https://api.github.com/repos/pgiraud/ngeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pgiraud/ngeo/merges","archive_url":"https://api.github.com/repos/pgiraud/ngeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pgiraud/ngeo/downloads","issues_url":"https://api.github.com/repos/pgiraud/ngeo/issues{/number}","pulls_url":"https://api.github.com/repos/pgiraud/ngeo/pulls{/number}","milestones_url":"https://api.github.com/repos/pgiraud/ngeo/milestones{/number}","notifications_url":"https://api.github.com/repos/pgiraud/ngeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pgiraud/ngeo/labels{/name}","releases_url":"https://api.github.com/repos/pgiraud/ngeo/releases{/id}","created_at":"2014-09-24T09:38:17Z","updated_at":"2015-01-28T10:30:11Z","pushed_at":"2015-02-25T13:56:06Z","git_url":"git://github.com/pgiraud/ngeo.git","ssh_url":"git@github.com:pgiraud/ngeo.git","clone_url":"https://github.com/pgiraud/ngeo.git","svn_url":"https://github.com/pgiraud/ngeo","homepage":null,"size":2094,"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":"camptocamp:master","ref":"master","sha":"19a1bd85e2288c32f6bc8fd4c34d9cba56c2346c","user":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"repo":{"id":20212761,"name":"ngeo","full_name":"camptocamp/ngeo","owner":{"login":"camptocamp","id":28109,"avatar_url":"https://avatars.githubusercontent.com/u/28109?v=3","gravatar_id":"","url":"https://api.github.com/users/camptocamp","html_url":"https://github.com/camptocamp","followers_url":"https://api.github.com/users/camptocamp/followers","following_url":"https://api.github.com/users/camptocamp/following{/other_user}","gists_url":"https://api.github.com/users/camptocamp/gists{/gist_id}","starred_url":"https://api.github.com/users/camptocamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camptocamp/subscriptions","organizations_url":"https://api.github.com/users/camptocamp/orgs","repos_url":"https://api.github.com/users/camptocamp/repos","events_url":"https://api.github.com/users/camptocamp/events{/privacy}","received_events_url":"https://api.github.com/users/camptocamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/camptocamp/ngeo","description":"Library combining OpenLayers 3 and AngularJS","fork":false,"url":"https://api.github.com/repos/camptocamp/ngeo","forks_url":"https://api.github.com/repos/camptocamp/ngeo/forks","keys_url":"https://api.github.com/repos/camptocamp/ngeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/camptocamp/ngeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/camptocamp/ngeo/teams","hooks_url":"https://api.github.com/repos/camptocamp/ngeo/hooks","issue_events_url":"https://api.github.com/repos/camptocamp/ngeo/issues/events{/number}","events_url":"https://api.github.com/repos/camptocamp/ngeo/events","assignees_url":"https://api.github.com/repos/camptocamp/ngeo/assignees{/user}","branches_url":"https://api.github.com/repos/camptocamp/ngeo/branches{/branch}","tags_url":"https://api.github.com/repos/camptocamp/ngeo/tags","blobs_url":"https://api.github.com/repos/camptocamp/ngeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/camptocamp/ngeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/camptocamp/ngeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/camptocamp/ngeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/camptocamp/ngeo/statuses/{sha}","languages_url":"https://api.github.com/repos/camptocamp/ngeo/languages","stargazers_url":"https://api.github.com/repos/camptocamp/ngeo/stargazers","contributors_url":"https://api.github.com/repos/camptocamp/ngeo/contributors","subscribers_url":"https://api.github.com/repos/camptocamp/ngeo/subscribers","subscription_url":"https://api.github.com/repos/camptocamp/ngeo/subscription","commits_url":"https://api.github.com/repos/camptocamp/ngeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/camptocamp/ngeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/camptocamp/ngeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/camptocamp/ngeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/camptocamp/ngeo/contents/{+path}","compare_url":"https://api.github.com/repos/camptocamp/ngeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/camptocamp/ngeo/merges","archive_url":"https://api.github.com/repos/camptocamp/ngeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/camptocamp/ngeo/downloads","issues_url":"https://api.github.com/repos/camptocamp/ngeo/issues{/number}","pulls_url":"https://api.github.com/repos/camptocamp/ngeo/pulls{/number}","milestones_url":"https://api.github.com/repos/camptocamp/ngeo/milestones{/number}","notifications_url":"https://api.github.com/repos/camptocamp/ngeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/camptocamp/ngeo/labels{/name}","releases_url":"https://api.github.com/repos/camptocamp/ngeo/releases{/id}","created_at":"2014-05-27T08:34:54Z","updated_at":"2015-02-24T15:35:50Z","pushed_at":"2015-02-24T15:35:50Z","git_url":"git://github.com/camptocamp/ngeo.git","ssh_url":"git@github.com:camptocamp/ngeo.git","clone_url":"https://github.com/camptocamp/ngeo.git","svn_url":"https://github.com/camptocamp/ngeo","homepage":null,"size":3451,"stargazers_count":14,"watchers_count":14,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":5,"forks":8,"open_issues":5,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/173"},"html":{"href":"https://github.com/camptocamp/ngeo/pull/173"},"issue":{"href":"https://api.github.com/repos/camptocamp/ngeo/issues/173"},"comments":{"href":"https://api.github.com/repos/camptocamp/ngeo/issues/173/comments"},"review_comments":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/173/comments"},"review_comment":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/camptocamp/ngeo/pulls/173/commits"},"statuses":{"href":"https://api.github.com/repos/camptocamp/ngeo/statuses/786f9952f63a9f0c92a7b9f37d73861264e68835"}}}}