{"action":"created","comment":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/36926939","id":36926939,"diff_hunk":"@@ -148,28 +171,193 @@ NetSimRouterLogModal.prototype.render = function () {\n   }));\n   this.rootDiv_.html(renderedMarkup);\n \n+  // Add input handlers\n   this.getRouterLogToggleButton().one('click', function() {\n     this.toggleRouterLogMode_();\n     this.render();\n   }.bind(this));\n \n-  this.rootDiv_.on('shown.bs.modal.onModalOpen', function () {\n-    if (this.shard_) {\n-      this.shard_.logTable.subscribe();\n-    }\n-  }.bind(this));\n-\n-  this.rootDiv_.on('hidden.bs.modal.onModalClose', function () {\n-      if (this.shard_) {\n-        this.shard_.logTable.unsubscribe();\n-      }\n-  }.bind(this));\n-\n   this.rootDiv_.find('th').click(function (event) {\n     this.onSortHeaderClick_($(event.target).attr('data-sort-key'));\n   }.bind(this));\n+\n+  // Add rows to the table\n+  var rows = this.getSortedFilteredLogEntries(this.logEntries_)\n+      .slice(0, MAXIMUM_ROWS_IN_FULL_RENDER)\n+      .map(this.makeTableRow_.bind(this));\n+  this.rootDiv_.find('tbody').append(rows);\n+\n+  if (rows.length === MAXIMUM_ROWS_IN_FULL_RENDER) {\n+    var maxRenderedWarning = document.createElement('div');\n+    maxRenderedWarning.className = 'log-browser-limit-message';\n+    maxRenderedWarning.innerText = i18n.showingFirstXLogEntries({\n+      x: MAXIMUM_ROWS_IN_FULL_RENDER\n+    });\n+    this.rootDiv_.find('table').after(maxRenderedWarning);\n+  }\n+};\n+\n+/**\n+ * Convert the given set of log entries to table rows and insert them\n+ * into the DOM, instead of re-rendering the whole table.\n+ * @param {!NetSimLogEntry[]} newEntries\n+ * @private\n+ */\n+NetSimRouterLogModal.prototype.renderNewLogEntries_ = function (newEntries) {\n+  // Be lazy, don't render at all if not visible.\n+  if (!this.isVisible() || newEntries.length === 0) {\n+    return;\n+  }\n+\n+  /** @type {jQuery} Table body element. */\n+  var tbody = this.rootDiv_.find('tbody');\n+\n+  // Get existing table row elements, which are already sorted and filtered.\n+  var oldRows = tbody.find('tr');\n+\n+  // Sort and filter the new entries, and generate DOM rows for them.\n+  newEntries = this.getSortedFilteredLogEntries(newEntries);\n+  var newRows = $(newEntries.map(this.makeTableRow_.bind(this)));\n+\n+  // Get the current sort value function\n+  var getSortValue = NetSimRouterLogModal.sortKeyToSortValueGetterMap[this.sortBy_];\n+\n+  // Walk both collections to merge new rows into the DOM\n+  var nextOld = getNextInfo(oldRows, 0, getSortValue);\n+  var nextNew = getNextInfo(newRows, 0, getSortValue);\n+  var insertHere = false;\n+  while (nextNew.index < newRows.length && nextOld.index < oldRows.length) {\n+\n+    // Is this where the next row goes?\n+    if (this.sortDescending_) {\n+      insertHere = nextNew.sortValue >= nextOld.sortValue;\n+    } else {\n+      insertHere = nextNew.sortValue <= nextOld.sortValue;\n+    }\n+\n+    if (insertHere) {\n+      nextNew.tableRow.insertBefore(nextOld.tableRow);\n+      nextNew = getNextInfo(newRows, nextNew.index + 1, getSortValue);\n+    } else {\n+      nextOld = getNextInfo(oldRows, nextOld.index + 1, getSortValue);\n+    }\n+  }\n+\n+  // Put whatever's left on the end of the table\n+  tbody.append(newRows.slice(nextNew.index));\n+};\n+\n+/**\n+ * Generates a helper object for performing the log row merge.\n+ * @param {jQuery} rows - Wrapped collection of table rows.\n+ * @param {!number} atIndex - Index into `rows` at which info should be generated.\n+ * @param {!function(NetSimLogEntry)} getSortValue - function to get current\n+ *        sort value from log entry object.\n+ * @returns {{index: number, tableRow: jQuery, sortValue: ?}}\n+ */\n+function getNextInfo(rows, atIndex, getSortValue) {\n+  var tempRow = rows.eq(atIndex);\n+  return {\n+    index: atIndex,\n+    tableRow: tempRow,\n+    sortValue: tempRow.length > 0 ?\n+        getSortValue(tempRow.data(LOG_ENTRY_DATA_KEY)) : undefined\n+  };\n+}\n+\n+/**\n+ * @param {!NetSimLogEntry[]} logEntries\n+ * @returns {NetSimLogEntry[]} subset of logEntries, sorted and filtered\n+ *          according to the log browser's current settings.\n+ */\n+NetSimRouterLogModal.prototype.getSortedFilteredLogEntries = function (logEntries) {\n+  // Filter entries to current log browser filter mode\n+  var filteredLogEntries = this.isAllRouterLogMode_ ?\n+      logEntries :\n+      logEntries.filter(function (entry) {\n+        return entry.nodeID === this.router_.entityID;\n+      }, this);\n+\n+  // Sort entries according to current log browser sort setting\n+  var getSortValue = NetSimRouterLogModal.sortKeyToSortValueGetterMap[this.sortBy_];\n+  var sortedFilteredLogEntries = _.sortBy(filteredLogEntries, getSortValue);\n+  if (this.sortDescending_) {\n+    sortedFilteredLogEntries.reverse();\n+  }\n+  return sortedFilteredLogEntries;\n };\n \n+/**\n+ * Given a log entry, generate a table row that can be added to the log modal.\n+ * @param {!NetSimLogEntry} logEntry\n+ * @returns {Element} a tr element.\n+ * @private\n+ */\n+NetSimRouterLogModal.prototype.makeTableRow_ = function (logEntry) {\n+  var headerFields = NetSimGlobals.getLevelConfig().routerExpectsPacketHeader;\n+\n+  var showToAddress = headerFields.indexOf(Packet.HeaderType.TO_ADDRESS) > -1;\n+\n+  var showFromAddress = headerFields.indexOf(Packet.HeaderType.FROM_ADDRESS) > -1;\n+\n+  var showPacketInfo = headerFields.indexOf(Packet.HeaderType.PACKET_INDEX) > -1 &&\n+      headerFields.indexOf(Packet.HeaderType.PACKET_COUNT) > -1;\n+\n+  var originNode = logEntry.getOriginNode();\n+\n+  var row = document.createElement('tr');\n+\n+  // Store the actual logEntry on the row for sorting/merging later.\n+  $(row).data(LOG_ENTRY_DATA_KEY, logEntry);\n+\n+  var tdTimestamp = document.createElement('td');","path":"apps/src/netsim/NetSimRouterLogModal.js","position":258,"original_position":258,"commit_id":"e6d07ba329396e65139ce6d2828d85deb0d91be0","original_commit_id":"e6d07ba329396e65139ce6d2828d85deb0d91be0","user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"body":"Done on code-dot-org/code-dot-org#3513","created_at":"2015-08-12T23:28:04Z","updated_at":"2015-08-12T23:28:04Z","html_url":"https://github.com/code-dot-org/code-dot-org/pull/3492#discussion_r36926939","pull_request_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492","_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments/36926939"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/3492#discussion_r36926939"},"pull_request":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492"}}},"pull_request":{"url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492","id":42180822,"html_url":"https://github.com/code-dot-org/code-dot-org/pull/3492","diff_url":"https://github.com/code-dot-org/code-dot-org/pull/3492.diff","patch_url":"https://github.com/code-dot-org/code-dot-org/pull/3492.patch","issue_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3492","number":3492,"state":"closed","locked":false,"title":"NetSim: Viz performance cleanup","user":{"login":"islemaster","id":1615761,"avatar_url":"https://avatars.githubusercontent.com/u/1615761?v=3","gravatar_id":"","url":"https://api.github.com/users/islemaster","html_url":"https://github.com/islemaster","followers_url":"https://api.github.com/users/islemaster/followers","following_url":"https://api.github.com/users/islemaster/following{/other_user}","gists_url":"https://api.github.com/users/islemaster/gists{/gist_id}","starred_url":"https://api.github.com/users/islemaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/islemaster/subscriptions","organizations_url":"https://api.github.com/users/islemaster/orgs","repos_url":"https://api.github.com/users/islemaster/repos","events_url":"https://api.github.com/users/islemaster/events{/privacy}","received_events_url":"https://api.github.com/users/islemaster/received_events","type":"User","site_admin":false},"body":"1. For now, disable the background layer in the visualization.  Whether it's _causing_ performance issues or not, it's one of the more obvious symptoms of performance issues when it gets choppy and slow.  We're sad to see the floaty network go, but if it helps everything run smoother then it's worth it.\r\n2. Make sure nodes in the hidden background layer aren't running animation tweens.\r\n3. For nodes that are running tweens, only update the SVG element's `transform` attribute when it has actually changed.\r\n4. Make the background layer easy to re-enable if we want to.\r\n\r\n:sob: :panda_face: No more depth-of-field.\r\n\r\n![no-background](https://cloud.githubusercontent.com/assets/1615761/9211252/bcda31c6-4035-11e5-8d16-71743b0b1b25.gif)\r\n","created_at":"2015-08-11T21:32:42Z","updated_at":"2015-08-12T23:28:04Z","closed_at":"2015-08-12T21:57:14Z","merged_at":"2015-08-12T21:57:14Z","merge_commit_sha":"57306224d71e182173bc246fdd85e8545e6e0e6e","assignee":{"login":"philbogle","id":5198586,"avatar_url":"https://avatars.githubusercontent.com/u/5198586?v=3","gravatar_id":"","url":"https://api.github.com/users/philbogle","html_url":"https://github.com/philbogle","followers_url":"https://api.github.com/users/philbogle/followers","following_url":"https://api.github.com/users/philbogle/following{/other_user}","gists_url":"https://api.github.com/users/philbogle/gists{/gist_id}","starred_url":"https://api.github.com/users/philbogle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philbogle/subscriptions","organizations_url":"https://api.github.com/users/philbogle/orgs","repos_url":"https://api.github.com/users/philbogle/repos","events_url":"https://api.github.com/users/philbogle/events{/privacy}","received_events_url":"https://api.github.com/users/philbogle/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492/commits","review_comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492/comments","review_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3492/comments","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/e6d07ba329396e65139ce6d2828d85deb0d91be0","head":{"label":"code-dot-org:netsim-viz-performance-cleanup","ref":"netsim-viz-performance-cleanup","sha":"e6d07ba329396e65139ce6d2828d85deb0d91be0","user":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"repo":{"id":24250009,"name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-dot-org/code-dot-org","description":"The code powering code.org and studio.code.org","fork":false,"url":"https://api.github.com/repos/code-dot-org/code-dot-org","forks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/forks","keys_url":"https://api.github.com/repos/code-dot-org/code-dot-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-dot-org/code-dot-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-dot-org/code-dot-org/teams","hooks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/hooks","issue_events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/events{/number}","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/events","assignees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/assignees{/user}","branches_url":"https://api.github.com/repos/code-dot-org/code-dot-org/branches{/branch}","tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/tags","blobs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/{sha}","languages_url":"https://api.github.com/repos/code-dot-org/code-dot-org/languages","stargazers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/stargazers","contributors_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contributors","subscribers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscribers","subscription_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscription","commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contents/{+path}","compare_url":"https://api.github.com/repos/code-dot-org/code-dot-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-dot-org/code-dot-org/merges","archive_url":"https://api.github.com/repos/code-dot-org/code-dot-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-dot-org/code-dot-org/downloads","issues_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues{/number}","pulls_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls{/number}","milestones_url":"https://api.github.com/repos/code-dot-org/code-dot-org/milestones{/number}","notifications_url":"https://api.github.com/repos/code-dot-org/code-dot-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/labels{/name}","releases_url":"https://api.github.com/repos/code-dot-org/code-dot-org/releases{/id}","created_at":"2014-09-20T00:46:11Z","updated_at":"2015-07-11T11:09:37Z","pushed_at":"2015-08-12T23:27:53Z","git_url":"git://github.com/code-dot-org/code-dot-org.git","ssh_url":"git@github.com:code-dot-org/code-dot-org.git","clone_url":"https://github.com/code-dot-org/code-dot-org.git","svn_url":"https://github.com/code-dot-org/code-dot-org","homepage":"http://code.org","size":2442791,"stargazers_count":49,"watchers_count":49,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":27,"forks":36,"open_issues":27,"watchers":49,"default_branch":"staging"}},"base":{"label":"code-dot-org:staging","ref":"staging","sha":"5c1bb5708b25c3ba7b9d79b0aad44b718f32a7b1","user":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"repo":{"id":24250009,"name":"code-dot-org","full_name":"code-dot-org/code-dot-org","owner":{"login":"code-dot-org","id":5124627,"avatar_url":"https://avatars.githubusercontent.com/u/5124627?v=3","gravatar_id":"","url":"https://api.github.com/users/code-dot-org","html_url":"https://github.com/code-dot-org","followers_url":"https://api.github.com/users/code-dot-org/followers","following_url":"https://api.github.com/users/code-dot-org/following{/other_user}","gists_url":"https://api.github.com/users/code-dot-org/gists{/gist_id}","starred_url":"https://api.github.com/users/code-dot-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/code-dot-org/subscriptions","organizations_url":"https://api.github.com/users/code-dot-org/orgs","repos_url":"https://api.github.com/users/code-dot-org/repos","events_url":"https://api.github.com/users/code-dot-org/events{/privacy}","received_events_url":"https://api.github.com/users/code-dot-org/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/code-dot-org/code-dot-org","description":"The code powering code.org and studio.code.org","fork":false,"url":"https://api.github.com/repos/code-dot-org/code-dot-org","forks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/forks","keys_url":"https://api.github.com/repos/code-dot-org/code-dot-org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/code-dot-org/code-dot-org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/code-dot-org/code-dot-org/teams","hooks_url":"https://api.github.com/repos/code-dot-org/code-dot-org/hooks","issue_events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/events{/number}","events_url":"https://api.github.com/repos/code-dot-org/code-dot-org/events","assignees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/assignees{/user}","branches_url":"https://api.github.com/repos/code-dot-org/code-dot-org/branches{/branch}","tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/tags","blobs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/refs{/sha}","trees_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/{sha}","languages_url":"https://api.github.com/repos/code-dot-org/code-dot-org/languages","stargazers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/stargazers","contributors_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contributors","subscribers_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscribers","subscription_url":"https://api.github.com/repos/code-dot-org/code-dot-org/subscription","commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/commits{/sha}","git_commits_url":"https://api.github.com/repos/code-dot-org/code-dot-org/git/commits{/sha}","comments_url":"https://api.github.com/repos/code-dot-org/code-dot-org/comments{/number}","issue_comment_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/comments{/number}","contents_url":"https://api.github.com/repos/code-dot-org/code-dot-org/contents/{+path}","compare_url":"https://api.github.com/repos/code-dot-org/code-dot-org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/code-dot-org/code-dot-org/merges","archive_url":"https://api.github.com/repos/code-dot-org/code-dot-org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/code-dot-org/code-dot-org/downloads","issues_url":"https://api.github.com/repos/code-dot-org/code-dot-org/issues{/number}","pulls_url":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls{/number}","milestones_url":"https://api.github.com/repos/code-dot-org/code-dot-org/milestones{/number}","notifications_url":"https://api.github.com/repos/code-dot-org/code-dot-org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/code-dot-org/code-dot-org/labels{/name}","releases_url":"https://api.github.com/repos/code-dot-org/code-dot-org/releases{/id}","created_at":"2014-09-20T00:46:11Z","updated_at":"2015-07-11T11:09:37Z","pushed_at":"2015-08-12T23:27:53Z","git_url":"git://github.com/code-dot-org/code-dot-org.git","ssh_url":"git@github.com:code-dot-org/code-dot-org.git","clone_url":"https://github.com/code-dot-org/code-dot-org.git","svn_url":"https://github.com/code-dot-org/code-dot-org","homepage":"http://code.org","size":2442791,"stargazers_count":49,"watchers_count":49,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":27,"forks":36,"open_issues":27,"watchers":49,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492"},"html":{"href":"https://github.com/code-dot-org/code-dot-org/pull/3492"},"issue":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3492"},"comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/issues/3492/comments"},"review_comments":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492/comments"},"review_comment":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/pulls/3492/commits"},"statuses":{"href":"https://api.github.com/repos/code-dot-org/code-dot-org/statuses/e6d07ba329396e65139ce6d2828d85deb0d91be0"}}}}