{"action":"created","comment":{"url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/comments/44692275","id":44692275,"diff_hunk":"@@ -7,21 +7,152 @@ define([\n \t'utils/spatialUtils',\n \t'views/BaseView',\n \t'handlebars',\n-\t'text!templates/map_filter.html'\n-], function (_, $, log, SpatialUtils, BaseView, Handlebars, filterTemplate) {\n+\t'text!templates/map_filter.html',\n+\t'AppEvents'","path":"src/main/webapp/js/views/MapFilterView.js","position":7,"original_position":7,"commit_id":"aaff10d03436315d8085639e22fafd5b183e189a","original_commit_id":"aaff10d03436315d8085639e22fafd5b183e189a","user":{"login":"cschroed-usgs","id":3419837,"avatar_url":"https://avatars.githubusercontent.com/u/3419837?v=3","gravatar_id":"","url":"https://api.github.com/users/cschroed-usgs","html_url":"https://github.com/cschroed-usgs","followers_url":"https://api.github.com/users/cschroed-usgs/followers","following_url":"https://api.github.com/users/cschroed-usgs/following{/other_user}","gists_url":"https://api.github.com/users/cschroed-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/cschroed-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschroed-usgs/subscriptions","organizations_url":"https://api.github.com/users/cschroed-usgs/orgs","repos_url":"https://api.github.com/users/cschroed-usgs/repos","events_url":"https://api.github.com/users/cschroed-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/cschroed-usgs/received_events","type":"User","site_admin":false},"body":"example injection of AppEvents here. Users access it through closure scope.","created_at":"2015-11-12T18:11:37Z","updated_at":"2015-11-12T18:11:37Z","html_url":"https://github.com/USGS-CIDA/sparrow-ui/pull/109#discussion_r44692275","pull_request_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/comments/44692275"},"html":{"href":"https://github.com/USGS-CIDA/sparrow-ui/pull/109#discussion_r44692275"},"pull_request":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109","id":50545193,"html_url":"https://github.com/USGS-CIDA/sparrow-ui/pull/109","diff_url":"https://github.com/USGS-CIDA/sparrow-ui/pull/109.diff","patch_url":"https://github.com/USGS-CIDA/sparrow-ui/pull/109.patch","issue_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues/109","number":109,"state":"open","locked":false,"title":"Huc state filtering take two","user":{"login":"cschroed-usgs","id":3419837,"avatar_url":"https://avatars.githubusercontent.com/u/3419837?v=3","gravatar_id":"","url":"https://api.github.com/users/cschroed-usgs","html_url":"https://github.com/cschroed-usgs","followers_url":"https://api.github.com/users/cschroed-usgs/followers","following_url":"https://api.github.com/users/cschroed-usgs/following{/other_user}","gists_url":"https://api.github.com/users/cschroed-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/cschroed-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschroed-usgs/subscriptions","organizations_url":"https://api.github.com/users/cschroed-usgs/orgs","repos_url":"https://api.github.com/users/cschroed-usgs/repos","events_url":"https://api.github.com/users/cschroed-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/cschroed-usgs/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-12T18:00:48Z","updated_at":"2015-11-12T18:11:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"05c62935e93caa9ddcc9060fb93ff85018d613b2","assignee":{"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},"milestone":null,"commits_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109/commits","review_comments_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109/comments","review_comment_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues/109/comments","statuses_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/statuses/aaff10d03436315d8085639e22fafd5b183e189a","head":{"label":"cschroed-usgs:hucStateFilteringTakeTwo","ref":"hucStateFilteringTakeTwo","sha":"aaff10d03436315d8085639e22fafd5b183e189a","user":{"login":"cschroed-usgs","id":3419837,"avatar_url":"https://avatars.githubusercontent.com/u/3419837?v=3","gravatar_id":"","url":"https://api.github.com/users/cschroed-usgs","html_url":"https://github.com/cschroed-usgs","followers_url":"https://api.github.com/users/cschroed-usgs/followers","following_url":"https://api.github.com/users/cschroed-usgs/following{/other_user}","gists_url":"https://api.github.com/users/cschroed-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/cschroed-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschroed-usgs/subscriptions","organizations_url":"https://api.github.com/users/cschroed-usgs/orgs","repos_url":"https://api.github.com/users/cschroed-usgs/repos","events_url":"https://api.github.com/users/cschroed-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/cschroed-usgs/received_events","type":"User","site_admin":false},"repo":{"id":43972054,"name":"sparrow-ui","full_name":"cschroed-usgs/sparrow-ui","owner":{"login":"cschroed-usgs","id":3419837,"avatar_url":"https://avatars.githubusercontent.com/u/3419837?v=3","gravatar_id":"","url":"https://api.github.com/users/cschroed-usgs","html_url":"https://github.com/cschroed-usgs","followers_url":"https://api.github.com/users/cschroed-usgs/followers","following_url":"https://api.github.com/users/cschroed-usgs/following{/other_user}","gists_url":"https://api.github.com/users/cschroed-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/cschroed-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cschroed-usgs/subscriptions","organizations_url":"https://api.github.com/users/cschroed-usgs/orgs","repos_url":"https://api.github.com/users/cschroed-usgs/repos","events_url":"https://api.github.com/users/cschroed-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/cschroed-usgs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cschroed-usgs/sparrow-ui","description":"","fork":true,"url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui","forks_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/forks","keys_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/teams","hooks_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/hooks","issue_events_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/issues/events{/number}","events_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/events","assignees_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/assignees{/user}","branches_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/branches{/branch}","tags_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/tags","blobs_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/languages","stargazers_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/stargazers","contributors_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/contributors","subscribers_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/subscribers","subscription_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/subscription","commits_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/contents/{+path}","compare_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/merges","archive_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/downloads","issues_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/issues{/number}","pulls_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/labels{/name}","releases_url":"https://api.github.com/repos/cschroed-usgs/sparrow-ui/releases{/id}","created_at":"2015-10-09T18:07:59Z","updated_at":"2015-10-09T18:08:00Z","pushed_at":"2015-11-12T17:56:46Z","git_url":"git://github.com/cschroed-usgs/sparrow-ui.git","ssh_url":"git@github.com:cschroed-usgs/sparrow-ui.git","clone_url":"https://github.com/cschroed-usgs/sparrow-ui.git","svn_url":"https://github.com/cschroed-usgs/sparrow-ui","homepage":null,"size":3698,"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":"789016a6159bcfcc60d020a36785487af44ff847","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":34001127,"name":"sparrow-ui","full_name":"USGS-CIDA/sparrow-ui","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/sparrow-ui","description":"","fork":false,"url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui","forks_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/forks","keys_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/teams","hooks_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/hooks","issue_events_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues/events{/number}","events_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/events","assignees_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/assignees{/user}","branches_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/branches{/branch}","tags_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/tags","blobs_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/languages","stargazers_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/stargazers","contributors_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/contributors","subscribers_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/subscribers","subscription_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/subscription","commits_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/contents/{+path}","compare_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/merges","archive_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/downloads","issues_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues{/number}","pulls_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/labels{/name}","releases_url":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/releases{/id}","created_at":"2015-04-15T15:10:07Z","updated_at":"2015-08-20T18:46:06Z","pushed_at":"2015-11-12T18:00:48Z","git_url":"git://github.com/USGS-CIDA/sparrow-ui.git","ssh_url":"git@github.com:USGS-CIDA/sparrow-ui.git","clone_url":"https://github.com/USGS-CIDA/sparrow-ui.git","svn_url":"https://github.com/USGS-CIDA/sparrow-ui","homepage":null,"size":4169,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7,"mirror_url":null,"open_issues_count":2,"forks":7,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109"},"html":{"href":"https://github.com/USGS-CIDA/sparrow-ui/pull/109"},"issue":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues/109"},"comments":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/USGS-CIDA/sparrow-ui/statuses/aaff10d03436315d8085639e22fafd5b183e189a"}}}}