{"action":"opened","number":162,"pull_request":{"url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/162","id":36816550,"html_url":"https://github.com/addyosmani/essential-js-design-patterns/pull/162","diff_url":"https://github.com/addyosmani/essential-js-design-patterns/pull/162.diff","patch_url":"https://github.com/addyosmani/essential-js-design-patterns/pull/162.patch","issue_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues/162","number":162,"state":"open","locked":false,"title":"add jsTestDriver demo","user":{"login":"qcgm1978","id":3024299,"avatar_url":"https://avatars.githubusercontent.com/u/3024299?v=3","gravatar_id":"","url":"https://api.github.com/users/qcgm1978","html_url":"https://github.com/qcgm1978","followers_url":"https://api.github.com/users/qcgm1978/followers","following_url":"https://api.github.com/users/qcgm1978/following{/other_user}","gists_url":"https://api.github.com/users/qcgm1978/gists{/gist_id}","starred_url":"https://api.github.com/users/qcgm1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qcgm1978/subscriptions","organizations_url":"https://api.github.com/users/qcgm1978/orgs","repos_url":"https://api.github.com/users/qcgm1978/repos","events_url":"https://api.github.com/users/qcgm1978/events{/privacy}","received_events_url":"https://api.github.com/users/qcgm1978/received_events","type":"User","site_admin":false},"body":"It seems no test about code in the book, so I author some test in test folder by jsTestDriver framework.","created_at":"2015-06-03T10:04:40Z","updated_at":"2015-06-03T10:04:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/162/commits","review_comments_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/162/comments","review_comment_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/comments{/number}","comments_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues/162/comments","statuses_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/statuses/79ecc46341abd7e7f188a6d144d2766aed94fd9b","head":{"label":"qcgm1978:master","ref":"master","sha":"79ecc46341abd7e7f188a6d144d2766aed94fd9b","user":{"login":"qcgm1978","id":3024299,"avatar_url":"https://avatars.githubusercontent.com/u/3024299?v=3","gravatar_id":"","url":"https://api.github.com/users/qcgm1978","html_url":"https://github.com/qcgm1978","followers_url":"https://api.github.com/users/qcgm1978/followers","following_url":"https://api.github.com/users/qcgm1978/following{/other_user}","gists_url":"https://api.github.com/users/qcgm1978/gists{/gist_id}","starred_url":"https://api.github.com/users/qcgm1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qcgm1978/subscriptions","organizations_url":"https://api.github.com/users/qcgm1978/orgs","repos_url":"https://api.github.com/users/qcgm1978/repos","events_url":"https://api.github.com/users/qcgm1978/events{/privacy}","received_events_url":"https://api.github.com/users/qcgm1978/received_events","type":"User","site_admin":false},"repo":{"id":36789638,"name":"essential-js-design-patterns","full_name":"qcgm1978/essential-js-design-patterns","owner":{"login":"qcgm1978","id":3024299,"avatar_url":"https://avatars.githubusercontent.com/u/3024299?v=3","gravatar_id":"","url":"https://api.github.com/users/qcgm1978","html_url":"https://github.com/qcgm1978","followers_url":"https://api.github.com/users/qcgm1978/followers","following_url":"https://api.github.com/users/qcgm1978/following{/other_user}","gists_url":"https://api.github.com/users/qcgm1978/gists{/gist_id}","starred_url":"https://api.github.com/users/qcgm1978/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qcgm1978/subscriptions","organizations_url":"https://api.github.com/users/qcgm1978/orgs","repos_url":"https://api.github.com/users/qcgm1978/repos","events_url":"https://api.github.com/users/qcgm1978/events{/privacy}","received_events_url":"https://api.github.com/users/qcgm1978/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qcgm1978/essential-js-design-patterns","description":"Repo for 'Learning JavaScript Design Patterns' - creative-commons book on JavaScript design patterns.","fork":true,"url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns","forks_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/forks","keys_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/teams","hooks_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/hooks","issue_events_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/events","assignees_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/tags","blobs_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/languages","stargazers_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/stargazers","contributors_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/contributors","subscribers_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/subscribers","subscription_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/subscription","commits_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/merges","archive_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/downloads","issues_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/qcgm1978/essential-js-design-patterns/releases{/id}","created_at":"2015-06-03T08:15:52Z","updated_at":"2015-06-03T08:15:52Z","pushed_at":"2015-06-03T10:02:12Z","git_url":"git://github.com/qcgm1978/essential-js-design-patterns.git","ssh_url":"git@github.com:qcgm1978/essential-js-design-patterns.git","clone_url":"https://github.com/qcgm1978/essential-js-design-patterns.git","svn_url":"https://github.com/qcgm1978/essential-js-design-patterns","homepage":"http://addyosmani.com/resources/essentialjsdesignpatterns/book/","size":6559,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"addyosmani:master","ref":"master","sha":"8d1624eeccfad06aef0e4a4867cb17384f56a5e1","user":{"login":"addyosmani","id":110953,"avatar_url":"https://avatars.githubusercontent.com/u/110953?v=3","gravatar_id":"","url":"https://api.github.com/users/addyosmani","html_url":"https://github.com/addyosmani","followers_url":"https://api.github.com/users/addyosmani/followers","following_url":"https://api.github.com/users/addyosmani/following{/other_user}","gists_url":"https://api.github.com/users/addyosmani/gists{/gist_id}","starred_url":"https://api.github.com/users/addyosmani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addyosmani/subscriptions","organizations_url":"https://api.github.com/users/addyosmani/orgs","repos_url":"https://api.github.com/users/addyosmani/repos","events_url":"https://api.github.com/users/addyosmani/events{/privacy}","received_events_url":"https://api.github.com/users/addyosmani/received_events","type":"User","site_admin":false},"repo":{"id":1530104,"name":"essential-js-design-patterns","full_name":"addyosmani/essential-js-design-patterns","owner":{"login":"addyosmani","id":110953,"avatar_url":"https://avatars.githubusercontent.com/u/110953?v=3","gravatar_id":"","url":"https://api.github.com/users/addyosmani","html_url":"https://github.com/addyosmani","followers_url":"https://api.github.com/users/addyosmani/followers","following_url":"https://api.github.com/users/addyosmani/following{/other_user}","gists_url":"https://api.github.com/users/addyosmani/gists{/gist_id}","starred_url":"https://api.github.com/users/addyosmani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/addyosmani/subscriptions","organizations_url":"https://api.github.com/users/addyosmani/orgs","repos_url":"https://api.github.com/users/addyosmani/repos","events_url":"https://api.github.com/users/addyosmani/events{/privacy}","received_events_url":"https://api.github.com/users/addyosmani/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/addyosmani/essential-js-design-patterns","description":"Repo for 'Learning JavaScript Design Patterns' - creative-commons book on JavaScript design patterns.","fork":false,"url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns","forks_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/forks","keys_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/keys{/key_id}","collaborators_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/teams","hooks_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/hooks","issue_events_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues/events{/number}","events_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/events","assignees_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/assignees{/user}","branches_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/branches{/branch}","tags_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/tags","blobs_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/git/refs{/sha}","trees_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/git/trees{/sha}","statuses_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/statuses/{sha}","languages_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/languages","stargazers_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/stargazers","contributors_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/contributors","subscribers_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/subscribers","subscription_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/subscription","commits_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/commits{/sha}","git_commits_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/git/commits{/sha}","comments_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/comments{/number}","issue_comment_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues/comments{/number}","contents_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/contents/{+path}","compare_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/compare/{base}...{head}","merges_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/merges","archive_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/downloads","issues_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues{/number}","pulls_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls{/number}","milestones_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/milestones{/number}","notifications_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/labels{/name}","releases_url":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/releases{/id}","created_at":"2011-03-26T18:23:16Z","updated_at":"2015-06-03T08:13:49Z","pushed_at":"2015-05-21T09:24:48Z","git_url":"git://github.com/addyosmani/essential-js-design-patterns.git","ssh_url":"git@github.com:addyosmani/essential-js-design-patterns.git","clone_url":"https://github.com/addyosmani/essential-js-design-patterns.git","svn_url":"https://github.com/addyosmani/essential-js-design-patterns","homepage":"http://addyosmani.com/resources/essentialjsdesignpatterns/book/","size":7661,"stargazers_count":1986,"watchers_count":1986,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":322,"mirror_url":null,"open_issues_count":11,"forks":322,"open_issues":11,"watchers":1986,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/162"},"html":{"href":"https://github.com/addyosmani/essential-js-design-patterns/pull/162"},"issue":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues/162"},"comments":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/addyosmani/essential-js-design-patterns/statuses/79ecc46341abd7e7f188a6d144d2766aed94fd9b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":72,"deletions":0,"changed_files":3}}