{"action":"created","comment":{"url":"https://api.github.com/repos/bestiejs/json3/pulls/comments/22757830","id":22757830,"diff_hunk":"@@ -231,61 +226,6 @@\n       // Detect incomplete support for accessing string characters by index.\n       var charIndexBuggy = has(\"bug-string-char-index\");\n \n-      if (has(\"bug-string-replace\")) {\n-        // Partial polyfill for buggy `String#replace` implementations.\n-        stringReplace = function(pattern, fn) {\n-          var value = this;\n-          var lastIndex = pattern.lastIndex = 0, fullMatch, result = \"\";\n-          while ((fullMatch = pattern.exec(value))) {\n-            var index = fullMatch.index, match = fullMatch[0];\n-            result += value.slice(lastIndex, index);\n-            lastIndex = index + match.length;\n-            result += fn(match);\n-          }\n-          if (lastIndex < value.length) {\n-            result += value.slice(lastIndex);\n-          }\n-          return result;\n-        };\n-      }\n-\n-      // Internal: Determines if a property is a direct property of the given\n-      // object. Delegates to the native `Object#hasOwnProperty` method.\n-      var isProperty;\n-      if (!(isProperty = objectProto.hasOwnProperty)) {\n-        isProperty = function (property) {\n-          var members = {}, constructor;\n-          if ((members.__proto__ = null, members.__proto__ = {\n-            // The *proto* property cannot be set multiple times in recent\n-            // versions of Firefox and SeaMonkey.\n-            \"toString\": 1\n-          }, members).toString != getClass) {\n-            // Safari <= 2.0.3 doesn't implement `Object#hasOwnProperty`, but\n-            // supports the mutable *proto* property.\n-            isProperty = function (property) {\n-              // Capture and break the object's prototype chain (see section 8.6.2\n-              // of the ES 5.1 spec). The parenthesized expression prevents an\n-              // unsafe transformation by the Closure Compiler.\n-              var original = this.__proto__, result = property in (this.__proto__ = null, this);\n-              // Restore the original prototype chain.\n-              this.__proto__ = original;\n-              return result;\n-            };\n-          } else {\n-            // Capture a reference to the top-level `Object` constructor.","path":"lib/json3.js","position":84,"original_position":84,"commit_id":"151dc4083c077ced124db391dab7a55c6e598180","original_commit_id":"151dc4083c077ced124db391dab7a55c6e598180","user":{"login":"d10","id":813865,"avatar_url":"https://avatars.githubusercontent.com/u/813865?v=3","gravatar_id":"","url":"https://api.github.com/users/d10","html_url":"https://github.com/d10","followers_url":"https://api.github.com/users/d10/followers","following_url":"https://api.github.com/users/d10/following{/other_user}","gists_url":"https://api.github.com/users/d10/gists{/gist_id}","starred_url":"https://api.github.com/users/d10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d10/subscriptions","organizations_url":"https://api.github.com/users/d10/orgs","repos_url":"https://api.github.com/users/d10/repos","events_url":"https://api.github.com/users/d10/events{/privacy}","received_events_url":"https://api.github.com/users/d10/received_events","type":"User","site_admin":false},"body":"Are there any browsers that need the `hasOwnProperty` fix? Apart from that, it all seems fine.","created_at":"2015-01-10T09:41:18Z","updated_at":"2015-01-10T09:41:18Z","html_url":"https://github.com/bestiejs/json3/pull/72#discussion_r22757830","pull_request_url":"https://api.github.com/repos/bestiejs/json3/pulls/72","_links":{"self":{"href":"https://api.github.com/repos/bestiejs/json3/pulls/comments/22757830"},"html":{"href":"https://github.com/bestiejs/json3/pull/72#discussion_r22757830"},"pull_request":{"href":"https://api.github.com/repos/bestiejs/json3/pulls/72"}}},"pull_request":{"url":"https://api.github.com/repos/bestiejs/json3/pulls/72","id":27081046,"html_url":"https://github.com/bestiejs/json3/pull/72","diff_url":"https://github.com/bestiejs/json3/pull/72.diff","patch_url":"https://github.com/bestiejs/json3/pull/72.patch","issue_url":"https://api.github.com/repos/bestiejs/json3/issues/72","number":72,"state":"open","locked":false,"title":"Remove Safari <= 2.0.4 support","user":{"login":"kitcambridge","id":243830,"avatar_url":"https://avatars.githubusercontent.com/u/243830?v=3","gravatar_id":"","url":"https://api.github.com/users/kitcambridge","html_url":"https://github.com/kitcambridge","followers_url":"https://api.github.com/users/kitcambridge/followers","following_url":"https://api.github.com/users/kitcambridge/following{/other_user}","gists_url":"https://api.github.com/users/kitcambridge/gists{/gist_id}","starred_url":"https://api.github.com/users/kitcambridge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kitcambridge/subscriptions","organizations_url":"https://api.github.com/users/kitcambridge/orgs","repos_url":"https://api.github.com/users/kitcambridge/repos","events_url":"https://api.github.com/users/kitcambridge/events{/privacy}","received_events_url":"https://api.github.com/users/kitcambridge/received_events","type":"User","site_admin":false},"body":"Safari 2 will be ten years old this year. Let's shed a few branches and polyfills. @d10, please review at your convenience.","created_at":"2015-01-09T05:34:39Z","updated_at":"2015-01-10T09:41:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ba7e523504132e7fd83df04dc9c27e5a9c89cbc4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bestiejs/json3/pulls/72/commits","review_comments_url":"https://api.github.com/repos/bestiejs/json3/pulls/72/comments","review_comment_url":"https://api.github.com/repos/bestiejs/json3/pulls/comments/{number}","comments_url":"https://api.github.com/repos/bestiejs/json3/issues/72/comments","statuses_url":"https://api.github.com/repos/bestiejs/json3/statuses/151dc4083c077ced124db391dab7a55c6e598180","head":{"label":"bestiejs:feature/remove-safari-2","ref":"feature/remove-safari-2","sha":"151dc4083c077ced124db391dab7a55c6e598180","user":{"login":"bestiejs","id":802850,"avatar_url":"https://avatars.githubusercontent.com/u/802850?v=3","gravatar_id":"","url":"https://api.github.com/users/bestiejs","html_url":"https://github.com/bestiejs","followers_url":"https://api.github.com/users/bestiejs/followers","following_url":"https://api.github.com/users/bestiejs/following{/other_user}","gists_url":"https://api.github.com/users/bestiejs/gists{/gist_id}","starred_url":"https://api.github.com/users/bestiejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestiejs/subscriptions","organizations_url":"https://api.github.com/users/bestiejs/orgs","repos_url":"https://api.github.com/users/bestiejs/repos","events_url":"https://api.github.com/users/bestiejs/events{/privacy}","received_events_url":"https://api.github.com/users/bestiejs/received_events","type":"Organization","site_admin":false},"repo":{"id":3412691,"name":"json3","full_name":"bestiejs/json3","owner":{"login":"bestiejs","id":802850,"avatar_url":"https://avatars.githubusercontent.com/u/802850?v=3","gravatar_id":"","url":"https://api.github.com/users/bestiejs","html_url":"https://github.com/bestiejs","followers_url":"https://api.github.com/users/bestiejs/followers","following_url":"https://api.github.com/users/bestiejs/following{/other_user}","gists_url":"https://api.github.com/users/bestiejs/gists{/gist_id}","starred_url":"https://api.github.com/users/bestiejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestiejs/subscriptions","organizations_url":"https://api.github.com/users/bestiejs/orgs","repos_url":"https://api.github.com/users/bestiejs/repos","events_url":"https://api.github.com/users/bestiejs/events{/privacy}","received_events_url":"https://api.github.com/users/bestiejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bestiejs/json3","description":"A modern JSON implementation compatible with nearly all JavaScript platforms.","fork":false,"url":"https://api.github.com/repos/bestiejs/json3","forks_url":"https://api.github.com/repos/bestiejs/json3/forks","keys_url":"https://api.github.com/repos/bestiejs/json3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bestiejs/json3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bestiejs/json3/teams","hooks_url":"https://api.github.com/repos/bestiejs/json3/hooks","issue_events_url":"https://api.github.com/repos/bestiejs/json3/issues/events{/number}","events_url":"https://api.github.com/repos/bestiejs/json3/events","assignees_url":"https://api.github.com/repos/bestiejs/json3/assignees{/user}","branches_url":"https://api.github.com/repos/bestiejs/json3/branches{/branch}","tags_url":"https://api.github.com/repos/bestiejs/json3/tags","blobs_url":"https://api.github.com/repos/bestiejs/json3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bestiejs/json3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bestiejs/json3/git/refs{/sha}","trees_url":"https://api.github.com/repos/bestiejs/json3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bestiejs/json3/statuses/{sha}","languages_url":"https://api.github.com/repos/bestiejs/json3/languages","stargazers_url":"https://api.github.com/repos/bestiejs/json3/stargazers","contributors_url":"https://api.github.com/repos/bestiejs/json3/contributors","subscribers_url":"https://api.github.com/repos/bestiejs/json3/subscribers","subscription_url":"https://api.github.com/repos/bestiejs/json3/subscription","commits_url":"https://api.github.com/repos/bestiejs/json3/commits{/sha}","git_commits_url":"https://api.github.com/repos/bestiejs/json3/git/commits{/sha}","comments_url":"https://api.github.com/repos/bestiejs/json3/comments{/number}","issue_comment_url":"https://api.github.com/repos/bestiejs/json3/issues/comments/{number}","contents_url":"https://api.github.com/repos/bestiejs/json3/contents/{+path}","compare_url":"https://api.github.com/repos/bestiejs/json3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bestiejs/json3/merges","archive_url":"https://api.github.com/repos/bestiejs/json3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bestiejs/json3/downloads","issues_url":"https://api.github.com/repos/bestiejs/json3/issues{/number}","pulls_url":"https://api.github.com/repos/bestiejs/json3/pulls{/number}","milestones_url":"https://api.github.com/repos/bestiejs/json3/milestones{/number}","notifications_url":"https://api.github.com/repos/bestiejs/json3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bestiejs/json3/labels{/name}","releases_url":"https://api.github.com/repos/bestiejs/json3/releases{/id}","created_at":"2012-02-11T01:18:46Z","updated_at":"2015-01-09T05:10:58Z","pushed_at":"2015-01-09T05:29:04Z","git_url":"git://github.com/bestiejs/json3.git","ssh_url":"git@github.com:bestiejs/json3.git","clone_url":"https://github.com/bestiejs/json3.git","svn_url":"https://github.com/bestiejs/json3","homepage":"https://bestiejs.github.io/json3","size":12875,"stargazers_count":678,"watchers_count":678,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":9,"forks":82,"open_issues":9,"watchers":678,"default_branch":"master"}},"base":{"label":"bestiejs:master","ref":"master","sha":"c8f95ece158fa6eba08a27e455f032119ea51e5f","user":{"login":"bestiejs","id":802850,"avatar_url":"https://avatars.githubusercontent.com/u/802850?v=3","gravatar_id":"","url":"https://api.github.com/users/bestiejs","html_url":"https://github.com/bestiejs","followers_url":"https://api.github.com/users/bestiejs/followers","following_url":"https://api.github.com/users/bestiejs/following{/other_user}","gists_url":"https://api.github.com/users/bestiejs/gists{/gist_id}","starred_url":"https://api.github.com/users/bestiejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestiejs/subscriptions","organizations_url":"https://api.github.com/users/bestiejs/orgs","repos_url":"https://api.github.com/users/bestiejs/repos","events_url":"https://api.github.com/users/bestiejs/events{/privacy}","received_events_url":"https://api.github.com/users/bestiejs/received_events","type":"Organization","site_admin":false},"repo":{"id":3412691,"name":"json3","full_name":"bestiejs/json3","owner":{"login":"bestiejs","id":802850,"avatar_url":"https://avatars.githubusercontent.com/u/802850?v=3","gravatar_id":"","url":"https://api.github.com/users/bestiejs","html_url":"https://github.com/bestiejs","followers_url":"https://api.github.com/users/bestiejs/followers","following_url":"https://api.github.com/users/bestiejs/following{/other_user}","gists_url":"https://api.github.com/users/bestiejs/gists{/gist_id}","starred_url":"https://api.github.com/users/bestiejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bestiejs/subscriptions","organizations_url":"https://api.github.com/users/bestiejs/orgs","repos_url":"https://api.github.com/users/bestiejs/repos","events_url":"https://api.github.com/users/bestiejs/events{/privacy}","received_events_url":"https://api.github.com/users/bestiejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bestiejs/json3","description":"A modern JSON implementation compatible with nearly all JavaScript platforms.","fork":false,"url":"https://api.github.com/repos/bestiejs/json3","forks_url":"https://api.github.com/repos/bestiejs/json3/forks","keys_url":"https://api.github.com/repos/bestiejs/json3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bestiejs/json3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bestiejs/json3/teams","hooks_url":"https://api.github.com/repos/bestiejs/json3/hooks","issue_events_url":"https://api.github.com/repos/bestiejs/json3/issues/events{/number}","events_url":"https://api.github.com/repos/bestiejs/json3/events","assignees_url":"https://api.github.com/repos/bestiejs/json3/assignees{/user}","branches_url":"https://api.github.com/repos/bestiejs/json3/branches{/branch}","tags_url":"https://api.github.com/repos/bestiejs/json3/tags","blobs_url":"https://api.github.com/repos/bestiejs/json3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bestiejs/json3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bestiejs/json3/git/refs{/sha}","trees_url":"https://api.github.com/repos/bestiejs/json3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bestiejs/json3/statuses/{sha}","languages_url":"https://api.github.com/repos/bestiejs/json3/languages","stargazers_url":"https://api.github.com/repos/bestiejs/json3/stargazers","contributors_url":"https://api.github.com/repos/bestiejs/json3/contributors","subscribers_url":"https://api.github.com/repos/bestiejs/json3/subscribers","subscription_url":"https://api.github.com/repos/bestiejs/json3/subscription","commits_url":"https://api.github.com/repos/bestiejs/json3/commits{/sha}","git_commits_url":"https://api.github.com/repos/bestiejs/json3/git/commits{/sha}","comments_url":"https://api.github.com/repos/bestiejs/json3/comments{/number}","issue_comment_url":"https://api.github.com/repos/bestiejs/json3/issues/comments/{number}","contents_url":"https://api.github.com/repos/bestiejs/json3/contents/{+path}","compare_url":"https://api.github.com/repos/bestiejs/json3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bestiejs/json3/merges","archive_url":"https://api.github.com/repos/bestiejs/json3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bestiejs/json3/downloads","issues_url":"https://api.github.com/repos/bestiejs/json3/issues{/number}","pulls_url":"https://api.github.com/repos/bestiejs/json3/pulls{/number}","milestones_url":"https://api.github.com/repos/bestiejs/json3/milestones{/number}","notifications_url":"https://api.github.com/repos/bestiejs/json3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bestiejs/json3/labels{/name}","releases_url":"https://api.github.com/repos/bestiejs/json3/releases{/id}","created_at":"2012-02-11T01:18:46Z","updated_at":"2015-01-09T05:10:58Z","pushed_at":"2015-01-09T05:29:04Z","git_url":"git://github.com/bestiejs/json3.git","ssh_url":"git@github.com:bestiejs/json3.git","clone_url":"https://github.com/bestiejs/json3.git","svn_url":"https://github.com/bestiejs/json3","homepage":"https://bestiejs.github.io/json3","size":12875,"stargazers_count":678,"watchers_count":678,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":82,"mirror_url":null,"open_issues_count":9,"forks":82,"open_issues":9,"watchers":678,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bestiejs/json3/pulls/72"},"html":{"href":"https://github.com/bestiejs/json3/pull/72"},"issue":{"href":"https://api.github.com/repos/bestiejs/json3/issues/72"},"comments":{"href":"https://api.github.com/repos/bestiejs/json3/issues/72/comments"},"review_comments":{"href":"https://api.github.com/repos/bestiejs/json3/pulls/72/comments"},"review_comment":{"href":"https://api.github.com/repos/bestiejs/json3/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/bestiejs/json3/pulls/72/commits"},"statuses":{"href":"https://api.github.com/repos/bestiejs/json3/statuses/151dc4083c077ced124db391dab7a55c6e598180"}}}}