{"action":"created","comment":{"url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/comments/28074816","id":28074816,"diff_hunk":"@@ -12,11 +15,20 @@ $(document).ready(function() {\n \t];\n \n \tvar PARTIALS = [];\n-\n+\t\n \tGDP.ADVANCED.templates = GDP.util.templateLoader('js/advanced/templates/');\n \tvar loadTemplates = GDP.ADVANCED.templates.loadTemplates(TEMPLATES);\n \tvar loadPartials = GDP.ADVANCED.templates.registerPartials(PARTIALS);\n-\t$.when(loadTemplates, loadPartials).always(function() {\n+\tvar loadConfigModel = $.when.apply(null, [$.ajax('config', {","path":"src/main/webapp/js/advanced/init.js","position":22,"original_position":22,"commit_id":"10a1e3c03faa12cb8e31bc02c365b38e64c64df8","original_commit_id":"10a1e3c03faa12cb8e31bc02c365b38e64c64df8","user":{"login":"isuftin","id":928288,"avatar_url":"https://avatars.githubusercontent.com/u/928288?v=3","gravatar_id":"","url":"https://api.github.com/users/isuftin","html_url":"https://github.com/isuftin","followers_url":"https://api.github.com/users/isuftin/followers","following_url":"https://api.github.com/users/isuftin/following{/other_user}","gists_url":"https://api.github.com/users/isuftin/gists{/gist_id}","starred_url":"https://api.github.com/users/isuftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuftin/subscriptions","organizations_url":"https://api.github.com/users/isuftin/orgs","repos_url":"https://api.github.com/users/isuftin/repos","events_url":"https://api.github.com/users/isuftin/events{/privacy}","received_events_url":"https://api.github.com/users/isuftin/received_events","type":"User","site_admin":false},"body":"Just looks like ugly code bunched in with clean code. OCD","created_at":"2015-04-09T15:54:42Z","updated_at":"2015-04-09T15:54:42Z","html_url":"https://github.com/USGS-CIDA/gdp_web/pull/18#discussion_r28074816","pull_request_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/comments/28074816"},"html":{"href":"https://github.com/USGS-CIDA/gdp_web/pull/18#discussion_r28074816"},"pull_request":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18","id":32968444,"html_url":"https://github.com/USGS-CIDA/gdp_web/pull/18","diff_url":"https://github.com/USGS-CIDA/gdp_web/pull/18.diff","patch_url":"https://github.com/USGS-CIDA/gdp_web/pull/18.patch","issue_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues/18","number":18,"state":"open","locked":false,"title":"Initial pass of loading config object","user":{"login":"isuftin","id":928288,"avatar_url":"https://avatars.githubusercontent.com/u/928288?v=3","gravatar_id":"","url":"https://api.github.com/users/isuftin","html_url":"https://github.com/isuftin","followers_url":"https://api.github.com/users/isuftin/followers","following_url":"https://api.github.com/users/isuftin/following{/other_user}","gists_url":"https://api.github.com/users/isuftin/gists{/gist_id}","starred_url":"https://api.github.com/users/isuftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuftin/subscriptions","organizations_url":"https://api.github.com/users/isuftin/orgs","repos_url":"https://api.github.com/users/isuftin/repos","events_url":"https://api.github.com/users/isuftin/events{/privacy}","received_events_url":"https://api.github.com/users/isuftin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-09T15:46:05Z","updated_at":"2015-04-09T15:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"282bb8f28f33e9011653ae217381e8fe05d7d32a","assignee":{"login":"mbucknell","id":8104736,"avatar_url":"https://avatars.githubusercontent.com/u/8104736?v=3","gravatar_id":"","url":"https://api.github.com/users/mbucknell","html_url":"https://github.com/mbucknell","followers_url":"https://api.github.com/users/mbucknell/followers","following_url":"https://api.github.com/users/mbucknell/following{/other_user}","gists_url":"https://api.github.com/users/mbucknell/gists{/gist_id}","starred_url":"https://api.github.com/users/mbucknell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbucknell/subscriptions","organizations_url":"https://api.github.com/users/mbucknell/orgs","repos_url":"https://api.github.com/users/mbucknell/repos","events_url":"https://api.github.com/users/mbucknell/events{/privacy}","received_events_url":"https://api.github.com/users/mbucknell/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18/commits","review_comments_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18/comments","review_comment_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/comments{/number}","comments_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues/18/comments","statuses_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/statuses/10a1e3c03faa12cb8e31bc02c365b38e64c64df8","head":{"label":"isuftin:master","ref":"master","sha":"10a1e3c03faa12cb8e31bc02c365b38e64c64df8","user":{"login":"isuftin","id":928288,"avatar_url":"https://avatars.githubusercontent.com/u/928288?v=3","gravatar_id":"","url":"https://api.github.com/users/isuftin","html_url":"https://github.com/isuftin","followers_url":"https://api.github.com/users/isuftin/followers","following_url":"https://api.github.com/users/isuftin/following{/other_user}","gists_url":"https://api.github.com/users/isuftin/gists{/gist_id}","starred_url":"https://api.github.com/users/isuftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuftin/subscriptions","organizations_url":"https://api.github.com/users/isuftin/orgs","repos_url":"https://api.github.com/users/isuftin/repos","events_url":"https://api.github.com/users/isuftin/events{/privacy}","received_events_url":"https://api.github.com/users/isuftin/received_events","type":"User","site_admin":false},"repo":{"id":33559347,"name":"gdp_web","full_name":"isuftin/gdp_web","owner":{"login":"isuftin","id":928288,"avatar_url":"https://avatars.githubusercontent.com/u/928288?v=3","gravatar_id":"","url":"https://api.github.com/users/isuftin","html_url":"https://github.com/isuftin","followers_url":"https://api.github.com/users/isuftin/followers","following_url":"https://api.github.com/users/isuftin/following{/other_user}","gists_url":"https://api.github.com/users/isuftin/gists{/gist_id}","starred_url":"https://api.github.com/users/isuftin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isuftin/subscriptions","organizations_url":"https://api.github.com/users/isuftin/orgs","repos_url":"https://api.github.com/users/isuftin/repos","events_url":"https://api.github.com/users/isuftin/events{/privacy}","received_events_url":"https://api.github.com/users/isuftin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/isuftin/gdp_web","description":"Web UI for Geo Data Portal","fork":true,"url":"https://api.github.com/repos/isuftin/gdp_web","forks_url":"https://api.github.com/repos/isuftin/gdp_web/forks","keys_url":"https://api.github.com/repos/isuftin/gdp_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/isuftin/gdp_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/isuftin/gdp_web/teams","hooks_url":"https://api.github.com/repos/isuftin/gdp_web/hooks","issue_events_url":"https://api.github.com/repos/isuftin/gdp_web/issues/events{/number}","events_url":"https://api.github.com/repos/isuftin/gdp_web/events","assignees_url":"https://api.github.com/repos/isuftin/gdp_web/assignees{/user}","branches_url":"https://api.github.com/repos/isuftin/gdp_web/branches{/branch}","tags_url":"https://api.github.com/repos/isuftin/gdp_web/tags","blobs_url":"https://api.github.com/repos/isuftin/gdp_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/isuftin/gdp_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/isuftin/gdp_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/isuftin/gdp_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/isuftin/gdp_web/statuses/{sha}","languages_url":"https://api.github.com/repos/isuftin/gdp_web/languages","stargazers_url":"https://api.github.com/repos/isuftin/gdp_web/stargazers","contributors_url":"https://api.github.com/repos/isuftin/gdp_web/contributors","subscribers_url":"https://api.github.com/repos/isuftin/gdp_web/subscribers","subscription_url":"https://api.github.com/repos/isuftin/gdp_web/subscription","commits_url":"https://api.github.com/repos/isuftin/gdp_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/isuftin/gdp_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/isuftin/gdp_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/isuftin/gdp_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/isuftin/gdp_web/contents/{+path}","compare_url":"https://api.github.com/repos/isuftin/gdp_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/isuftin/gdp_web/merges","archive_url":"https://api.github.com/repos/isuftin/gdp_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/isuftin/gdp_web/downloads","issues_url":"https://api.github.com/repos/isuftin/gdp_web/issues{/number}","pulls_url":"https://api.github.com/repos/isuftin/gdp_web/pulls{/number}","milestones_url":"https://api.github.com/repos/isuftin/gdp_web/milestones{/number}","notifications_url":"https://api.github.com/repos/isuftin/gdp_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/isuftin/gdp_web/labels{/name}","releases_url":"https://api.github.com/repos/isuftin/gdp_web/releases{/id}","created_at":"2015-04-07T17:59:23Z","updated_at":"2015-04-09T15:45:40Z","pushed_at":"2015-04-09T15:45:40Z","git_url":"git://github.com/isuftin/gdp_web.git","ssh_url":"git@github.com:isuftin/gdp_web.git","clone_url":"https://github.com/isuftin/gdp_web.git","svn_url":"https://github.com/isuftin/gdp_web","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":"USGS-CIDA:master","ref":"master","sha":"e93e66dd1217591a876bad37cb32401c7db265a0","user":{"login":"USGS-CIDA","id":918179,"avatar_url":"https://avatars.githubusercontent.com/u/918179?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-CIDA","html_url":"https://github.com/USGS-CIDA","followers_url":"https://api.github.com/users/USGS-CIDA/followers","following_url":"https://api.github.com/users/USGS-CIDA/following{/other_user}","gists_url":"https://api.github.com/users/USGS-CIDA/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-CIDA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-CIDA/subscriptions","organizations_url":"https://api.github.com/users/USGS-CIDA/orgs","repos_url":"https://api.github.com/users/USGS-CIDA/repos","events_url":"https://api.github.com/users/USGS-CIDA/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-CIDA/received_events","type":"Organization","site_admin":false},"repo":{"id":33559343,"name":"gdp_web","full_name":"USGS-CIDA/gdp_web","owner":{"login":"USGS-CIDA","id":918179,"avatar_url":"https://avatars.githubusercontent.com/u/918179?v=3","gravatar_id":"","url":"https://api.github.com/users/USGS-CIDA","html_url":"https://github.com/USGS-CIDA","followers_url":"https://api.github.com/users/USGS-CIDA/followers","following_url":"https://api.github.com/users/USGS-CIDA/following{/other_user}","gists_url":"https://api.github.com/users/USGS-CIDA/gists{/gist_id}","starred_url":"https://api.github.com/users/USGS-CIDA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/USGS-CIDA/subscriptions","organizations_url":"https://api.github.com/users/USGS-CIDA/orgs","repos_url":"https://api.github.com/users/USGS-CIDA/repos","events_url":"https://api.github.com/users/USGS-CIDA/events{/privacy}","received_events_url":"https://api.github.com/users/USGS-CIDA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/USGS-CIDA/gdp_web","description":"Web UI for Geo Data Portal","fork":false,"url":"https://api.github.com/repos/USGS-CIDA/gdp_web","forks_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/forks","keys_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/keys{/key_id}","collaborators_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/teams","hooks_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/hooks","issue_events_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues/events{/number}","events_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/events","assignees_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/assignees{/user}","branches_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/branches{/branch}","tags_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/tags","blobs_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/git/refs{/sha}","trees_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/git/trees{/sha}","statuses_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/statuses/{sha}","languages_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/languages","stargazers_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/stargazers","contributors_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/contributors","subscribers_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/subscribers","subscription_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/subscription","commits_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/commits{/sha}","git_commits_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/git/commits{/sha}","comments_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/comments{/number}","issue_comment_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues/comments{/number}","contents_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/contents/{+path}","compare_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/compare/{base}...{head}","merges_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/merges","archive_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/downloads","issues_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues{/number}","pulls_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls{/number}","milestones_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/milestones{/number}","notifications_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/labels{/name}","releases_url":"https://api.github.com/repos/USGS-CIDA/gdp_web/releases{/id}","created_at":"2015-04-07T17:59:18Z","updated_at":"2015-04-09T15:21:25Z","pushed_at":"2015-04-09T15:46:06Z","git_url":"git://github.com/USGS-CIDA/gdp_web.git","ssh_url":"git@github.com:USGS-CIDA/gdp_web.git","clone_url":"https://github.com/USGS-CIDA/gdp_web.git","svn_url":"https://github.com/USGS-CIDA/gdp_web","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":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18"},"html":{"href":"https://github.com/USGS-CIDA/gdp_web/pull/18"},"issue":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues/18"},"comments":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/USGS-CIDA/gdp_web/statuses/10a1e3c03faa12cb8e31bc02c365b38e64c64df8"}}}}