{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/domenic/amd-wrap/pulls/6","id":41856927,"html_url":"https://github.com/domenic/amd-wrap/pull/6","diff_url":"https://github.com/domenic/amd-wrap/pull/6.diff","patch_url":"https://github.com/domenic/amd-wrap/pull/6.patch","issue_url":"https://api.github.com/repos/domenic/amd-wrap/issues/6","number":6,"state":"open","locked":false,"title":"add more checking for define function","user":{"login":"maisui99","id":589572,"avatar_url":"https://avatars.githubusercontent.com/u/589572?v=3","gravatar_id":"","url":"https://api.github.com/users/maisui99","html_url":"https://github.com/maisui99","followers_url":"https://api.github.com/users/maisui99/followers","following_url":"https://api.github.com/users/maisui99/following{/other_user}","gists_url":"https://api.github.com/users/maisui99/gists{/gist_id}","starred_url":"https://api.github.com/users/maisui99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maisui99/subscriptions","organizations_url":"https://api.github.com/users/maisui99/orgs","repos_url":"https://api.github.com/users/maisui99/repos","events_url":"https://api.github.com/users/maisui99/events{/privacy}","received_events_url":"https://api.github.com/users/maisui99/received_events","type":"User","site_admin":false},"body":"and support modulename to be inserted in define.\r\n\r\n```\r\nvar wrapped = amdWrap(\"moduleName\",\"module.exports = 5;\");\r\n```","created_at":"2015-08-07T03:33:04Z","updated_at":"2015-08-07T03:33:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/domenic/amd-wrap/pulls/6/commits","review_comments_url":"https://api.github.com/repos/domenic/amd-wrap/pulls/6/comments","review_comment_url":"https://api.github.com/repos/domenic/amd-wrap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/domenic/amd-wrap/issues/6/comments","statuses_url":"https://api.github.com/repos/domenic/amd-wrap/statuses/df3e75948f3ae1c4197e016a42aa29ccd59a5103","head":{"label":"maisui99:master","ref":"master","sha":"df3e75948f3ae1c4197e016a42aa29ccd59a5103","user":{"login":"maisui99","id":589572,"avatar_url":"https://avatars.githubusercontent.com/u/589572?v=3","gravatar_id":"","url":"https://api.github.com/users/maisui99","html_url":"https://github.com/maisui99","followers_url":"https://api.github.com/users/maisui99/followers","following_url":"https://api.github.com/users/maisui99/following{/other_user}","gists_url":"https://api.github.com/users/maisui99/gists{/gist_id}","starred_url":"https://api.github.com/users/maisui99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maisui99/subscriptions","organizations_url":"https://api.github.com/users/maisui99/orgs","repos_url":"https://api.github.com/users/maisui99/repos","events_url":"https://api.github.com/users/maisui99/events{/privacy}","received_events_url":"https://api.github.com/users/maisui99/received_events","type":"User","site_admin":false},"repo":{"id":40339162,"name":"amd-wrap","full_name":"maisui99/amd-wrap","owner":{"login":"maisui99","id":589572,"avatar_url":"https://avatars.githubusercontent.com/u/589572?v=3","gravatar_id":"","url":"https://api.github.com/users/maisui99","html_url":"https://github.com/maisui99","followers_url":"https://api.github.com/users/maisui99/followers","following_url":"https://api.github.com/users/maisui99/following{/other_user}","gists_url":"https://api.github.com/users/maisui99/gists{/gist_id}","starred_url":"https://api.github.com/users/maisui99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maisui99/subscriptions","organizations_url":"https://api.github.com/users/maisui99/orgs","repos_url":"https://api.github.com/users/maisui99/repos","events_url":"https://api.github.com/users/maisui99/events{/privacy}","received_events_url":"https://api.github.com/users/maisui99/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maisui99/amd-wrap","description":"Wraps CommonJS files in `define(function (require, exports, module) { ... })`.","fork":true,"url":"https://api.github.com/repos/maisui99/amd-wrap","forks_url":"https://api.github.com/repos/maisui99/amd-wrap/forks","keys_url":"https://api.github.com/repos/maisui99/amd-wrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maisui99/amd-wrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maisui99/amd-wrap/teams","hooks_url":"https://api.github.com/repos/maisui99/amd-wrap/hooks","issue_events_url":"https://api.github.com/repos/maisui99/amd-wrap/issues/events{/number}","events_url":"https://api.github.com/repos/maisui99/amd-wrap/events","assignees_url":"https://api.github.com/repos/maisui99/amd-wrap/assignees{/user}","branches_url":"https://api.github.com/repos/maisui99/amd-wrap/branches{/branch}","tags_url":"https://api.github.com/repos/maisui99/amd-wrap/tags","blobs_url":"https://api.github.com/repos/maisui99/amd-wrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maisui99/amd-wrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maisui99/amd-wrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/maisui99/amd-wrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maisui99/amd-wrap/statuses/{sha}","languages_url":"https://api.github.com/repos/maisui99/amd-wrap/languages","stargazers_url":"https://api.github.com/repos/maisui99/amd-wrap/stargazers","contributors_url":"https://api.github.com/repos/maisui99/amd-wrap/contributors","subscribers_url":"https://api.github.com/repos/maisui99/amd-wrap/subscribers","subscription_url":"https://api.github.com/repos/maisui99/amd-wrap/subscription","commits_url":"https://api.github.com/repos/maisui99/amd-wrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/maisui99/amd-wrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/maisui99/amd-wrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/maisui99/amd-wrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/maisui99/amd-wrap/contents/{+path}","compare_url":"https://api.github.com/repos/maisui99/amd-wrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maisui99/amd-wrap/merges","archive_url":"https://api.github.com/repos/maisui99/amd-wrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maisui99/amd-wrap/downloads","issues_url":"https://api.github.com/repos/maisui99/amd-wrap/issues{/number}","pulls_url":"https://api.github.com/repos/maisui99/amd-wrap/pulls{/number}","milestones_url":"https://api.github.com/repos/maisui99/amd-wrap/milestones{/number}","notifications_url":"https://api.github.com/repos/maisui99/amd-wrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maisui99/amd-wrap/labels{/name}","releases_url":"https://api.github.com/repos/maisui99/amd-wrap/releases{/id}","created_at":"2015-08-07T03:28:32Z","updated_at":"2015-08-07T03:28:32Z","pushed_at":"2015-08-07T03:31:43Z","git_url":"git://github.com/maisui99/amd-wrap.git","ssh_url":"git@github.com:maisui99/amd-wrap.git","clone_url":"https://github.com/maisui99/amd-wrap.git","svn_url":"https://github.com/maisui99/amd-wrap","homepage":null,"size":179,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"domenic:master","ref":"master","sha":"64062f25523de64e52757accdbfd91ab43d16d75","user":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"repo":{"id":11912185,"name":"amd-wrap","full_name":"domenic/amd-wrap","owner":{"login":"domenic","id":617481,"avatar_url":"https://avatars.githubusercontent.com/u/617481?v=3","gravatar_id":"","url":"https://api.github.com/users/domenic","html_url":"https://github.com/domenic","followers_url":"https://api.github.com/users/domenic/followers","following_url":"https://api.github.com/users/domenic/following{/other_user}","gists_url":"https://api.github.com/users/domenic/gists{/gist_id}","starred_url":"https://api.github.com/users/domenic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domenic/subscriptions","organizations_url":"https://api.github.com/users/domenic/orgs","repos_url":"https://api.github.com/users/domenic/repos","events_url":"https://api.github.com/users/domenic/events{/privacy}","received_events_url":"https://api.github.com/users/domenic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/domenic/amd-wrap","description":"Wraps CommonJS files in `define(function (require, exports, module) { ... })`.","fork":false,"url":"https://api.github.com/repos/domenic/amd-wrap","forks_url":"https://api.github.com/repos/domenic/amd-wrap/forks","keys_url":"https://api.github.com/repos/domenic/amd-wrap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/domenic/amd-wrap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/domenic/amd-wrap/teams","hooks_url":"https://api.github.com/repos/domenic/amd-wrap/hooks","issue_events_url":"https://api.github.com/repos/domenic/amd-wrap/issues/events{/number}","events_url":"https://api.github.com/repos/domenic/amd-wrap/events","assignees_url":"https://api.github.com/repos/domenic/amd-wrap/assignees{/user}","branches_url":"https://api.github.com/repos/domenic/amd-wrap/branches{/branch}","tags_url":"https://api.github.com/repos/domenic/amd-wrap/tags","blobs_url":"https://api.github.com/repos/domenic/amd-wrap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/domenic/amd-wrap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/domenic/amd-wrap/git/refs{/sha}","trees_url":"https://api.github.com/repos/domenic/amd-wrap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/domenic/amd-wrap/statuses/{sha}","languages_url":"https://api.github.com/repos/domenic/amd-wrap/languages","stargazers_url":"https://api.github.com/repos/domenic/amd-wrap/stargazers","contributors_url":"https://api.github.com/repos/domenic/amd-wrap/contributors","subscribers_url":"https://api.github.com/repos/domenic/amd-wrap/subscribers","subscription_url":"https://api.github.com/repos/domenic/amd-wrap/subscription","commits_url":"https://api.github.com/repos/domenic/amd-wrap/commits{/sha}","git_commits_url":"https://api.github.com/repos/domenic/amd-wrap/git/commits{/sha}","comments_url":"https://api.github.com/repos/domenic/amd-wrap/comments{/number}","issue_comment_url":"https://api.github.com/repos/domenic/amd-wrap/issues/comments{/number}","contents_url":"https://api.github.com/repos/domenic/amd-wrap/contents/{+path}","compare_url":"https://api.github.com/repos/domenic/amd-wrap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/domenic/amd-wrap/merges","archive_url":"https://api.github.com/repos/domenic/amd-wrap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/domenic/amd-wrap/downloads","issues_url":"https://api.github.com/repos/domenic/amd-wrap/issues{/number}","pulls_url":"https://api.github.com/repos/domenic/amd-wrap/pulls{/number}","milestones_url":"https://api.github.com/repos/domenic/amd-wrap/milestones{/number}","notifications_url":"https://api.github.com/repos/domenic/amd-wrap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/domenic/amd-wrap/labels{/name}","releases_url":"https://api.github.com/repos/domenic/amd-wrap/releases{/id}","created_at":"2013-08-06T00:30:14Z","updated_at":"2015-05-16T18:58:08Z","pushed_at":"2015-08-07T03:21:20Z","git_url":"git://github.com/domenic/amd-wrap.git","ssh_url":"git@github.com:domenic/amd-wrap.git","clone_url":"https://github.com/domenic/amd-wrap.git","svn_url":"https://github.com/domenic/amd-wrap","homepage":null,"size":179,"stargazers_count":7,"watchers_count":7,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":7,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/domenic/amd-wrap/pulls/6"},"html":{"href":"https://github.com/domenic/amd-wrap/pull/6"},"issue":{"href":"https://api.github.com/repos/domenic/amd-wrap/issues/6"},"comments":{"href":"https://api.github.com/repos/domenic/amd-wrap/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/domenic/amd-wrap/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/domenic/amd-wrap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/domenic/amd-wrap/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/domenic/amd-wrap/statuses/df3e75948f3ae1c4197e016a42aa29ccd59a5103"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":111,"deletions":5,"changed_files":6}}