{"action":"created","comment":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/comments/27638913","id":27638913,"diff_hunk":"@@ -0,0 +1,333 @@\n+---\n+title: Compiling Application with Closure Compiler\n+layout: doc.hbs\n+---\n+\n+# Compiling Application with Closure Compiler\n+\n+The OpenLayers 3 code uses the Closure Library, and it is compiled with the\n+Closure Compiler. Using OpenLayers 3 in an application does not require using\n+Closure. But using Closure in an OpenLayers 3 is possible. And this is what\n+this tutorial is about.\n+\n+This tutorial will teach you how to set up a OpenLayers 3 application based on","path":"doc/tutorials/compile-application.md","position":13,"original_position":13,"commit_id":"345b9ef09045bf01e33cf7f3a6487dd77c1ea2db","original_commit_id":"345b9ef09045bf01e33cf7f3a6487dd77c1ea2db","user":{"login":"gberaudo","id":7294662,"avatar_url":"https://avatars.githubusercontent.com/u/7294662?v=3","gravatar_id":"","url":"https://api.github.com/users/gberaudo","html_url":"https://github.com/gberaudo","followers_url":"https://api.github.com/users/gberaudo/followers","following_url":"https://api.github.com/users/gberaudo/following{/other_user}","gists_url":"https://api.github.com/users/gberaudo/gists{/gist_id}","starred_url":"https://api.github.com/users/gberaudo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gberaudo/subscriptions","organizations_url":"https://api.github.com/users/gberaudo/orgs","repos_url":"https://api.github.com/users/gberaudo/repos","events_url":"https://api.github.com/users/gberaudo/events{/privacy}","received_events_url":"https://api.github.com/users/gberaudo/received_events","type":"User","site_admin":false},"body":"an","created_at":"2015-04-02T08:11:08Z","updated_at":"2015-04-02T08:11:08Z","html_url":"https://github.com/openlayers/ol3/pull/3441#discussion_r27638913","pull_request_url":"https://api.github.com/repos/openlayers/ol3/pulls/3441","_links":{"self":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/comments/27638913"},"html":{"href":"https://github.com/openlayers/ol3/pull/3441#discussion_r27638913"},"pull_request":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/3441"}}},"pull_request":{"url":"https://api.github.com/repos/openlayers/ol3/pulls/3441","id":32340565,"html_url":"https://github.com/openlayers/ol3/pull/3441","diff_url":"https://github.com/openlayers/ol3/pull/3441.diff","patch_url":"https://github.com/openlayers/ol3/pull/3441.patch","issue_url":"https://api.github.com/repos/openlayers/ol3/issues/3441","number":3441,"state":"open","locked":false,"title":"(WIP) Add a \"Compile Application and OpenLayers 3 Together\" tutorial","user":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"body":"This tutorial requires https://github.com/openlayers/closure-util/pull/53 and https://github.com/openlayers/closure-util/pull/52.\r\n\r\nThis is the repo corresponding to the project built in the tutorial: https://github.com/elemoine/openlayers-closure-application/.","created_at":"2015-03-31T16:34:53Z","updated_at":"2015-04-02T08:11:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4c599e25386ed7cb51b44540a3dd3c9c3b9fb6ce","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/openlayers/ol3/pulls/3441/commits","review_comments_url":"https://api.github.com/repos/openlayers/ol3/pulls/3441/comments","review_comment_url":"https://api.github.com/repos/openlayers/ol3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openlayers/ol3/issues/3441/comments","statuses_url":"https://api.github.com/repos/openlayers/ol3/statuses/345b9ef09045bf01e33cf7f3a6487dd77c1ea2db","head":{"label":"elemoine:compile-application","ref":"compile-application","sha":"345b9ef09045bf01e33cf7f3a6487dd77c1ea2db","user":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"repo":{"id":4775811,"name":"ol3","full_name":"elemoine/ol3","owner":{"login":"elemoine","id":76594,"avatar_url":"https://avatars.githubusercontent.com/u/76594?v=3","gravatar_id":"","url":"https://api.github.com/users/elemoine","html_url":"https://github.com/elemoine","followers_url":"https://api.github.com/users/elemoine/followers","following_url":"https://api.github.com/users/elemoine/following{/other_user}","gists_url":"https://api.github.com/users/elemoine/gists{/gist_id}","starred_url":"https://api.github.com/users/elemoine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elemoine/subscriptions","organizations_url":"https://api.github.com/users/elemoine/orgs","repos_url":"https://api.github.com/users/elemoine/repos","events_url":"https://api.github.com/users/elemoine/events{/privacy}","received_events_url":"https://api.github.com/users/elemoine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/elemoine/ol3","description":"OpenLayers 3","fork":true,"url":"https://api.github.com/repos/elemoine/ol3","forks_url":"https://api.github.com/repos/elemoine/ol3/forks","keys_url":"https://api.github.com/repos/elemoine/ol3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/elemoine/ol3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/elemoine/ol3/teams","hooks_url":"https://api.github.com/repos/elemoine/ol3/hooks","issue_events_url":"https://api.github.com/repos/elemoine/ol3/issues/events{/number}","events_url":"https://api.github.com/repos/elemoine/ol3/events","assignees_url":"https://api.github.com/repos/elemoine/ol3/assignees{/user}","branches_url":"https://api.github.com/repos/elemoine/ol3/branches{/branch}","tags_url":"https://api.github.com/repos/elemoine/ol3/tags","blobs_url":"https://api.github.com/repos/elemoine/ol3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/elemoine/ol3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/elemoine/ol3/git/refs{/sha}","trees_url":"https://api.github.com/repos/elemoine/ol3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/elemoine/ol3/statuses/{sha}","languages_url":"https://api.github.com/repos/elemoine/ol3/languages","stargazers_url":"https://api.github.com/repos/elemoine/ol3/stargazers","contributors_url":"https://api.github.com/repos/elemoine/ol3/contributors","subscribers_url":"https://api.github.com/repos/elemoine/ol3/subscribers","subscription_url":"https://api.github.com/repos/elemoine/ol3/subscription","commits_url":"https://api.github.com/repos/elemoine/ol3/commits{/sha}","git_commits_url":"https://api.github.com/repos/elemoine/ol3/git/commits{/sha}","comments_url":"https://api.github.com/repos/elemoine/ol3/comments{/number}","issue_comment_url":"https://api.github.com/repos/elemoine/ol3/issues/comments{/number}","contents_url":"https://api.github.com/repos/elemoine/ol3/contents/{+path}","compare_url":"https://api.github.com/repos/elemoine/ol3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/elemoine/ol3/merges","archive_url":"https://api.github.com/repos/elemoine/ol3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/elemoine/ol3/downloads","issues_url":"https://api.github.com/repos/elemoine/ol3/issues{/number}","pulls_url":"https://api.github.com/repos/elemoine/ol3/pulls{/number}","milestones_url":"https://api.github.com/repos/elemoine/ol3/milestones{/number}","notifications_url":"https://api.github.com/repos/elemoine/ol3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/elemoine/ol3/labels{/name}","releases_url":"https://api.github.com/repos/elemoine/ol3/releases{/id}","created_at":"2012-06-24T22:15:17Z","updated_at":"2015-02-02T15:49:28Z","pushed_at":"2015-04-01T08:53:42Z","git_url":"git://github.com/elemoine/ol3.git","ssh_url":"git@github.com:elemoine/ol3.git","clone_url":"https://github.com/elemoine/ol3.git","svn_url":"https://github.com/elemoine/ol3","homepage":null,"size":98470,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"openlayers:master","ref":"master","sha":"62ce9b44c88fd359d353ec215ed10a8e67adbe44","user":{"login":"openlayers","id":240579,"avatar_url":"https://avatars.githubusercontent.com/u/240579?v=3","gravatar_id":"","url":"https://api.github.com/users/openlayers","html_url":"https://github.com/openlayers","followers_url":"https://api.github.com/users/openlayers/followers","following_url":"https://api.github.com/users/openlayers/following{/other_user}","gists_url":"https://api.github.com/users/openlayers/gists{/gist_id}","starred_url":"https://api.github.com/users/openlayers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlayers/subscriptions","organizations_url":"https://api.github.com/users/openlayers/orgs","repos_url":"https://api.github.com/users/openlayers/repos","events_url":"https://api.github.com/users/openlayers/events{/privacy}","received_events_url":"https://api.github.com/users/openlayers/received_events","type":"Organization","site_admin":false},"repo":{"id":4723248,"name":"ol3","full_name":"openlayers/ol3","owner":{"login":"openlayers","id":240579,"avatar_url":"https://avatars.githubusercontent.com/u/240579?v=3","gravatar_id":"","url":"https://api.github.com/users/openlayers","html_url":"https://github.com/openlayers","followers_url":"https://api.github.com/users/openlayers/followers","following_url":"https://api.github.com/users/openlayers/following{/other_user}","gists_url":"https://api.github.com/users/openlayers/gists{/gist_id}","starred_url":"https://api.github.com/users/openlayers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openlayers/subscriptions","organizations_url":"https://api.github.com/users/openlayers/orgs","repos_url":"https://api.github.com/users/openlayers/repos","events_url":"https://api.github.com/users/openlayers/events{/privacy}","received_events_url":"https://api.github.com/users/openlayers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openlayers/ol3","description":"OpenLayers 3","fork":false,"url":"https://api.github.com/repos/openlayers/ol3","forks_url":"https://api.github.com/repos/openlayers/ol3/forks","keys_url":"https://api.github.com/repos/openlayers/ol3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openlayers/ol3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openlayers/ol3/teams","hooks_url":"https://api.github.com/repos/openlayers/ol3/hooks","issue_events_url":"https://api.github.com/repos/openlayers/ol3/issues/events{/number}","events_url":"https://api.github.com/repos/openlayers/ol3/events","assignees_url":"https://api.github.com/repos/openlayers/ol3/assignees{/user}","branches_url":"https://api.github.com/repos/openlayers/ol3/branches{/branch}","tags_url":"https://api.github.com/repos/openlayers/ol3/tags","blobs_url":"https://api.github.com/repos/openlayers/ol3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openlayers/ol3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openlayers/ol3/git/refs{/sha}","trees_url":"https://api.github.com/repos/openlayers/ol3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openlayers/ol3/statuses/{sha}","languages_url":"https://api.github.com/repos/openlayers/ol3/languages","stargazers_url":"https://api.github.com/repos/openlayers/ol3/stargazers","contributors_url":"https://api.github.com/repos/openlayers/ol3/contributors","subscribers_url":"https://api.github.com/repos/openlayers/ol3/subscribers","subscription_url":"https://api.github.com/repos/openlayers/ol3/subscription","commits_url":"https://api.github.com/repos/openlayers/ol3/commits{/sha}","git_commits_url":"https://api.github.com/repos/openlayers/ol3/git/commits{/sha}","comments_url":"https://api.github.com/repos/openlayers/ol3/comments{/number}","issue_comment_url":"https://api.github.com/repos/openlayers/ol3/issues/comments{/number}","contents_url":"https://api.github.com/repos/openlayers/ol3/contents/{+path}","compare_url":"https://api.github.com/repos/openlayers/ol3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openlayers/ol3/merges","archive_url":"https://api.github.com/repos/openlayers/ol3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openlayers/ol3/downloads","issues_url":"https://api.github.com/repos/openlayers/ol3/issues{/number}","pulls_url":"https://api.github.com/repos/openlayers/ol3/pulls{/number}","milestones_url":"https://api.github.com/repos/openlayers/ol3/milestones{/number}","notifications_url":"https://api.github.com/repos/openlayers/ol3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openlayers/ol3/labels{/name}","releases_url":"https://api.github.com/repos/openlayers/ol3/releases{/id}","created_at":"2012-06-20T06:53:59Z","updated_at":"2015-04-02T07:14:53Z","pushed_at":"2015-04-02T07:47:57Z","git_url":"git://github.com/openlayers/ol3.git","ssh_url":"git@github.com:openlayers/ol3.git","clone_url":"https://github.com/openlayers/ol3.git","svn_url":"https://github.com/openlayers/ol3","homepage":"http://openlayers.org","size":71569,"stargazers_count":1064,"watchers_count":1064,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":636,"mirror_url":null,"open_issues_count":311,"forks":636,"open_issues":311,"watchers":1064,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/3441"},"html":{"href":"https://github.com/openlayers/ol3/pull/3441"},"issue":{"href":"https://api.github.com/repos/openlayers/ol3/issues/3441"},"comments":{"href":"https://api.github.com/repos/openlayers/ol3/issues/3441/comments"},"review_comments":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/3441/comments"},"review_comment":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openlayers/ol3/pulls/3441/commits"},"statuses":{"href":"https://api.github.com/repos/openlayers/ol3/statuses/345b9ef09045bf01e33cf7f3a6487dd77c1ea2db"}}}}