{"action":"created","comment":{"url":"https://api.github.com/repos/chriskwan/module-maker/pulls/comments/48513324","id":48513324,"diff_hunk":"@@ -70,25 +62,32 @@ var makeGlobal = function (options) {\n // - obj: the object to make into a module\n // - moduleObj: a reference to the caller's module object (just pass in the word module)\n // - name: used for AMD (optional) and global objects (required)\n-var make = function (options) {\n-    var isCommonJSMade = makeCommonJS(options);\n-    var isAMDMade = makeAMD(options);\n+var make = ({ obj, moduleObj, name }) => \n+{","path":"src/module-maker.js","position":60,"original_position":60,"commit_id":"35e74d2ec8ffa03f6aa226ae0cac59c361f5bd47","original_commit_id":"35e74d2ec8ffa03f6aa226ae0cac59c361f5bd47","user":{"login":"chriskwan","id":174767,"avatar_url":"https://avatars.githubusercontent.com/u/174767?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskwan","html_url":"https://github.com/chriskwan","followers_url":"https://api.github.com/users/chriskwan/followers","following_url":"https://api.github.com/users/chriskwan/following{/other_user}","gists_url":"https://api.github.com/users/chriskwan/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskwan/subscriptions","organizations_url":"https://api.github.com/users/chriskwan/orgs","repos_url":"https://api.github.com/users/chriskwan/repos","events_url":"https://api.github.com/users/chriskwan/events{/privacy}","received_events_url":"https://api.github.com/users/chriskwan/received_events","type":"User","site_admin":false},"body":"See above","created_at":"2015-12-28T23:36:45Z","updated_at":"2015-12-28T23:36:45Z","html_url":"https://github.com/chriskwan/module-maker/pull/1#discussion_r48513324","pull_request_url":"https://api.github.com/repos/chriskwan/module-maker/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/chriskwan/module-maker/pulls/comments/48513324"},"html":{"href":"https://github.com/chriskwan/module-maker/pull/1#discussion_r48513324"},"pull_request":{"href":"https://api.github.com/repos/chriskwan/module-maker/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/chriskwan/module-maker/pulls/1","id":54300474,"html_url":"https://github.com/chriskwan/module-maker/pull/1","diff_url":"https://github.com/chriskwan/module-maker/pull/1.diff","patch_url":"https://github.com/chriskwan/module-maker/pull/1.patch","issue_url":"https://api.github.com/repos/chriskwan/module-maker/issues/1","number":1,"state":"open","locked":false,"title":"Adding Babel with ES6 stoof.","user":{"login":"dggriffin","id":774648,"avatar_url":"https://avatars.githubusercontent.com/u/774648?v=3","gravatar_id":"","url":"https://api.github.com/users/dggriffin","html_url":"https://github.com/dggriffin","followers_url":"https://api.github.com/users/dggriffin/followers","following_url":"https://api.github.com/users/dggriffin/following{/other_user}","gists_url":"https://api.github.com/users/dggriffin/gists{/gist_id}","starred_url":"https://api.github.com/users/dggriffin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dggriffin/subscriptions","organizations_url":"https://api.github.com/users/dggriffin/orgs","repos_url":"https://api.github.com/users/dggriffin/repos","events_url":"https://api.github.com/users/dggriffin/events{/privacy}","received_events_url":"https://api.github.com/users/dggriffin/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-12-21T20:41:43Z","updated_at":"2015-12-28T23:36:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"75d78d2a19a789dc4f85abe0e8042da61003bd36","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/chriskwan/module-maker/pulls/1/commits","review_comments_url":"https://api.github.com/repos/chriskwan/module-maker/pulls/1/comments","review_comment_url":"https://api.github.com/repos/chriskwan/module-maker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chriskwan/module-maker/issues/1/comments","statuses_url":"https://api.github.com/repos/chriskwan/module-maker/statuses/35e74d2ec8ffa03f6aa226ae0cac59c361f5bd47","head":{"label":"chriskwan:babel","ref":"babel","sha":"35e74d2ec8ffa03f6aa226ae0cac59c361f5bd47","user":{"login":"chriskwan","id":174767,"avatar_url":"https://avatars.githubusercontent.com/u/174767?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskwan","html_url":"https://github.com/chriskwan","followers_url":"https://api.github.com/users/chriskwan/followers","following_url":"https://api.github.com/users/chriskwan/following{/other_user}","gists_url":"https://api.github.com/users/chriskwan/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskwan/subscriptions","organizations_url":"https://api.github.com/users/chriskwan/orgs","repos_url":"https://api.github.com/users/chriskwan/repos","events_url":"https://api.github.com/users/chriskwan/events{/privacy}","received_events_url":"https://api.github.com/users/chriskwan/received_events","type":"User","site_admin":false},"repo":{"id":48123228,"name":"module-maker","full_name":"chriskwan/module-maker","owner":{"login":"chriskwan","id":174767,"avatar_url":"https://avatars.githubusercontent.com/u/174767?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskwan","html_url":"https://github.com/chriskwan","followers_url":"https://api.github.com/users/chriskwan/followers","following_url":"https://api.github.com/users/chriskwan/following{/other_user}","gists_url":"https://api.github.com/users/chriskwan/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskwan/subscriptions","organizations_url":"https://api.github.com/users/chriskwan/orgs","repos_url":"https://api.github.com/users/chriskwan/repos","events_url":"https://api.github.com/users/chriskwan/events{/privacy}","received_events_url":"https://api.github.com/users/chriskwan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chriskwan/module-maker","description":"Make an ordinary JavaScript object into a superheroic module (CommonJS, AMD, or global)","fork":false,"url":"https://api.github.com/repos/chriskwan/module-maker","forks_url":"https://api.github.com/repos/chriskwan/module-maker/forks","keys_url":"https://api.github.com/repos/chriskwan/module-maker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chriskwan/module-maker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chriskwan/module-maker/teams","hooks_url":"https://api.github.com/repos/chriskwan/module-maker/hooks","issue_events_url":"https://api.github.com/repos/chriskwan/module-maker/issues/events{/number}","events_url":"https://api.github.com/repos/chriskwan/module-maker/events","assignees_url":"https://api.github.com/repos/chriskwan/module-maker/assignees{/user}","branches_url":"https://api.github.com/repos/chriskwan/module-maker/branches{/branch}","tags_url":"https://api.github.com/repos/chriskwan/module-maker/tags","blobs_url":"https://api.github.com/repos/chriskwan/module-maker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chriskwan/module-maker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chriskwan/module-maker/git/refs{/sha}","trees_url":"https://api.github.com/repos/chriskwan/module-maker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chriskwan/module-maker/statuses/{sha}","languages_url":"https://api.github.com/repos/chriskwan/module-maker/languages","stargazers_url":"https://api.github.com/repos/chriskwan/module-maker/stargazers","contributors_url":"https://api.github.com/repos/chriskwan/module-maker/contributors","subscribers_url":"https://api.github.com/repos/chriskwan/module-maker/subscribers","subscription_url":"https://api.github.com/repos/chriskwan/module-maker/subscription","commits_url":"https://api.github.com/repos/chriskwan/module-maker/commits{/sha}","git_commits_url":"https://api.github.com/repos/chriskwan/module-maker/git/commits{/sha}","comments_url":"https://api.github.com/repos/chriskwan/module-maker/comments{/number}","issue_comment_url":"https://api.github.com/repos/chriskwan/module-maker/issues/comments{/number}","contents_url":"https://api.github.com/repos/chriskwan/module-maker/contents/{+path}","compare_url":"https://api.github.com/repos/chriskwan/module-maker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chriskwan/module-maker/merges","archive_url":"https://api.github.com/repos/chriskwan/module-maker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chriskwan/module-maker/downloads","issues_url":"https://api.github.com/repos/chriskwan/module-maker/issues{/number}","pulls_url":"https://api.github.com/repos/chriskwan/module-maker/pulls{/number}","milestones_url":"https://api.github.com/repos/chriskwan/module-maker/milestones{/number}","notifications_url":"https://api.github.com/repos/chriskwan/module-maker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chriskwan/module-maker/labels{/name}","releases_url":"https://api.github.com/repos/chriskwan/module-maker/releases{/id}","created_at":"2015-12-16T16:53:58Z","updated_at":"2015-12-18T16:11:15Z","pushed_at":"2015-12-21T20:41:44Z","git_url":"git://github.com/chriskwan/module-maker.git","ssh_url":"git@github.com:chriskwan/module-maker.git","clone_url":"https://github.com/chriskwan/module-maker.git","svn_url":"https://github.com/chriskwan/module-maker","homepage":"","size":8,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"base":{"label":"chriskwan:master","ref":"master","sha":"262180a1d79a512f09e7747cfee3f6bcf3aa822c","user":{"login":"chriskwan","id":174767,"avatar_url":"https://avatars.githubusercontent.com/u/174767?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskwan","html_url":"https://github.com/chriskwan","followers_url":"https://api.github.com/users/chriskwan/followers","following_url":"https://api.github.com/users/chriskwan/following{/other_user}","gists_url":"https://api.github.com/users/chriskwan/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskwan/subscriptions","organizations_url":"https://api.github.com/users/chriskwan/orgs","repos_url":"https://api.github.com/users/chriskwan/repos","events_url":"https://api.github.com/users/chriskwan/events{/privacy}","received_events_url":"https://api.github.com/users/chriskwan/received_events","type":"User","site_admin":false},"repo":{"id":48123228,"name":"module-maker","full_name":"chriskwan/module-maker","owner":{"login":"chriskwan","id":174767,"avatar_url":"https://avatars.githubusercontent.com/u/174767?v=3","gravatar_id":"","url":"https://api.github.com/users/chriskwan","html_url":"https://github.com/chriskwan","followers_url":"https://api.github.com/users/chriskwan/followers","following_url":"https://api.github.com/users/chriskwan/following{/other_user}","gists_url":"https://api.github.com/users/chriskwan/gists{/gist_id}","starred_url":"https://api.github.com/users/chriskwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriskwan/subscriptions","organizations_url":"https://api.github.com/users/chriskwan/orgs","repos_url":"https://api.github.com/users/chriskwan/repos","events_url":"https://api.github.com/users/chriskwan/events{/privacy}","received_events_url":"https://api.github.com/users/chriskwan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chriskwan/module-maker","description":"Make an ordinary JavaScript object into a superheroic module (CommonJS, AMD, or global)","fork":false,"url":"https://api.github.com/repos/chriskwan/module-maker","forks_url":"https://api.github.com/repos/chriskwan/module-maker/forks","keys_url":"https://api.github.com/repos/chriskwan/module-maker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chriskwan/module-maker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chriskwan/module-maker/teams","hooks_url":"https://api.github.com/repos/chriskwan/module-maker/hooks","issue_events_url":"https://api.github.com/repos/chriskwan/module-maker/issues/events{/number}","events_url":"https://api.github.com/repos/chriskwan/module-maker/events","assignees_url":"https://api.github.com/repos/chriskwan/module-maker/assignees{/user}","branches_url":"https://api.github.com/repos/chriskwan/module-maker/branches{/branch}","tags_url":"https://api.github.com/repos/chriskwan/module-maker/tags","blobs_url":"https://api.github.com/repos/chriskwan/module-maker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chriskwan/module-maker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chriskwan/module-maker/git/refs{/sha}","trees_url":"https://api.github.com/repos/chriskwan/module-maker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chriskwan/module-maker/statuses/{sha}","languages_url":"https://api.github.com/repos/chriskwan/module-maker/languages","stargazers_url":"https://api.github.com/repos/chriskwan/module-maker/stargazers","contributors_url":"https://api.github.com/repos/chriskwan/module-maker/contributors","subscribers_url":"https://api.github.com/repos/chriskwan/module-maker/subscribers","subscription_url":"https://api.github.com/repos/chriskwan/module-maker/subscription","commits_url":"https://api.github.com/repos/chriskwan/module-maker/commits{/sha}","git_commits_url":"https://api.github.com/repos/chriskwan/module-maker/git/commits{/sha}","comments_url":"https://api.github.com/repos/chriskwan/module-maker/comments{/number}","issue_comment_url":"https://api.github.com/repos/chriskwan/module-maker/issues/comments{/number}","contents_url":"https://api.github.com/repos/chriskwan/module-maker/contents/{+path}","compare_url":"https://api.github.com/repos/chriskwan/module-maker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chriskwan/module-maker/merges","archive_url":"https://api.github.com/repos/chriskwan/module-maker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chriskwan/module-maker/downloads","issues_url":"https://api.github.com/repos/chriskwan/module-maker/issues{/number}","pulls_url":"https://api.github.com/repos/chriskwan/module-maker/pulls{/number}","milestones_url":"https://api.github.com/repos/chriskwan/module-maker/milestones{/number}","notifications_url":"https://api.github.com/repos/chriskwan/module-maker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chriskwan/module-maker/labels{/name}","releases_url":"https://api.github.com/repos/chriskwan/module-maker/releases{/id}","created_at":"2015-12-16T16:53:58Z","updated_at":"2015-12-18T16:11:15Z","pushed_at":"2015-12-21T20:41:44Z","git_url":"git://github.com/chriskwan/module-maker.git","ssh_url":"git@github.com:chriskwan/module-maker.git","clone_url":"https://github.com/chriskwan/module-maker.git","svn_url":"https://github.com/chriskwan/module-maker","homepage":"","size":8,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/chriskwan/module-maker/pulls/1"},"html":{"href":"https://github.com/chriskwan/module-maker/pull/1"},"issue":{"href":"https://api.github.com/repos/chriskwan/module-maker/issues/1"},"comments":{"href":"https://api.github.com/repos/chriskwan/module-maker/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/chriskwan/module-maker/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/chriskwan/module-maker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chriskwan/module-maker/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/chriskwan/module-maker/statuses/35e74d2ec8ffa03f6aa226ae0cac59c361f5bd47"}}}}