{"action":"created","comment":{"url":"https://api.github.com/repos/1stop-st/frame/pulls/comments/100075164","pull_request_review_id":20768926,"id":100075164,"diff_hunk":"@@ -0,0 +1,84 @@\n+/*eslint-env node */\n+\n+var ref = require(\"./firebase_ref\");\n+var model;\n+\n+function converted(obj) {\n+    var t = {};\n+    Object.keys(obj).forEach(function(key) {\n+        t[key] = Object.keys(obj[key]).map(function(k) {\n+            var u = obj[key][k];\n+            u.recid = k;\n+            return u;\n+        });\n+    });\n+    return t;\n+}\n+\n+function createTabs(obj) {\n+    return Object.keys(obj).map(function(key) {\n+        return {\n+            id: key,\n+            text: key\n+        };\n+    });\n+}\n+\n+ref.on(\"value\", function(res){\n+    model = converted(res.val());\n+    var t = w2ui[\"tabs\"];\n+    t.tabs = createTabs(model);\n+    var f = true;\n+    t.tabs.forEach(function(tab) {\n+        if (tab.id === t.active) {\n+            f = false;\n+        }\n+    });\n+    if (f) {\n+        t.active = t.tabs[0].id;\n+    }\n+    t.refresh();\n+    var g =w2ui[\"grid\"];","path":"src/scripts/w2ui_view.js","position":41,"original_position":41,"commit_id":"6b6552ee31965f23edd7ebfb1cf062b44c84a101","original_commit_id":"6b6552ee31965f23edd7ebfb1cf062b44c84a101","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":"['grid'] is better written in dot notation.","created_at":"2017-02-08T14:22:44Z","updated_at":"2017-02-08T14:22:44Z","html_url":"https://github.com/1stop-st/frame/pull/18#discussion_r100075164","pull_request_url":"https://api.github.com/repos/1stop-st/frame/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/1stop-st/frame/pulls/comments/100075164"},"html":{"href":"https://github.com/1stop-st/frame/pull/18#discussion_r100075164"},"pull_request":{"href":"https://api.github.com/repos/1stop-st/frame/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/1stop-st/frame/pulls/18","id":105226072,"html_url":"https://github.com/1stop-st/frame/pull/18","diff_url":"https://github.com/1stop-st/frame/pull/18.diff","patch_url":"https://github.com/1stop-st/frame/pull/18.patch","issue_url":"https://api.github.com/repos/1stop-st/frame/issues/18","number":18,"state":"open","locked":false,"title":"Using Solufa and Firebase.","user":{"login":"h-ikeda","id":1414321,"avatar_url":"https://avatars.githubusercontent.com/u/1414321?v=3","gravatar_id":"","url":"https://api.github.com/users/h-ikeda","html_url":"https://github.com/h-ikeda","followers_url":"https://api.github.com/users/h-ikeda/followers","following_url":"https://api.github.com/users/h-ikeda/following{/other_user}","gists_url":"https://api.github.com/users/h-ikeda/gists{/gist_id}","starred_url":"https://api.github.com/users/h-ikeda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h-ikeda/subscriptions","organizations_url":"https://api.github.com/users/h-ikeda/orgs","repos_url":"https://api.github.com/users/h-ikeda/repos","events_url":"https://api.github.com/users/h-ikeda/events{/privacy}","received_events_url":"https://api.github.com/users/h-ikeda/received_events","type":"User","site_admin":false},"body":"Solufa is a framework for rendering 3D graphics.\r\nFirebase is a database service for web applications.","created_at":"2017-02-08T14:22:33Z","updated_at":"2017-02-08T14:22:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f082e4080c850c3928c26437576b3d85c57a60e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/1stop-st/frame/pulls/18/commits","review_comments_url":"https://api.github.com/repos/1stop-st/frame/pulls/18/comments","review_comment_url":"https://api.github.com/repos/1stop-st/frame/pulls/comments{/number}","comments_url":"https://api.github.com/repos/1stop-st/frame/issues/18/comments","statuses_url":"https://api.github.com/repos/1stop-st/frame/statuses/6b6552ee31965f23edd7ebfb1cf062b44c84a101","head":{"label":"1stop-st:using_solufa","ref":"using_solufa","sha":"6b6552ee31965f23edd7ebfb1cf062b44c84a101","user":{"login":"1stop-st","id":1438395,"avatar_url":"https://avatars.githubusercontent.com/u/1438395?v=3","gravatar_id":"","url":"https://api.github.com/users/1stop-st","html_url":"https://github.com/1stop-st","followers_url":"https://api.github.com/users/1stop-st/followers","following_url":"https://api.github.com/users/1stop-st/following{/other_user}","gists_url":"https://api.github.com/users/1stop-st/gists{/gist_id}","starred_url":"https://api.github.com/users/1stop-st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stop-st/subscriptions","organizations_url":"https://api.github.com/users/1stop-st/orgs","repos_url":"https://api.github.com/users/1stop-st/repos","events_url":"https://api.github.com/users/1stop-st/events{/privacy}","received_events_url":"https://api.github.com/users/1stop-st/received_events","type":"Organization","site_admin":false},"repo":{"id":76113078,"name":"frame","full_name":"1stop-st/frame","owner":{"login":"1stop-st","id":1438395,"avatar_url":"https://avatars.githubusercontent.com/u/1438395?v=3","gravatar_id":"","url":"https://api.github.com/users/1stop-st","html_url":"https://github.com/1stop-st","followers_url":"https://api.github.com/users/1stop-st/followers","following_url":"https://api.github.com/users/1stop-st/following{/other_user}","gists_url":"https://api.github.com/users/1stop-st/gists{/gist_id}","starred_url":"https://api.github.com/users/1stop-st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stop-st/subscriptions","organizations_url":"https://api.github.com/users/1stop-st/orgs","repos_url":"https://api.github.com/users/1stop-st/repos","events_url":"https://api.github.com/users/1stop-st/events{/privacy}","received_events_url":"https://api.github.com/users/1stop-st/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1stop-st/frame","description":null,"fork":false,"url":"https://api.github.com/repos/1stop-st/frame","forks_url":"https://api.github.com/repos/1stop-st/frame/forks","keys_url":"https://api.github.com/repos/1stop-st/frame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1stop-st/frame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1stop-st/frame/teams","hooks_url":"https://api.github.com/repos/1stop-st/frame/hooks","issue_events_url":"https://api.github.com/repos/1stop-st/frame/issues/events{/number}","events_url":"https://api.github.com/repos/1stop-st/frame/events","assignees_url":"https://api.github.com/repos/1stop-st/frame/assignees{/user}","branches_url":"https://api.github.com/repos/1stop-st/frame/branches{/branch}","tags_url":"https://api.github.com/repos/1stop-st/frame/tags","blobs_url":"https://api.github.com/repos/1stop-st/frame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1stop-st/frame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1stop-st/frame/git/refs{/sha}","trees_url":"https://api.github.com/repos/1stop-st/frame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1stop-st/frame/statuses/{sha}","languages_url":"https://api.github.com/repos/1stop-st/frame/languages","stargazers_url":"https://api.github.com/repos/1stop-st/frame/stargazers","contributors_url":"https://api.github.com/repos/1stop-st/frame/contributors","subscribers_url":"https://api.github.com/repos/1stop-st/frame/subscribers","subscription_url":"https://api.github.com/repos/1stop-st/frame/subscription","commits_url":"https://api.github.com/repos/1stop-st/frame/commits{/sha}","git_commits_url":"https://api.github.com/repos/1stop-st/frame/git/commits{/sha}","comments_url":"https://api.github.com/repos/1stop-st/frame/comments{/number}","issue_comment_url":"https://api.github.com/repos/1stop-st/frame/issues/comments{/number}","contents_url":"https://api.github.com/repos/1stop-st/frame/contents/{+path}","compare_url":"https://api.github.com/repos/1stop-st/frame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1stop-st/frame/merges","archive_url":"https://api.github.com/repos/1stop-st/frame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1stop-st/frame/downloads","issues_url":"https://api.github.com/repos/1stop-st/frame/issues{/number}","pulls_url":"https://api.github.com/repos/1stop-st/frame/pulls{/number}","milestones_url":"https://api.github.com/repos/1stop-st/frame/milestones{/number}","notifications_url":"https://api.github.com/repos/1stop-st/frame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1stop-st/frame/labels{/name}","releases_url":"https://api.github.com/repos/1stop-st/frame/releases{/id}","deployments_url":"https://api.github.com/repos/1stop-st/frame/deployments","created_at":"2016-12-10T13:06:26Z","updated_at":"2017-01-24T00:30:39Z","pushed_at":"2017-02-08T14:22:34Z","git_url":"git://github.com/1stop-st/frame.git","ssh_url":"git@github.com:1stop-st/frame.git","clone_url":"https://github.com/1stop-st/frame.git","svn_url":"https://github.com/1stop-st/frame","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"1stop-st:master","ref":"master","sha":"fcc84ef1b5d5227e7ce0d324222106b4a2c19c83","user":{"login":"1stop-st","id":1438395,"avatar_url":"https://avatars.githubusercontent.com/u/1438395?v=3","gravatar_id":"","url":"https://api.github.com/users/1stop-st","html_url":"https://github.com/1stop-st","followers_url":"https://api.github.com/users/1stop-st/followers","following_url":"https://api.github.com/users/1stop-st/following{/other_user}","gists_url":"https://api.github.com/users/1stop-st/gists{/gist_id}","starred_url":"https://api.github.com/users/1stop-st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stop-st/subscriptions","organizations_url":"https://api.github.com/users/1stop-st/orgs","repos_url":"https://api.github.com/users/1stop-st/repos","events_url":"https://api.github.com/users/1stop-st/events{/privacy}","received_events_url":"https://api.github.com/users/1stop-st/received_events","type":"Organization","site_admin":false},"repo":{"id":76113078,"name":"frame","full_name":"1stop-st/frame","owner":{"login":"1stop-st","id":1438395,"avatar_url":"https://avatars.githubusercontent.com/u/1438395?v=3","gravatar_id":"","url":"https://api.github.com/users/1stop-st","html_url":"https://github.com/1stop-st","followers_url":"https://api.github.com/users/1stop-st/followers","following_url":"https://api.github.com/users/1stop-st/following{/other_user}","gists_url":"https://api.github.com/users/1stop-st/gists{/gist_id}","starred_url":"https://api.github.com/users/1stop-st/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1stop-st/subscriptions","organizations_url":"https://api.github.com/users/1stop-st/orgs","repos_url":"https://api.github.com/users/1stop-st/repos","events_url":"https://api.github.com/users/1stop-st/events{/privacy}","received_events_url":"https://api.github.com/users/1stop-st/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/1stop-st/frame","description":null,"fork":false,"url":"https://api.github.com/repos/1stop-st/frame","forks_url":"https://api.github.com/repos/1stop-st/frame/forks","keys_url":"https://api.github.com/repos/1stop-st/frame/keys{/key_id}","collaborators_url":"https://api.github.com/repos/1stop-st/frame/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/1stop-st/frame/teams","hooks_url":"https://api.github.com/repos/1stop-st/frame/hooks","issue_events_url":"https://api.github.com/repos/1stop-st/frame/issues/events{/number}","events_url":"https://api.github.com/repos/1stop-st/frame/events","assignees_url":"https://api.github.com/repos/1stop-st/frame/assignees{/user}","branches_url":"https://api.github.com/repos/1stop-st/frame/branches{/branch}","tags_url":"https://api.github.com/repos/1stop-st/frame/tags","blobs_url":"https://api.github.com/repos/1stop-st/frame/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/1stop-st/frame/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/1stop-st/frame/git/refs{/sha}","trees_url":"https://api.github.com/repos/1stop-st/frame/git/trees{/sha}","statuses_url":"https://api.github.com/repos/1stop-st/frame/statuses/{sha}","languages_url":"https://api.github.com/repos/1stop-st/frame/languages","stargazers_url":"https://api.github.com/repos/1stop-st/frame/stargazers","contributors_url":"https://api.github.com/repos/1stop-st/frame/contributors","subscribers_url":"https://api.github.com/repos/1stop-st/frame/subscribers","subscription_url":"https://api.github.com/repos/1stop-st/frame/subscription","commits_url":"https://api.github.com/repos/1stop-st/frame/commits{/sha}","git_commits_url":"https://api.github.com/repos/1stop-st/frame/git/commits{/sha}","comments_url":"https://api.github.com/repos/1stop-st/frame/comments{/number}","issue_comment_url":"https://api.github.com/repos/1stop-st/frame/issues/comments{/number}","contents_url":"https://api.github.com/repos/1stop-st/frame/contents/{+path}","compare_url":"https://api.github.com/repos/1stop-st/frame/compare/{base}...{head}","merges_url":"https://api.github.com/repos/1stop-st/frame/merges","archive_url":"https://api.github.com/repos/1stop-st/frame/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/1stop-st/frame/downloads","issues_url":"https://api.github.com/repos/1stop-st/frame/issues{/number}","pulls_url":"https://api.github.com/repos/1stop-st/frame/pulls{/number}","milestones_url":"https://api.github.com/repos/1stop-st/frame/milestones{/number}","notifications_url":"https://api.github.com/repos/1stop-st/frame/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/1stop-st/frame/labels{/name}","releases_url":"https://api.github.com/repos/1stop-st/frame/releases{/id}","deployments_url":"https://api.github.com/repos/1stop-st/frame/deployments","created_at":"2016-12-10T13:06:26Z","updated_at":"2017-01-24T00:30:39Z","pushed_at":"2017-02-08T14:22:34Z","git_url":"git://github.com/1stop-st/frame.git","ssh_url":"git@github.com:1stop-st/frame.git","clone_url":"https://github.com/1stop-st/frame.git","svn_url":"https://github.com/1stop-st/frame","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/1stop-st/frame/pulls/18"},"html":{"href":"https://github.com/1stop-st/frame/pull/18"},"issue":{"href":"https://api.github.com/repos/1stop-st/frame/issues/18"},"comments":{"href":"https://api.github.com/repos/1stop-st/frame/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/1stop-st/frame/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/1stop-st/frame/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/1stop-st/frame/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/1stop-st/frame/statuses/6b6552ee31965f23edd7ebfb1cf062b44c84a101"}}}}
{"actor":{"display_login":"houndci-bot"}}