{"action":"created","comment":{"url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/comments/27178824","id":27178824,"diff_hunk":"@@ -0,0 +1,86 @@\n+\tvar FindStopsView = Backbone.View.extend({\n+\t    id: 'find-stops-view',\n+\n+\t    template: _.template($('#find-stops-view-template').html()),\n+\n+\t\tevents: {\n+\t\t\t'click #locate': 'locate',\n+\t\t\t'click #search': 'search'\n+\t\t},\n+\n+\t    initialize: function() {\n+\t        this.collection = new Backbone.Collection([], {model: Stop});\n+\t        this.collection.on('add', this.addStop, this);\n+\t        this.collection.once('sync', function() {App.MapView.setBounds();}, this);\n+\n+\t        App.MapView.clear();\n+\t        App.MapView.setOnCenterChangedEvent($.proxy(this.findClosestStops, this));\n+\t        $(window).resize($.proxy(this.resize, this));\n+\n+\t        if(this.options.location) {\n+\t            App.ContentView.once('contentChanged', function() {\n+\t                this.onUserLocated(this.options.location);\n+\t            }, this);\n+\t        } else {\n+                this.locate();\n+            }\n+\t\t},\n+\n+\t\trender: function() {\n+\t\t    this.$el.html(this.template());\n+\n+\t\t    this.resize();\n+\t\t    this.$('.mapcanvas').html(App.MapView.el);\n+\t\t\tthis.$('.mapcanvas').show();\n+\n+\t\t\treturn this;\n+\t\t},\n+\n+\t\tresize: function() {\n+\t\t    App.MapView.$el.height(window.innerHeight - $('.navbar').outerHeight(true) - this.$('#find-options').outerHeight(true));\n+\t\t    App.MapView.resize();\n+\t\t\tApp.MapView.setBounds();\n+\t\t},\n+\n+\t\taddStop: function(stop) {\n+\t\t    App.MapView.createStopMarker(stop, true, function() {","path":"js/findstops.js","position":46,"original_position":46,"commit_id":"98b20941e0d8b18e9e6eb5c017bac39f31e74980","original_commit_id":"98b20941e0d8b18e9e6eb5c017bac39f31e74980","user":{"login":"wbprice","id":2590422,"avatar_url":"https://avatars.githubusercontent.com/u/2590422?v=3","gravatar_id":"","url":"https://api.github.com/users/wbprice","html_url":"https://github.com/wbprice","followers_url":"https://api.github.com/users/wbprice/followers","following_url":"https://api.github.com/users/wbprice/following{/other_user}","gists_url":"https://api.github.com/users/wbprice/gists{/gist_id}","starred_url":"https://api.github.com/users/wbprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wbprice/subscriptions","organizations_url":"https://api.github.com/users/wbprice/orgs","repos_url":"https://api.github.com/users/wbprice/repos","events_url":"https://api.github.com/users/wbprice/events{/privacy}","received_events_url":"https://api.github.com/users/wbprice/received_events","type":"User","site_admin":false},"body":"remove from namespace","created_at":"2015-03-26T00:03:14Z","updated_at":"2015-03-26T00:03:14Z","html_url":"https://github.com/Code4HR/hrt-bus-finder/pull/140#discussion_r27178824","pull_request_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140","_links":{"self":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/comments/27178824"},"html":{"href":"https://github.com/Code4HR/hrt-bus-finder/pull/140#discussion_r27178824"},"pull_request":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140"}}},"pull_request":{"url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140","id":31977601,"html_url":"https://github.com/Code4HR/hrt-bus-finder/pull/140","diff_url":"https://github.com/Code4HR/hrt-bus-finder/pull/140.diff","patch_url":"https://github.com/Code4HR/hrt-bus-finder/pull/140.patch","issue_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues/140","number":140,"state":"open","locked":false,"title":"Split version","user":{"login":"washt","id":2917298,"avatar_url":"https://avatars.githubusercontent.com/u/2917298?v=3","gravatar_id":"","url":"https://api.github.com/users/washt","html_url":"https://github.com/washt","followers_url":"https://api.github.com/users/washt/followers","following_url":"https://api.github.com/users/washt/following{/other_user}","gists_url":"https://api.github.com/users/washt/gists{/gist_id}","starred_url":"https://api.github.com/users/washt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washt/subscriptions","organizations_url":"https://api.github.com/users/washt/orgs","repos_url":"https://api.github.com/users/washt/repos","events_url":"https://api.github.com/users/washt/events{/privacy}","received_events_url":"https://api.github.com/users/washt/received_events","type":"User","site_admin":false},"body":"Sliced up and Diced up","created_at":"2015-03-25T23:48:27Z","updated_at":"2015-03-26T00:03:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a1f4748c8ce9f6e513d6df67618a22f04993af26","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140/commits","review_comments_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140/comments","review_comment_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues/140/comments","statuses_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/statuses/98b20941e0d8b18e9e6eb5c017bac39f31e74980","head":{"label":"washt:split-version","ref":"split-version","sha":"98b20941e0d8b18e9e6eb5c017bac39f31e74980","user":{"login":"washt","id":2917298,"avatar_url":"https://avatars.githubusercontent.com/u/2917298?v=3","gravatar_id":"","url":"https://api.github.com/users/washt","html_url":"https://github.com/washt","followers_url":"https://api.github.com/users/washt/followers","following_url":"https://api.github.com/users/washt/following{/other_user}","gists_url":"https://api.github.com/users/washt/gists{/gist_id}","starred_url":"https://api.github.com/users/washt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washt/subscriptions","organizations_url":"https://api.github.com/users/washt/orgs","repos_url":"https://api.github.com/users/washt/repos","events_url":"https://api.github.com/users/washt/events{/privacy}","received_events_url":"https://api.github.com/users/washt/received_events","type":"User","site_admin":false},"repo":{"id":32897464,"name":"hrt-bus-finder","full_name":"washt/hrt-bus-finder","owner":{"login":"washt","id":2917298,"avatar_url":"https://avatars.githubusercontent.com/u/2917298?v=3","gravatar_id":"","url":"https://api.github.com/users/washt","html_url":"https://github.com/washt","followers_url":"https://api.github.com/users/washt/followers","following_url":"https://api.github.com/users/washt/following{/other_user}","gists_url":"https://api.github.com/users/washt/gists{/gist_id}","starred_url":"https://api.github.com/users/washt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/washt/subscriptions","organizations_url":"https://api.github.com/users/washt/orgs","repos_url":"https://api.github.com/users/washt/repos","events_url":"https://api.github.com/users/washt/events{/privacy}","received_events_url":"https://api.github.com/users/washt/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/washt/hrt-bus-finder","description":"Web app for the HRT bus API, GitHub Pages, @bschoenfeld and @wbprice","fork":true,"url":"https://api.github.com/repos/washt/hrt-bus-finder","forks_url":"https://api.github.com/repos/washt/hrt-bus-finder/forks","keys_url":"https://api.github.com/repos/washt/hrt-bus-finder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/washt/hrt-bus-finder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/washt/hrt-bus-finder/teams","hooks_url":"https://api.github.com/repos/washt/hrt-bus-finder/hooks","issue_events_url":"https://api.github.com/repos/washt/hrt-bus-finder/issues/events{/number}","events_url":"https://api.github.com/repos/washt/hrt-bus-finder/events","assignees_url":"https://api.github.com/repos/washt/hrt-bus-finder/assignees{/user}","branches_url":"https://api.github.com/repos/washt/hrt-bus-finder/branches{/branch}","tags_url":"https://api.github.com/repos/washt/hrt-bus-finder/tags","blobs_url":"https://api.github.com/repos/washt/hrt-bus-finder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/washt/hrt-bus-finder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/washt/hrt-bus-finder/git/refs{/sha}","trees_url":"https://api.github.com/repos/washt/hrt-bus-finder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/washt/hrt-bus-finder/statuses/{sha}","languages_url":"https://api.github.com/repos/washt/hrt-bus-finder/languages","stargazers_url":"https://api.github.com/repos/washt/hrt-bus-finder/stargazers","contributors_url":"https://api.github.com/repos/washt/hrt-bus-finder/contributors","subscribers_url":"https://api.github.com/repos/washt/hrt-bus-finder/subscribers","subscription_url":"https://api.github.com/repos/washt/hrt-bus-finder/subscription","commits_url":"https://api.github.com/repos/washt/hrt-bus-finder/commits{/sha}","git_commits_url":"https://api.github.com/repos/washt/hrt-bus-finder/git/commits{/sha}","comments_url":"https://api.github.com/repos/washt/hrt-bus-finder/comments{/number}","issue_comment_url":"https://api.github.com/repos/washt/hrt-bus-finder/issues/comments{/number}","contents_url":"https://api.github.com/repos/washt/hrt-bus-finder/contents/{+path}","compare_url":"https://api.github.com/repos/washt/hrt-bus-finder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/washt/hrt-bus-finder/merges","archive_url":"https://api.github.com/repos/washt/hrt-bus-finder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/washt/hrt-bus-finder/downloads","issues_url":"https://api.github.com/repos/washt/hrt-bus-finder/issues{/number}","pulls_url":"https://api.github.com/repos/washt/hrt-bus-finder/pulls{/number}","milestones_url":"https://api.github.com/repos/washt/hrt-bus-finder/milestones{/number}","notifications_url":"https://api.github.com/repos/washt/hrt-bus-finder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/washt/hrt-bus-finder/labels{/name}","releases_url":"https://api.github.com/repos/washt/hrt-bus-finder/releases{/id}","created_at":"2015-03-25T23:45:54Z","updated_at":"2015-03-25T23:45:54Z","pushed_at":"2015-03-25T23:47:54Z","git_url":"git://github.com/washt/hrt-bus-finder.git","ssh_url":"git@github.com:washt/hrt-bus-finder.git","clone_url":"https://github.com/washt/hrt-bus-finder.git","svn_url":"https://github.com/washt/hrt-bus-finder","homepage":"hrtb.us","size":2444,"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":"gh-pages"}},"base":{"label":"Code4HR:split-version","ref":"split-version","sha":"10e67ce25d489fcbe4d43928b9daa1c806595058","user":{"login":"Code4HR","id":1490563,"avatar_url":"https://avatars.githubusercontent.com/u/1490563?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4HR","html_url":"https://github.com/Code4HR","followers_url":"https://api.github.com/users/Code4HR/followers","following_url":"https://api.github.com/users/Code4HR/following{/other_user}","gists_url":"https://api.github.com/users/Code4HR/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4HR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4HR/subscriptions","organizations_url":"https://api.github.com/users/Code4HR/orgs","repos_url":"https://api.github.com/users/Code4HR/repos","events_url":"https://api.github.com/users/Code4HR/events{/privacy}","received_events_url":"https://api.github.com/users/Code4HR/received_events","type":"Organization","site_admin":false},"repo":{"id":10423858,"name":"hrt-bus-finder","full_name":"Code4HR/hrt-bus-finder","owner":{"login":"Code4HR","id":1490563,"avatar_url":"https://avatars.githubusercontent.com/u/1490563?v=3","gravatar_id":"","url":"https://api.github.com/users/Code4HR","html_url":"https://github.com/Code4HR","followers_url":"https://api.github.com/users/Code4HR/followers","following_url":"https://api.github.com/users/Code4HR/following{/other_user}","gists_url":"https://api.github.com/users/Code4HR/gists{/gist_id}","starred_url":"https://api.github.com/users/Code4HR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Code4HR/subscriptions","organizations_url":"https://api.github.com/users/Code4HR/orgs","repos_url":"https://api.github.com/users/Code4HR/repos","events_url":"https://api.github.com/users/Code4HR/events{/privacy}","received_events_url":"https://api.github.com/users/Code4HR/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Code4HR/hrt-bus-finder","description":"Web app for the HRT bus API, GitHub Pages, @bschoenfeld and @wbprice","fork":false,"url":"https://api.github.com/repos/Code4HR/hrt-bus-finder","forks_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/forks","keys_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/teams","hooks_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/hooks","issue_events_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues/events{/number}","events_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/events","assignees_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/assignees{/user}","branches_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/branches{/branch}","tags_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/tags","blobs_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/git/refs{/sha}","trees_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/statuses/{sha}","languages_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/languages","stargazers_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/stargazers","contributors_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/contributors","subscribers_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/subscribers","subscription_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/subscription","commits_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/commits{/sha}","git_commits_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/git/commits{/sha}","comments_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/comments{/number}","issue_comment_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues/comments{/number}","contents_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/contents/{+path}","compare_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/merges","archive_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/downloads","issues_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues{/number}","pulls_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls{/number}","milestones_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/milestones{/number}","notifications_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/labels{/name}","releases_url":"https://api.github.com/repos/Code4HR/hrt-bus-finder/releases{/id}","created_at":"2013-06-01T15:02:08Z","updated_at":"2015-03-20T00:58:28Z","pushed_at":"2015-03-25T23:48:30Z","git_url":"git://github.com/Code4HR/hrt-bus-finder.git","ssh_url":"git@github.com:Code4HR/hrt-bus-finder.git","clone_url":"https://github.com/Code4HR/hrt-bus-finder.git","svn_url":"https://github.com/Code4HR/hrt-bus-finder","homepage":"hrtb.us","size":2444,"stargazers_count":12,"watchers_count":12,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":26,"mirror_url":null,"open_issues_count":28,"forks":26,"open_issues":28,"watchers":12,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140"},"html":{"href":"https://github.com/Code4HR/hrt-bus-finder/pull/140"},"issue":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues/140"},"comments":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/issues/140/comments"},"review_comments":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140/comments"},"review_comment":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/pulls/140/commits"},"statuses":{"href":"https://api.github.com/repos/Code4HR/hrt-bus-finder/statuses/98b20941e0d8b18e9e6eb5c017bac39f31e74980"}}}}