{"action":"created","comment":{"url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/comments/67833878","id":67833878,"diff_hunk":"@@ -42,6 +43,12 @@ angular.module('kibibitCodeEditor')\n \n   vm.settings = SettingsService.settings;\n \n+  vm.saveCurrentEditor = function(openFilePath) {\n+    if(vm.settings.currentEditor && openFilePath) {\n+      FileService.saveFile(openFilePath, vm.settings.currentEditor.getSession().getDocument().getValue(), function() { console.info('saved file: ' + openFilePath) });","path":"public/app/components/menuBar/menuBar.js","position":16,"original_position":16,"commit_id":"29387d109fd2e19a8db201ba832ba3af42f3ae29","original_commit_id":"29387d109fd2e19a8db201ba832ba3af42f3ae29","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Missing semicolon after statement<br>Line must be at most 80 characters","created_at":"2016-06-21T09:12:56Z","updated_at":"2016-06-21T09:12:56Z","html_url":"https://github.com/Kibibit/kibibit-code-editor/pull/145#discussion_r67833878","pull_request_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145","_links":{"self":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/comments/67833878"},"html":{"href":"https://github.com/Kibibit/kibibit-code-editor/pull/145#discussion_r67833878"},"pull_request":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145"}}},"pull_request":{"url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145","id":74575942,"html_url":"https://github.com/Kibibit/kibibit-code-editor/pull/145","diff_url":"https://github.com/Kibibit/kibibit-code-editor/pull/145.diff","patch_url":"https://github.com/Kibibit/kibibit-code-editor/pull/145.patch","issue_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/145","number":145,"state":"open","locked":false,"title":"[TRY THIS OUT FIRST ON REMOTE] Save files back to server","user":{"login":"Thatkookooguy","id":10427304,"avatar_url":"https://avatars.githubusercontent.com/u/10427304?v=3","gravatar_id":"","url":"https://api.github.com/users/Thatkookooguy","html_url":"https://github.com/Thatkookooguy","followers_url":"https://api.github.com/users/Thatkookooguy/followers","following_url":"https://api.github.com/users/Thatkookooguy/following{/other_user}","gists_url":"https://api.github.com/users/Thatkookooguy/gists{/gist_id}","starred_url":"https://api.github.com/users/Thatkookooguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Thatkookooguy/subscriptions","organizations_url":"https://api.github.com/users/Thatkookooguy/orgs","repos_url":"https://api.github.com/users/Thatkookooguy/repos","events_url":"https://api.github.com/users/Thatkookooguy/events{/privacy}","received_events_url":"https://api.github.com/users/Thatkookooguy/received_events","type":"User","site_admin":false},"body":"# Change Summary\r\n\r\n - FUCKING SAVE FILES!!!! [resolves #144]\r\n \r\n > We can now save already existing files :-) Later, when we'll start to add more keyboard shortcuts, we should add a `cmd + s` \\ `ctrl + s` shortcut to save quickly\r\n \r\n## More info\r\n\r\nhow exciting! :grin:\r\n\r\nBefore you submit a PR, make sure you did the following things:\r\n- [x] did you link this PR to an issue?\r\n- [x] did you lint your changes to both javascript and scss?\r\n- [x] \"I'm pretty sure I'll be able to read and understand this PR, even if I wasn't the author.\" - ***said the PR author***\r\n\r\n","created_at":"2016-06-21T09:12:51Z","updated_at":"2016-06-21T09:12:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d000c4102e62cdb81662635f58ce38f4af81e34","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145/commits","review_comments_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145/comments","review_comment_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/145/comments","statuses_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/statuses/29387d109fd2e19a8db201ba832ba3af42f3ae29","head":{"label":"Kibibit:feature-save-existing-files","ref":"feature-save-existing-files","sha":"29387d109fd2e19a8db201ba832ba3af42f3ae29","user":{"login":"Kibibit","id":14274940,"avatar_url":"https://avatars.githubusercontent.com/u/14274940?v=3","gravatar_id":"","url":"https://api.github.com/users/Kibibit","html_url":"https://github.com/Kibibit","followers_url":"https://api.github.com/users/Kibibit/followers","following_url":"https://api.github.com/users/Kibibit/following{/other_user}","gists_url":"https://api.github.com/users/Kibibit/gists{/gist_id}","starred_url":"https://api.github.com/users/Kibibit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kibibit/subscriptions","organizations_url":"https://api.github.com/users/Kibibit/orgs","repos_url":"https://api.github.com/users/Kibibit/repos","events_url":"https://api.github.com/users/Kibibit/events{/privacy}","received_events_url":"https://api.github.com/users/Kibibit/received_events","type":"Organization","site_admin":false},"repo":{"id":42446984,"name":"kibibit-code-editor","full_name":"Kibibit/kibibit-code-editor","owner":{"login":"Kibibit","id":14274940,"avatar_url":"https://avatars.githubusercontent.com/u/14274940?v=3","gravatar_id":"","url":"https://api.github.com/users/Kibibit","html_url":"https://github.com/Kibibit","followers_url":"https://api.github.com/users/Kibibit/followers","following_url":"https://api.github.com/users/Kibibit/following{/other_user}","gists_url":"https://api.github.com/users/Kibibit/gists{/gist_id}","starred_url":"https://api.github.com/users/Kibibit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kibibit/subscriptions","organizations_url":"https://api.github.com/users/Kibibit/orgs","repos_url":"https://api.github.com/users/Kibibit/repos","events_url":"https://api.github.com/users/Kibibit/events{/privacy}","received_events_url":"https://api.github.com/users/Kibibit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kibibit/kibibit-code-editor","description":"code editor in the cloud :computer:","fork":false,"url":"https://api.github.com/repos/Kibibit/kibibit-code-editor","forks_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/forks","keys_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/teams","hooks_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/hooks","issue_events_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/events{/number}","events_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/events","assignees_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/assignees{/user}","branches_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/branches{/branch}","tags_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/tags","blobs_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/languages","stargazers_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/stargazers","contributors_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/contributors","subscribers_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/subscribers","subscription_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/subscription","commits_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/contents/{+path}","compare_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/merges","archive_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/downloads","issues_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues{/number}","pulls_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/labels{/name}","releases_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/releases{/id}","deployments_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/deployments","created_at":"2015-09-14T12:23:43Z","updated_at":"2016-05-18T15:24:30Z","pushed_at":"2016-06-21T09:12:51Z","git_url":"git://github.com/Kibibit/kibibit-code-editor.git","ssh_url":"git@github.com:Kibibit/kibibit-code-editor.git","clone_url":"https://github.com/Kibibit/kibibit-code-editor.git","svn_url":"https://github.com/Kibibit/kibibit-code-editor","homepage":"","size":16767,"stargazers_count":4,"watchers_count":4,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":4,"default_branch":"master"}},"base":{"label":"Kibibit:master","ref":"master","sha":"1fafbf69f081681aea190221cd88e141d3099187","user":{"login":"Kibibit","id":14274940,"avatar_url":"https://avatars.githubusercontent.com/u/14274940?v=3","gravatar_id":"","url":"https://api.github.com/users/Kibibit","html_url":"https://github.com/Kibibit","followers_url":"https://api.github.com/users/Kibibit/followers","following_url":"https://api.github.com/users/Kibibit/following{/other_user}","gists_url":"https://api.github.com/users/Kibibit/gists{/gist_id}","starred_url":"https://api.github.com/users/Kibibit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kibibit/subscriptions","organizations_url":"https://api.github.com/users/Kibibit/orgs","repos_url":"https://api.github.com/users/Kibibit/repos","events_url":"https://api.github.com/users/Kibibit/events{/privacy}","received_events_url":"https://api.github.com/users/Kibibit/received_events","type":"Organization","site_admin":false},"repo":{"id":42446984,"name":"kibibit-code-editor","full_name":"Kibibit/kibibit-code-editor","owner":{"login":"Kibibit","id":14274940,"avatar_url":"https://avatars.githubusercontent.com/u/14274940?v=3","gravatar_id":"","url":"https://api.github.com/users/Kibibit","html_url":"https://github.com/Kibibit","followers_url":"https://api.github.com/users/Kibibit/followers","following_url":"https://api.github.com/users/Kibibit/following{/other_user}","gists_url":"https://api.github.com/users/Kibibit/gists{/gist_id}","starred_url":"https://api.github.com/users/Kibibit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kibibit/subscriptions","organizations_url":"https://api.github.com/users/Kibibit/orgs","repos_url":"https://api.github.com/users/Kibibit/repos","events_url":"https://api.github.com/users/Kibibit/events{/privacy}","received_events_url":"https://api.github.com/users/Kibibit/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kibibit/kibibit-code-editor","description":"code editor in the cloud :computer:","fork":false,"url":"https://api.github.com/repos/Kibibit/kibibit-code-editor","forks_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/forks","keys_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/teams","hooks_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/hooks","issue_events_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/events{/number}","events_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/events","assignees_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/assignees{/user}","branches_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/branches{/branch}","tags_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/tags","blobs_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/statuses/{sha}","languages_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/languages","stargazers_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/stargazers","contributors_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/contributors","subscribers_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/subscribers","subscription_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/subscription","commits_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/contents/{+path}","compare_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/merges","archive_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/downloads","issues_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues{/number}","pulls_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls{/number}","milestones_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/milestones{/number}","notifications_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/labels{/name}","releases_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/releases{/id}","deployments_url":"https://api.github.com/repos/Kibibit/kibibit-code-editor/deployments","created_at":"2015-09-14T12:23:43Z","updated_at":"2016-05-18T15:24:30Z","pushed_at":"2016-06-21T09:12:51Z","git_url":"git://github.com/Kibibit/kibibit-code-editor.git","ssh_url":"git@github.com:Kibibit/kibibit-code-editor.git","clone_url":"https://github.com/Kibibit/kibibit-code-editor.git","svn_url":"https://github.com/Kibibit/kibibit-code-editor","homepage":"","size":16767,"stargazers_count":4,"watchers_count":4,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":23,"forks":0,"open_issues":23,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145"},"html":{"href":"https://github.com/Kibibit/kibibit-code-editor/pull/145"},"issue":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/145"},"comments":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/issues/145/comments"},"review_comments":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145/comments"},"review_comment":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/pulls/145/commits"},"statuses":{"href":"https://api.github.com/repos/Kibibit/kibibit-code-editor/statuses/29387d109fd2e19a8db201ba832ba3af42f3ae29"}}}}
{"actor":{"display_login":"houndci-bot"}}