{"action":"created","comment":{"url":"https://api.github.com/repos/350dotorg/350map.org/pulls/comments/60956465","id":60956465,"diff_hunk":"@@ -1,95 +1,84 @@\n <!doctype html>\r\n <html lang=\"en\">\r\n+\r\n <head prefix=\"og: http://wcfcourier.com/app/special/tabletop_to_leaflet/\">\r\n-<head>\r\n-<head>\r\n-\t<title>350.org Megamap</title>\r\n-\t<meta charset=\"utf-8\" />\r\n-\t<meta http-equiv=\"X-UA-Compatible\" content=\"IE=EDGE\" />\r\n-\r\n-    <!-- Mobile meta tags-->\r\n-    <meta name=\"HandheldFriendly\" content=\"True\">\r\n-    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no\" />\r\n-\t<meta name=\"MobileOptimized\" content=\"320\"/>\r\n-\t<meta name=\"apple-mobile-web-app-capable\" content=\"yes\">\r\n-\t<meta http-equiv=\"cleartype\" content=\"on\">\r\n-\r\n-\t<!-- Facebook meta tags-->\r\n-\t<meta property=\"og:title\" content=\"350 Mega Map\"/>\r\n-\t<meta property=\"og:type\" content=\"website\"/>\r\n-\t<meta property=\"og:url\" content=\"http://map.350.org/\"/>\r\n-\t<meta property=\"og:image\" content=\"http://350.org/sites/all/themes/threefifty/logo.gif\"/>\r\n-\t<meta property=\"og:site_name\" content=\"350 Mega Map\"/>\r\n-\t<meta property=\"og:description\" content=\"Mapping a variety of local 350 groups, events and climate actions around the world.\" />\r\n-\r\n-\t<!-- Twitter meta tags -->\r\n-\t<meta property=\"twitter:site\" content=\"@350\">\r\n-\t<meta property=\"twitter:card\" content=\"350 Mega Map\">\r\n-\t<meta property=\"twitter:url\" content=\"http://map.350.org\">\r\n-\t<meta property=\"twitter:title\" content=\"350 Mega Map\">\r\n-\t<meta property=\"twitter:description\" content=\"Mapping a variety of local 350 groups, events and climate actions around the world.\">\r\n-\t<meta property=\"twitter:image\" content=\"http://350.org/sites/all/themes/threefifty/logo.gif\">\r\n-\r\n-        <link rel=\"stylesheet\" href=\"css/leaflet.css\" />\r\n-        <!--[if lte IE 8]>\r\n-            <link rel=\"stylesheet\" href=\"//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.ie.css\" />\r\n-            <![endif]-->\r\n-            <!--[if IE]>\r\n-            <style type=\"text/css\">.leaflet-top { top: 60px; }</style>\r\n-            <![endit]-->\r\n-        <script src=\"//cdnjs.cloudflare.com/ajax/libs/leaflet/0.7.7/leaflet.js\"></script>\r\n-\r\n-\t<!-- Javascript -->\r\n-\t<script type=\"text/javascript\" src=\"js/jquery-1.9.1.min.js\"></script>\r\n-\r\n-        <script type=\"text/javascript\" src=\"markercluster/leaflet.markercluster.js\"></script>\r\n-        <link rel=\"stylesheet\" href=\"markercluster/MarkerCluster.css\" />\r\n-        <link rel=\"stylesheet\" href=\"markercluster/MarkerCluster.Default.css\" />\r\n-        <!--[if lte IE 8]><link rel=\"stylesheet\" href=\"markercluster/MarkerCluster.Default.ie.css\" /><![endif]-->\r\n-\r\n-        <script src=\"//cdn.jsdelivr.net/leaflet.esri/1.0.3/esri-leaflet.js\"></script>\r\n-        \r\n-\r\n-        <script src=\"geosearch/js/l.control.geosearch.js\"></script>\r\n-        <script src=\"geosearch/js/l.geosearch.provider.google.js\"></script>\r\n-        <link rel=\"stylesheet\" href=\"geosearch/css/l.geosearch.css\" />\r\n-\r\n-        <script src=\"addmarker/Control.AddMarker.js\"></script>\r\n-        <link rel=\"stylesheet\" href=\"addmarker/addmarker.css\" />\r\n-        <!--[if lte IE 8]><link rel=\"stylesheet\" href=\"addmarker/addmarker.ie.css\" /><![endif]-->\r\n-\r\n-        <script src=\"js/leaflet.control.legendlayers.js\"></script>\r\n-\r\n-\t<link rel=\"stylesheet\" href=\"css/bootstrap.min.css\" />\r\n-\t<link rel=\"stylesheet\" href=\"css/bootstrap-responsive.min.css\" />\r\n-\t<link rel=\"stylesheet\" href=\"//s3.amazonaws.com/s3.350.org/images/350-megamap-style.css\" />\r\n-\r\n-\t<script type=\"text/javascript\" src=\"js/tabletop.js\"></script>\r\n-\t<script type=\"text/javascript\" src=\"js/handlebars.js\"></script>\r\n-\r\n-        <script id=\"handlebars_template\" type=\"text/x-handlebars-template\">\r","path":"index.html","position":71,"original_position":71,"commit_id":"6f240fcc166515a6aa17accdf33323d08d63c468","original_commit_id":"6f240fcc166515a6aa17accdf33323d08d63c468","user":{"login":"pamo","id":784889,"avatar_url":"https://avatars.githubusercontent.com/u/784889?v=3","gravatar_id":"","url":"https://api.github.com/users/pamo","html_url":"https://github.com/pamo","followers_url":"https://api.github.com/users/pamo/followers","following_url":"https://api.github.com/users/pamo/following{/other_user}","gists_url":"https://api.github.com/users/pamo/gists{/gist_id}","starred_url":"https://api.github.com/users/pamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamo/subscriptions","organizations_url":"https://api.github.com/users/pamo/orgs","repos_url":"https://api.github.com/users/pamo/repos","events_url":"https://api.github.com/users/pamo/events{/privacy}","received_events_url":"https://api.github.com/users/pamo/received_events","type":"User","site_admin":false},"body":"We inlined everything between the script tags [on line 109](https://github.com/350dotorg/350map.org/pull/1/files#diff-2f86cb96a0233e7cb3b6f03ad573be0bR109) in script.js","created_at":"2016-04-25T17:49:20Z","updated_at":"2016-04-25T17:49:20Z","html_url":"https://github.com/350dotorg/350map.org/pull/1#discussion_r60956465","pull_request_url":"https://api.github.com/repos/350dotorg/350map.org/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/350dotorg/350map.org/pulls/comments/60956465"},"html":{"href":"https://github.com/350dotorg/350map.org/pull/1#discussion_r60956465"},"pull_request":{"href":"https://api.github.com/repos/350dotorg/350map.org/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/350dotorg/350map.org/pulls/1","id":67654596,"html_url":"https://github.com/350dotorg/350map.org/pull/1","diff_url":"https://github.com/350dotorg/350map.org/pull/1.diff","patch_url":"https://github.com/350dotorg/350map.org/pull/1.patch","issue_url":"https://api.github.com/repos/350dotorg/350map.org/issues/1","number":1,"state":"open","locked":false,"title":"Refactor","user":{"login":"pamo","id":784889,"avatar_url":"https://avatars.githubusercontent.com/u/784889?v=3","gravatar_id":"","url":"https://api.github.com/users/pamo","html_url":"https://github.com/pamo","followers_url":"https://api.github.com/users/pamo/followers","following_url":"https://api.github.com/users/pamo/following{/other_user}","gists_url":"https://api.github.com/users/pamo/gists{/gist_id}","starred_url":"https://api.github.com/users/pamo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pamo/subscriptions","organizations_url":"https://api.github.com/users/pamo/orgs","repos_url":"https://api.github.com/users/pamo/repos","events_url":"https://api.github.com/users/pamo/events{/privacy}","received_events_url":"https://api.github.com/users/pamo/received_events","type":"User","site_admin":false},"body":"Takes things off the window object and inlines handlebars template into the javascript.","created_at":"2016-04-25T00:02:57Z","updated_at":"2016-04-25T17:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"819c88a06116899beadca34632eccb2633ab7c58","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/350dotorg/350map.org/pulls/1/commits","review_comments_url":"https://api.github.com/repos/350dotorg/350map.org/pulls/1/comments","review_comment_url":"https://api.github.com/repos/350dotorg/350map.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/350dotorg/350map.org/issues/1/comments","statuses_url":"https://api.github.com/repos/350dotorg/350map.org/statuses/6f240fcc166515a6aa17accdf33323d08d63c468","head":{"label":"thoughtworks:refactor","ref":"refactor","sha":"6f240fcc166515a6aa17accdf33323d08d63c468","user":{"login":"thoughtworks","id":18878,"avatar_url":"https://avatars.githubusercontent.com/u/18878?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtworks","html_url":"https://github.com/thoughtworks","followers_url":"https://api.github.com/users/thoughtworks/followers","following_url":"https://api.github.com/users/thoughtworks/following{/other_user}","gists_url":"https://api.github.com/users/thoughtworks/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtworks/subscriptions","organizations_url":"https://api.github.com/users/thoughtworks/orgs","repos_url":"https://api.github.com/users/thoughtworks/repos","events_url":"https://api.github.com/users/thoughtworks/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtworks/received_events","type":"Organization","site_admin":false},"repo":{"id":56813601,"name":"350map.org","full_name":"thoughtworks/350map.org","owner":{"login":"thoughtworks","id":18878,"avatar_url":"https://avatars.githubusercontent.com/u/18878?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtworks","html_url":"https://github.com/thoughtworks","followers_url":"https://api.github.com/users/thoughtworks/followers","following_url":"https://api.github.com/users/thoughtworks/following{/other_user}","gists_url":"https://api.github.com/users/thoughtworks/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtworks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtworks/subscriptions","organizations_url":"https://api.github.com/users/thoughtworks/orgs","repos_url":"https://api.github.com/users/thoughtworks/repos","events_url":"https://api.github.com/users/thoughtworks/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtworks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtworks/350map.org","description":"","fork":true,"url":"https://api.github.com/repos/thoughtworks/350map.org","forks_url":"https://api.github.com/repos/thoughtworks/350map.org/forks","keys_url":"https://api.github.com/repos/thoughtworks/350map.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtworks/350map.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtworks/350map.org/teams","hooks_url":"https://api.github.com/repos/thoughtworks/350map.org/hooks","issue_events_url":"https://api.github.com/repos/thoughtworks/350map.org/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtworks/350map.org/events","assignees_url":"https://api.github.com/repos/thoughtworks/350map.org/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtworks/350map.org/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtworks/350map.org/tags","blobs_url":"https://api.github.com/repos/thoughtworks/350map.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtworks/350map.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtworks/350map.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtworks/350map.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtworks/350map.org/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtworks/350map.org/languages","stargazers_url":"https://api.github.com/repos/thoughtworks/350map.org/stargazers","contributors_url":"https://api.github.com/repos/thoughtworks/350map.org/contributors","subscribers_url":"https://api.github.com/repos/thoughtworks/350map.org/subscribers","subscription_url":"https://api.github.com/repos/thoughtworks/350map.org/subscription","commits_url":"https://api.github.com/repos/thoughtworks/350map.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtworks/350map.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtworks/350map.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtworks/350map.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtworks/350map.org/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtworks/350map.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtworks/350map.org/merges","archive_url":"https://api.github.com/repos/thoughtworks/350map.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtworks/350map.org/downloads","issues_url":"https://api.github.com/repos/thoughtworks/350map.org/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtworks/350map.org/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtworks/350map.org/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtworks/350map.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtworks/350map.org/labels{/name}","releases_url":"https://api.github.com/repos/thoughtworks/350map.org/releases{/id}","deployments_url":"https://api.github.com/repos/thoughtworks/350map.org/deployments","created_at":"2016-04-22T00:18:16Z","updated_at":"2016-04-22T00:18:18Z","pushed_at":"2016-04-25T00:01:30Z","git_url":"git://github.com/thoughtworks/350map.org.git","ssh_url":"git@github.com:thoughtworks/350map.org.git","clone_url":"https://github.com/thoughtworks/350map.org.git","svn_url":"https://github.com/thoughtworks/350map.org","homepage":null,"size":2207,"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":"gh-pages"}},"base":{"label":"350dotorg:gh-pages","ref":"gh-pages","sha":"9b19336eae94125f5f804ef5d8c46f92316ed008","user":{"login":"350dotorg","id":1448136,"avatar_url":"https://avatars.githubusercontent.com/u/1448136?v=3","gravatar_id":"","url":"https://api.github.com/users/350dotorg","html_url":"https://github.com/350dotorg","followers_url":"https://api.github.com/users/350dotorg/followers","following_url":"https://api.github.com/users/350dotorg/following{/other_user}","gists_url":"https://api.github.com/users/350dotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/350dotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/350dotorg/subscriptions","organizations_url":"https://api.github.com/users/350dotorg/orgs","repos_url":"https://api.github.com/users/350dotorg/repos","events_url":"https://api.github.com/users/350dotorg/events{/privacy}","received_events_url":"https://api.github.com/users/350dotorg/received_events","type":"Organization","site_admin":false},"repo":{"id":55082685,"name":"350map.org","full_name":"350dotorg/350map.org","owner":{"login":"350dotorg","id":1448136,"avatar_url":"https://avatars.githubusercontent.com/u/1448136?v=3","gravatar_id":"","url":"https://api.github.com/users/350dotorg","html_url":"https://github.com/350dotorg","followers_url":"https://api.github.com/users/350dotorg/followers","following_url":"https://api.github.com/users/350dotorg/following{/other_user}","gists_url":"https://api.github.com/users/350dotorg/gists{/gist_id}","starred_url":"https://api.github.com/users/350dotorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/350dotorg/subscriptions","organizations_url":"https://api.github.com/users/350dotorg/orgs","repos_url":"https://api.github.com/users/350dotorg/repos","events_url":"https://api.github.com/users/350dotorg/events{/privacy}","received_events_url":"https://api.github.com/users/350dotorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/350dotorg/350map.org","description":"","fork":false,"url":"https://api.github.com/repos/350dotorg/350map.org","forks_url":"https://api.github.com/repos/350dotorg/350map.org/forks","keys_url":"https://api.github.com/repos/350dotorg/350map.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/350dotorg/350map.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/350dotorg/350map.org/teams","hooks_url":"https://api.github.com/repos/350dotorg/350map.org/hooks","issue_events_url":"https://api.github.com/repos/350dotorg/350map.org/issues/events{/number}","events_url":"https://api.github.com/repos/350dotorg/350map.org/events","assignees_url":"https://api.github.com/repos/350dotorg/350map.org/assignees{/user}","branches_url":"https://api.github.com/repos/350dotorg/350map.org/branches{/branch}","tags_url":"https://api.github.com/repos/350dotorg/350map.org/tags","blobs_url":"https://api.github.com/repos/350dotorg/350map.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/350dotorg/350map.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/350dotorg/350map.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/350dotorg/350map.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/350dotorg/350map.org/statuses/{sha}","languages_url":"https://api.github.com/repos/350dotorg/350map.org/languages","stargazers_url":"https://api.github.com/repos/350dotorg/350map.org/stargazers","contributors_url":"https://api.github.com/repos/350dotorg/350map.org/contributors","subscribers_url":"https://api.github.com/repos/350dotorg/350map.org/subscribers","subscription_url":"https://api.github.com/repos/350dotorg/350map.org/subscription","commits_url":"https://api.github.com/repos/350dotorg/350map.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/350dotorg/350map.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/350dotorg/350map.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/350dotorg/350map.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/350dotorg/350map.org/contents/{+path}","compare_url":"https://api.github.com/repos/350dotorg/350map.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/350dotorg/350map.org/merges","archive_url":"https://api.github.com/repos/350dotorg/350map.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/350dotorg/350map.org/downloads","issues_url":"https://api.github.com/repos/350dotorg/350map.org/issues{/number}","pulls_url":"https://api.github.com/repos/350dotorg/350map.org/pulls{/number}","milestones_url":"https://api.github.com/repos/350dotorg/350map.org/milestones{/number}","notifications_url":"https://api.github.com/repos/350dotorg/350map.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/350dotorg/350map.org/labels{/name}","releases_url":"https://api.github.com/repos/350dotorg/350map.org/releases{/id}","deployments_url":"https://api.github.com/repos/350dotorg/350map.org/deployments","created_at":"2016-03-30T17:22:25Z","updated_at":"2016-03-30T17:23:20Z","pushed_at":"2016-04-25T00:02:57Z","git_url":"git://github.com/350dotorg/350map.org.git","ssh_url":"git@github.com:350dotorg/350map.org.git","clone_url":"https://github.com/350dotorg/350map.org.git","svn_url":"https://github.com/350dotorg/350map.org","homepage":null,"size":2200,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/350dotorg/350map.org/pulls/1"},"html":{"href":"https://github.com/350dotorg/350map.org/pull/1"},"issue":{"href":"https://api.github.com/repos/350dotorg/350map.org/issues/1"},"comments":{"href":"https://api.github.com/repos/350dotorg/350map.org/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/350dotorg/350map.org/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/350dotorg/350map.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/350dotorg/350map.org/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/350dotorg/350map.org/statuses/6f240fcc166515a6aa17accdf33323d08d63c468"}}}}