{"action":"created","comment":{"url":"https://api.github.com/repos/bitovi/canjs/pulls/comments/27275861","id":27275861,"diff_hunk":"@@ -109,10 +156,36 @@ steal('can/util/string', function (can) {\n \t\t *     this.last = last;\n \t\t *   }\n \t\t * });\n+\t\t * \n+\t\t * // store a reference to the original newInstance function\n+\t\t * var _newInstance = Person.newInstance;\n+\t\t *\n+\t\t * // override Person's newInstance function\n+\t\t * Person.newInstance = function() {\n+\t\t * // if cache does not exist make it an new object\n+\t\t * this.__cache = this.__cache || {};\n+\t\t * // id is a stingified version of the passed arguments\n+\t\t * var id = JSON.stringify(arguments);\n+\t\t *\n+\t\t * // look in the cache to see if the object already exists\n+\t\t * var cachedInst = this.__cache[id];\n+\t\t * if(cachedInst) {\n+\t\t * \t\treturn cachedInst;","path":"construct/construct.js","position":109,"original_position":109,"commit_id":"138b0c66ed982f3f2b004575543e74cb2f5f6bd8","original_commit_id":"138b0c66ed982f3f2b004575543e74cb2f5f6bd8","user":{"login":"justinbmeyer","id":78602,"avatar_url":"https://avatars.githubusercontent.com/u/78602?v=3","gravatar_id":"","url":"https://api.github.com/users/justinbmeyer","html_url":"https://github.com/justinbmeyer","followers_url":"https://api.github.com/users/justinbmeyer/followers","following_url":"https://api.github.com/users/justinbmeyer/following{/other_user}","gists_url":"https://api.github.com/users/justinbmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbmeyer/subscriptions","organizations_url":"https://api.github.com/users/justinbmeyer/orgs","repos_url":"https://api.github.com/users/justinbmeyer/repos","events_url":"https://api.github.com/users/justinbmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/justinbmeyer/received_events","type":"User","site_admin":false},"body":"This creates a warning: https://travis-ci.org/bitovi/canjs/jobs/56051453#L487  I think tabs were mistakingly used right of the `*`.","created_at":"2015-03-27T04:49:25Z","updated_at":"2015-03-27T04:49:25Z","html_url":"https://github.com/bitovi/canjs/pull/1560#discussion_r27275861","pull_request_url":"https://api.github.com/repos/bitovi/canjs/pulls/1560","_links":{"self":{"href":"https://api.github.com/repos/bitovi/canjs/pulls/comments/27275861"},"html":{"href":"https://github.com/bitovi/canjs/pull/1560#discussion_r27275861"},"pull_request":{"href":"https://api.github.com/repos/bitovi/canjs/pulls/1560"}}},"pull_request":{"url":"https://api.github.com/repos/bitovi/canjs/pulls/1560","id":32083075,"html_url":"https://github.com/bitovi/canjs/pull/1560","diff_url":"https://github.com/bitovi/canjs/pull/1560.diff","patch_url":"https://github.com/bitovi/canjs/pull/1560.patch","issue_url":"https://api.github.com/repos/bitovi/canjs/issues/1560","number":1560,"state":"open","locked":false,"title":"Docs Cleanup","user":{"login":"justinbmeyer","id":78602,"avatar_url":"https://avatars.githubusercontent.com/u/78602?v=3","gravatar_id":"","url":"https://api.github.com/users/justinbmeyer","html_url":"https://github.com/justinbmeyer","followers_url":"https://api.github.com/users/justinbmeyer/followers","following_url":"https://api.github.com/users/justinbmeyer/following{/other_user}","gists_url":"https://api.github.com/users/justinbmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/justinbmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justinbmeyer/subscriptions","organizations_url":"https://api.github.com/users/justinbmeyer/orgs","repos_url":"https://api.github.com/users/justinbmeyer/repos","events_url":"https://api.github.com/users/justinbmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/justinbmeyer/received_events","type":"User","site_admin":false},"body":"These are all the docs changes from the API team.","created_at":"2015-03-27T04:45:32Z","updated_at":"2015-03-27T04:49:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4086fd0cbbacd1be8866dafe6e3a75d6da9293c5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bitovi/canjs/pulls/1560/commits","review_comments_url":"https://api.github.com/repos/bitovi/canjs/pulls/1560/comments","review_comment_url":"https://api.github.com/repos/bitovi/canjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitovi/canjs/issues/1560/comments","statuses_url":"https://api.github.com/repos/bitovi/canjs/statuses/138b0c66ed982f3f2b004575543e74cb2f5f6bd8","head":{"label":"bitovi:docs-cleanup","ref":"docs-cleanup","sha":"138b0c66ed982f3f2b004575543e74cb2f5f6bd8","user":{"login":"bitovi","id":2782656,"avatar_url":"https://avatars.githubusercontent.com/u/2782656?v=3","gravatar_id":"","url":"https://api.github.com/users/bitovi","html_url":"https://github.com/bitovi","followers_url":"https://api.github.com/users/bitovi/followers","following_url":"https://api.github.com/users/bitovi/following{/other_user}","gists_url":"https://api.github.com/users/bitovi/gists{/gist_id}","starred_url":"https://api.github.com/users/bitovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitovi/subscriptions","organizations_url":"https://api.github.com/users/bitovi/orgs","repos_url":"https://api.github.com/users/bitovi/repos","events_url":"https://api.github.com/users/bitovi/events{/privacy}","received_events_url":"https://api.github.com/users/bitovi/received_events","type":"Organization","site_admin":false},"repo":{"id":3228363,"name":"canjs","full_name":"bitovi/canjs","owner":{"login":"bitovi","id":2782656,"avatar_url":"https://avatars.githubusercontent.com/u/2782656?v=3","gravatar_id":"","url":"https://api.github.com/users/bitovi","html_url":"https://github.com/bitovi","followers_url":"https://api.github.com/users/bitovi/followers","following_url":"https://api.github.com/users/bitovi/following{/other_user}","gists_url":"https://api.github.com/users/bitovi/gists{/gist_id}","starred_url":"https://api.github.com/users/bitovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitovi/subscriptions","organizations_url":"https://api.github.com/users/bitovi/orgs","repos_url":"https://api.github.com/users/bitovi/repos","events_url":"https://api.github.com/users/bitovi/events{/privacy}","received_events_url":"https://api.github.com/users/bitovi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitovi/canjs","description":"Can do JS, better, faster, easier.","fork":false,"url":"https://api.github.com/repos/bitovi/canjs","forks_url":"https://api.github.com/repos/bitovi/canjs/forks","keys_url":"https://api.github.com/repos/bitovi/canjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitovi/canjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitovi/canjs/teams","hooks_url":"https://api.github.com/repos/bitovi/canjs/hooks","issue_events_url":"https://api.github.com/repos/bitovi/canjs/issues/events{/number}","events_url":"https://api.github.com/repos/bitovi/canjs/events","assignees_url":"https://api.github.com/repos/bitovi/canjs/assignees{/user}","branches_url":"https://api.github.com/repos/bitovi/canjs/branches{/branch}","tags_url":"https://api.github.com/repos/bitovi/canjs/tags","blobs_url":"https://api.github.com/repos/bitovi/canjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitovi/canjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitovi/canjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitovi/canjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitovi/canjs/statuses/{sha}","languages_url":"https://api.github.com/repos/bitovi/canjs/languages","stargazers_url":"https://api.github.com/repos/bitovi/canjs/stargazers","contributors_url":"https://api.github.com/repos/bitovi/canjs/contributors","subscribers_url":"https://api.github.com/repos/bitovi/canjs/subscribers","subscription_url":"https://api.github.com/repos/bitovi/canjs/subscription","commits_url":"https://api.github.com/repos/bitovi/canjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitovi/canjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitovi/canjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitovi/canjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitovi/canjs/contents/{+path}","compare_url":"https://api.github.com/repos/bitovi/canjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitovi/canjs/merges","archive_url":"https://api.github.com/repos/bitovi/canjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitovi/canjs/downloads","issues_url":"https://api.github.com/repos/bitovi/canjs/issues{/number}","pulls_url":"https://api.github.com/repos/bitovi/canjs/pulls{/number}","milestones_url":"https://api.github.com/repos/bitovi/canjs/milestones{/number}","notifications_url":"https://api.github.com/repos/bitovi/canjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitovi/canjs/labels{/name}","releases_url":"https://api.github.com/repos/bitovi/canjs/releases{/id}","created_at":"2012-01-20T17:57:21Z","updated_at":"2015-03-27T03:30:05Z","pushed_at":"2015-03-27T04:49:20Z","git_url":"git://github.com/bitovi/canjs.git","ssh_url":"git@github.com:bitovi/canjs.git","clone_url":"https://github.com/bitovi/canjs.git","svn_url":"https://github.com/bitovi/canjs","homepage":"canjs.com","size":48007,"stargazers_count":1115,"watchers_count":1115,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":309,"mirror_url":null,"open_issues_count":225,"forks":309,"open_issues":225,"watchers":1115,"default_branch":"master"}},"base":{"label":"bitovi:master","ref":"master","sha":"479e297deaaebef990346abac3384ce90549a838","user":{"login":"bitovi","id":2782656,"avatar_url":"https://avatars.githubusercontent.com/u/2782656?v=3","gravatar_id":"","url":"https://api.github.com/users/bitovi","html_url":"https://github.com/bitovi","followers_url":"https://api.github.com/users/bitovi/followers","following_url":"https://api.github.com/users/bitovi/following{/other_user}","gists_url":"https://api.github.com/users/bitovi/gists{/gist_id}","starred_url":"https://api.github.com/users/bitovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitovi/subscriptions","organizations_url":"https://api.github.com/users/bitovi/orgs","repos_url":"https://api.github.com/users/bitovi/repos","events_url":"https://api.github.com/users/bitovi/events{/privacy}","received_events_url":"https://api.github.com/users/bitovi/received_events","type":"Organization","site_admin":false},"repo":{"id":3228363,"name":"canjs","full_name":"bitovi/canjs","owner":{"login":"bitovi","id":2782656,"avatar_url":"https://avatars.githubusercontent.com/u/2782656?v=3","gravatar_id":"","url":"https://api.github.com/users/bitovi","html_url":"https://github.com/bitovi","followers_url":"https://api.github.com/users/bitovi/followers","following_url":"https://api.github.com/users/bitovi/following{/other_user}","gists_url":"https://api.github.com/users/bitovi/gists{/gist_id}","starred_url":"https://api.github.com/users/bitovi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitovi/subscriptions","organizations_url":"https://api.github.com/users/bitovi/orgs","repos_url":"https://api.github.com/users/bitovi/repos","events_url":"https://api.github.com/users/bitovi/events{/privacy}","received_events_url":"https://api.github.com/users/bitovi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bitovi/canjs","description":"Can do JS, better, faster, easier.","fork":false,"url":"https://api.github.com/repos/bitovi/canjs","forks_url":"https://api.github.com/repos/bitovi/canjs/forks","keys_url":"https://api.github.com/repos/bitovi/canjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitovi/canjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitovi/canjs/teams","hooks_url":"https://api.github.com/repos/bitovi/canjs/hooks","issue_events_url":"https://api.github.com/repos/bitovi/canjs/issues/events{/number}","events_url":"https://api.github.com/repos/bitovi/canjs/events","assignees_url":"https://api.github.com/repos/bitovi/canjs/assignees{/user}","branches_url":"https://api.github.com/repos/bitovi/canjs/branches{/branch}","tags_url":"https://api.github.com/repos/bitovi/canjs/tags","blobs_url":"https://api.github.com/repos/bitovi/canjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitovi/canjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitovi/canjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitovi/canjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitovi/canjs/statuses/{sha}","languages_url":"https://api.github.com/repos/bitovi/canjs/languages","stargazers_url":"https://api.github.com/repos/bitovi/canjs/stargazers","contributors_url":"https://api.github.com/repos/bitovi/canjs/contributors","subscribers_url":"https://api.github.com/repos/bitovi/canjs/subscribers","subscription_url":"https://api.github.com/repos/bitovi/canjs/subscription","commits_url":"https://api.github.com/repos/bitovi/canjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitovi/canjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitovi/canjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitovi/canjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitovi/canjs/contents/{+path}","compare_url":"https://api.github.com/repos/bitovi/canjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitovi/canjs/merges","archive_url":"https://api.github.com/repos/bitovi/canjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitovi/canjs/downloads","issues_url":"https://api.github.com/repos/bitovi/canjs/issues{/number}","pulls_url":"https://api.github.com/repos/bitovi/canjs/pulls{/number}","milestones_url":"https://api.github.com/repos/bitovi/canjs/milestones{/number}","notifications_url":"https://api.github.com/repos/bitovi/canjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitovi/canjs/labels{/name}","releases_url":"https://api.github.com/repos/bitovi/canjs/releases{/id}","created_at":"2012-01-20T17:57:21Z","updated_at":"2015-03-27T03:30:05Z","pushed_at":"2015-03-27T04:49:20Z","git_url":"git://github.com/bitovi/canjs.git","ssh_url":"git@github.com:bitovi/canjs.git","clone_url":"https://github.com/bitovi/canjs.git","svn_url":"https://github.com/bitovi/canjs","homepage":"canjs.com","size":48007,"stargazers_count":1115,"watchers_count":1115,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":309,"mirror_url":null,"open_issues_count":225,"forks":309,"open_issues":225,"watchers":1115,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitovi/canjs/pulls/1560"},"html":{"href":"https://github.com/bitovi/canjs/pull/1560"},"issue":{"href":"https://api.github.com/repos/bitovi/canjs/issues/1560"},"comments":{"href":"https://api.github.com/repos/bitovi/canjs/issues/1560/comments"},"review_comments":{"href":"https://api.github.com/repos/bitovi/canjs/pulls/1560/comments"},"review_comment":{"href":"https://api.github.com/repos/bitovi/canjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitovi/canjs/pulls/1560/commits"},"statuses":{"href":"https://api.github.com/repos/bitovi/canjs/statuses/138b0c66ed982f3f2b004575543e74cb2f5f6bd8"}}}}