{"action":"created","comment":{"url":"https://api.github.com/repos/systemapic/systemapic.js/pulls/comments/52017993","id":52017993,"diff_hunk":"@@ -191,10 +191,10 @@ Wu.Chrome.SettingsContent.Filters = Wu.Chrome.SettingsContent.extend({\n \t\t\tfile_id: file_id,\n \t\t\treturn_model : true,\n \t\t\tlayerUuid : layer.getUuid()\n-\t\t}\n+\t\t};\n \n \t\t// create layer on server\n-\t\tWu.post('/api/db/createLayer', JSON.stringify(layerJSON), function (err, newLayerJSON) {\n+\t\tapp.api.createLayer(layerJSON, function (err, newLayerJSON) {\n ","path":"js/src/chrome/settings/chrome.settings.filters.js","position":10,"original_position":10,"commit_id":"a5695876e72c1c308abfcc62615ccf8390040ade","original_commit_id":"a5695876e72c1c308abfcc62615ccf8390040ade","user":{"login":"knutole","id":2197944,"avatar_url":"https://avatars.githubusercontent.com/u/2197944?v=3","gravatar_id":"","url":"https://api.github.com/users/knutole","html_url":"https://github.com/knutole","followers_url":"https://api.github.com/users/knutole/followers","following_url":"https://api.github.com/users/knutole/following{/other_user}","gists_url":"https://api.github.com/users/knutole/gists{/gist_id}","starred_url":"https://api.github.com/users/knutole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knutole/subscriptions","organizations_url":"https://api.github.com/users/knutole/orgs","repos_url":"https://api.github.com/users/knutole/repos","events_url":"https://api.github.com/users/knutole/events{/privacy}","received_events_url":"https://api.github.com/users/knutole/received_events","type":"User","site_admin":false},"body":"check for err","created_at":"2016-02-05T13:59:40Z","updated_at":"2016-02-05T13:59:40Z","html_url":"https://github.com/systemapic/systemapic.js/pull/41#discussion_r52017993","pull_request_url":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/systemapic/systemapic.js/pulls/comments/52017993"},"html":{"href":"https://github.com/systemapic/systemapic.js/pull/41#discussion_r52017993"},"pull_request":{"href":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41","id":58429847,"html_url":"https://github.com/systemapic/systemapic.js/pull/41","diff_url":"https://github.com/systemapic/systemapic.js/pull/41.diff","patch_url":"https://github.com/systemapic/systemapic.js/pull/41.patch","issue_url":"https://api.github.com/repos/systemapic/systemapic.js/issues/41","number":41,"state":"open","locked":false,"title":"Refactor api calls","user":{"login":"IgorZiegler","id":10164848,"avatar_url":"https://avatars.githubusercontent.com/u/10164848?v=3","gravatar_id":"","url":"https://api.github.com/users/IgorZiegler","html_url":"https://github.com/IgorZiegler","followers_url":"https://api.github.com/users/IgorZiegler/followers","following_url":"https://api.github.com/users/IgorZiegler/following{/other_user}","gists_url":"https://api.github.com/users/IgorZiegler/gists{/gist_id}","starred_url":"https://api.github.com/users/IgorZiegler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IgorZiegler/subscriptions","organizations_url":"https://api.github.com/users/IgorZiegler/orgs","repos_url":"https://api.github.com/users/IgorZiegler/repos","events_url":"https://api.github.com/users/IgorZiegler/events{/privacy}","received_events_url":"https://api.github.com/users/IgorZiegler/received_events","type":"User","site_admin":false},"body":"Refactor few api calls","created_at":"2016-02-05T13:42:50Z","updated_at":"2016-02-05T13:59:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dceeb4a2f8f9f5173eb37cc9a6907f269c46a10a","assignee":{"login":"knutole","id":2197944,"avatar_url":"https://avatars.githubusercontent.com/u/2197944?v=3","gravatar_id":"","url":"https://api.github.com/users/knutole","html_url":"https://github.com/knutole","followers_url":"https://api.github.com/users/knutole/followers","following_url":"https://api.github.com/users/knutole/following{/other_user}","gists_url":"https://api.github.com/users/knutole/gists{/gist_id}","starred_url":"https://api.github.com/users/knutole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knutole/subscriptions","organizations_url":"https://api.github.com/users/knutole/orgs","repos_url":"https://api.github.com/users/knutole/repos","events_url":"https://api.github.com/users/knutole/events{/privacy}","received_events_url":"https://api.github.com/users/knutole/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41/commits","review_comments_url":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41/comments","review_comment_url":"https://api.github.com/repos/systemapic/systemapic.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/systemapic/systemapic.js/issues/41/comments","statuses_url":"https://api.github.com/repos/systemapic/systemapic.js/statuses/a5695876e72c1c308abfcc62615ccf8390040ade","head":{"label":"systemapic:issue/3","ref":"issue/3","sha":"a5695876e72c1c308abfcc62615ccf8390040ade","user":{"login":"systemapic","id":8419043,"avatar_url":"https://avatars.githubusercontent.com/u/8419043?v=3","gravatar_id":"","url":"https://api.github.com/users/systemapic","html_url":"https://github.com/systemapic","followers_url":"https://api.github.com/users/systemapic/followers","following_url":"https://api.github.com/users/systemapic/following{/other_user}","gists_url":"https://api.github.com/users/systemapic/gists{/gist_id}","starred_url":"https://api.github.com/users/systemapic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemapic/subscriptions","organizations_url":"https://api.github.com/users/systemapic/orgs","repos_url":"https://api.github.com/users/systemapic/repos","events_url":"https://api.github.com/users/systemapic/events{/privacy}","received_events_url":"https://api.github.com/users/systemapic/received_events","type":"Organization","site_admin":false},"repo":{"id":49590209,"name":"systemapic.js","full_name":"systemapic/systemapic.js","owner":{"login":"systemapic","id":8419043,"avatar_url":"https://avatars.githubusercontent.com/u/8419043?v=3","gravatar_id":"","url":"https://api.github.com/users/systemapic","html_url":"https://github.com/systemapic","followers_url":"https://api.github.com/users/systemapic/followers","following_url":"https://api.github.com/users/systemapic/following{/other_user}","gists_url":"https://api.github.com/users/systemapic/gists{/gist_id}","starred_url":"https://api.github.com/users/systemapic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemapic/subscriptions","organizations_url":"https://api.github.com/users/systemapic/orgs","repos_url":"https://api.github.com/users/systemapic/repos","events_url":"https://api.github.com/users/systemapic/events{/privacy}","received_events_url":"https://api.github.com/users/systemapic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemapic/systemapic.js","description":"Systemapic Javascript API ","fork":false,"url":"https://api.github.com/repos/systemapic/systemapic.js","forks_url":"https://api.github.com/repos/systemapic/systemapic.js/forks","keys_url":"https://api.github.com/repos/systemapic/systemapic.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemapic/systemapic.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemapic/systemapic.js/teams","hooks_url":"https://api.github.com/repos/systemapic/systemapic.js/hooks","issue_events_url":"https://api.github.com/repos/systemapic/systemapic.js/issues/events{/number}","events_url":"https://api.github.com/repos/systemapic/systemapic.js/events","assignees_url":"https://api.github.com/repos/systemapic/systemapic.js/assignees{/user}","branches_url":"https://api.github.com/repos/systemapic/systemapic.js/branches{/branch}","tags_url":"https://api.github.com/repos/systemapic/systemapic.js/tags","blobs_url":"https://api.github.com/repos/systemapic/systemapic.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemapic/systemapic.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemapic/systemapic.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemapic/systemapic.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemapic/systemapic.js/statuses/{sha}","languages_url":"https://api.github.com/repos/systemapic/systemapic.js/languages","stargazers_url":"https://api.github.com/repos/systemapic/systemapic.js/stargazers","contributors_url":"https://api.github.com/repos/systemapic/systemapic.js/contributors","subscribers_url":"https://api.github.com/repos/systemapic/systemapic.js/subscribers","subscription_url":"https://api.github.com/repos/systemapic/systemapic.js/subscription","commits_url":"https://api.github.com/repos/systemapic/systemapic.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemapic/systemapic.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemapic/systemapic.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemapic/systemapic.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemapic/systemapic.js/contents/{+path}","compare_url":"https://api.github.com/repos/systemapic/systemapic.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemapic/systemapic.js/merges","archive_url":"https://api.github.com/repos/systemapic/systemapic.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemapic/systemapic.js/downloads","issues_url":"https://api.github.com/repos/systemapic/systemapic.js/issues{/number}","pulls_url":"https://api.github.com/repos/systemapic/systemapic.js/pulls{/number}","milestones_url":"https://api.github.com/repos/systemapic/systemapic.js/milestones{/number}","notifications_url":"https://api.github.com/repos/systemapic/systemapic.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemapic/systemapic.js/labels{/name}","releases_url":"https://api.github.com/repos/systemapic/systemapic.js/releases{/id}","deployments_url":"https://api.github.com/repos/systemapic/systemapic.js/deployments","created_at":"2016-01-13T17:34:25Z","updated_at":"2016-01-20T00:24:25Z","pushed_at":"2016-02-05T13:56:20Z","git_url":"git://github.com/systemapic/systemapic.js.git","ssh_url":"git@github.com:systemapic/systemapic.js.git","clone_url":"https://github.com/systemapic/systemapic.js.git","svn_url":"https://github.com/systemapic/systemapic.js","homepage":"https://systemapic.com","size":12464,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"base":{"label":"systemapic:master","ref":"master","sha":"9476fdf83f8ed899f97269427d657b8b24bc5285","user":{"login":"systemapic","id":8419043,"avatar_url":"https://avatars.githubusercontent.com/u/8419043?v=3","gravatar_id":"","url":"https://api.github.com/users/systemapic","html_url":"https://github.com/systemapic","followers_url":"https://api.github.com/users/systemapic/followers","following_url":"https://api.github.com/users/systemapic/following{/other_user}","gists_url":"https://api.github.com/users/systemapic/gists{/gist_id}","starred_url":"https://api.github.com/users/systemapic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemapic/subscriptions","organizations_url":"https://api.github.com/users/systemapic/orgs","repos_url":"https://api.github.com/users/systemapic/repos","events_url":"https://api.github.com/users/systemapic/events{/privacy}","received_events_url":"https://api.github.com/users/systemapic/received_events","type":"Organization","site_admin":false},"repo":{"id":49590209,"name":"systemapic.js","full_name":"systemapic/systemapic.js","owner":{"login":"systemapic","id":8419043,"avatar_url":"https://avatars.githubusercontent.com/u/8419043?v=3","gravatar_id":"","url":"https://api.github.com/users/systemapic","html_url":"https://github.com/systemapic","followers_url":"https://api.github.com/users/systemapic/followers","following_url":"https://api.github.com/users/systemapic/following{/other_user}","gists_url":"https://api.github.com/users/systemapic/gists{/gist_id}","starred_url":"https://api.github.com/users/systemapic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/systemapic/subscriptions","organizations_url":"https://api.github.com/users/systemapic/orgs","repos_url":"https://api.github.com/users/systemapic/repos","events_url":"https://api.github.com/users/systemapic/events{/privacy}","received_events_url":"https://api.github.com/users/systemapic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/systemapic/systemapic.js","description":"Systemapic Javascript API ","fork":false,"url":"https://api.github.com/repos/systemapic/systemapic.js","forks_url":"https://api.github.com/repos/systemapic/systemapic.js/forks","keys_url":"https://api.github.com/repos/systemapic/systemapic.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/systemapic/systemapic.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/systemapic/systemapic.js/teams","hooks_url":"https://api.github.com/repos/systemapic/systemapic.js/hooks","issue_events_url":"https://api.github.com/repos/systemapic/systemapic.js/issues/events{/number}","events_url":"https://api.github.com/repos/systemapic/systemapic.js/events","assignees_url":"https://api.github.com/repos/systemapic/systemapic.js/assignees{/user}","branches_url":"https://api.github.com/repos/systemapic/systemapic.js/branches{/branch}","tags_url":"https://api.github.com/repos/systemapic/systemapic.js/tags","blobs_url":"https://api.github.com/repos/systemapic/systemapic.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/systemapic/systemapic.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/systemapic/systemapic.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/systemapic/systemapic.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/systemapic/systemapic.js/statuses/{sha}","languages_url":"https://api.github.com/repos/systemapic/systemapic.js/languages","stargazers_url":"https://api.github.com/repos/systemapic/systemapic.js/stargazers","contributors_url":"https://api.github.com/repos/systemapic/systemapic.js/contributors","subscribers_url":"https://api.github.com/repos/systemapic/systemapic.js/subscribers","subscription_url":"https://api.github.com/repos/systemapic/systemapic.js/subscription","commits_url":"https://api.github.com/repos/systemapic/systemapic.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/systemapic/systemapic.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/systemapic/systemapic.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/systemapic/systemapic.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/systemapic/systemapic.js/contents/{+path}","compare_url":"https://api.github.com/repos/systemapic/systemapic.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/systemapic/systemapic.js/merges","archive_url":"https://api.github.com/repos/systemapic/systemapic.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/systemapic/systemapic.js/downloads","issues_url":"https://api.github.com/repos/systemapic/systemapic.js/issues{/number}","pulls_url":"https://api.github.com/repos/systemapic/systemapic.js/pulls{/number}","milestones_url":"https://api.github.com/repos/systemapic/systemapic.js/milestones{/number}","notifications_url":"https://api.github.com/repos/systemapic/systemapic.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/systemapic/systemapic.js/labels{/name}","releases_url":"https://api.github.com/repos/systemapic/systemapic.js/releases{/id}","deployments_url":"https://api.github.com/repos/systemapic/systemapic.js/deployments","created_at":"2016-01-13T17:34:25Z","updated_at":"2016-01-20T00:24:25Z","pushed_at":"2016-02-05T13:56:20Z","git_url":"git://github.com/systemapic/systemapic.js.git","ssh_url":"git@github.com:systemapic/systemapic.js.git","clone_url":"https://github.com/systemapic/systemapic.js.git","svn_url":"https://github.com/systemapic/systemapic.js","homepage":"https://systemapic.com","size":12464,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":17,"forks":0,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41"},"html":{"href":"https://github.com/systemapic/systemapic.js/pull/41"},"issue":{"href":"https://api.github.com/repos/systemapic/systemapic.js/issues/41"},"comments":{"href":"https://api.github.com/repos/systemapic/systemapic.js/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/systemapic/systemapic.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/systemapic/systemapic.js/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/systemapic/systemapic.js/statuses/a5695876e72c1c308abfcc62615ccf8390040ade"}}}}