{"action":"opened","number":28,"pull_request":{"url":"https://api.github.com/repos/losandes/hilaryjs/pulls/28","id":96421512,"html_url":"https://github.com/losandes/hilaryjs/pull/28","diff_url":"https://github.com/losandes/hilaryjs/pull/28.diff","patch_url":"https://github.com/losandes/hilaryjs/pull/28.patch","issue_url":"https://api.github.com/repos/losandes/hilaryjs/issues/28","number":28,"state":"open","locked":false,"title":"Adds module.exports support","user":{"login":"losandes","id":933621,"avatar_url":"https://avatars.githubusercontent.com/u/933621?v=3","gravatar_id":"","url":"https://api.github.com/users/losandes","html_url":"https://github.com/losandes","followers_url":"https://api.github.com/users/losandes/followers","following_url":"https://api.github.com/users/losandes/following{/other_user}","gists_url":"https://api.github.com/users/losandes/gists{/gist_id}","starred_url":"https://api.github.com/users/losandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losandes/subscriptions","organizations_url":"https://api.github.com/users/losandes/orgs","repos_url":"https://api.github.com/users/losandes/repos","events_url":"https://api.github.com/users/losandes/events{/privacy}","received_events_url":"https://api.github.com/users/losandes/received_events","type":"User","site_admin":false},"body":"**[Browser Only]** You can now decouple your modules from Hilary, and use the `module.exports` syntax to define your modules. You have to add the script: `<script src=\"[PATH]/release/hilary.moduleExports.min.js\" />`. Then you can define your modules like this:\r\n\r\n```JavaScript\r\nmodule.exports = {\r\n    scope: 'myApp',\r\n    name: 'myModule',\r\n    dependencines: [],\r\n    factory: function () {\r\n        'use strict';\r\n\r\n        // do something\r\n    }\r\n};\r\n```","created_at":"2016-12-04T04:53:19Z","updated_at":"2016-12-04T04:53:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/losandes/hilaryjs/pulls/28/commits","review_comments_url":"https://api.github.com/repos/losandes/hilaryjs/pulls/28/comments","review_comment_url":"https://api.github.com/repos/losandes/hilaryjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/losandes/hilaryjs/issues/28/comments","statuses_url":"https://api.github.com/repos/losandes/hilaryjs/statuses/7b4a639844917be71385c50087b3bcc91b78d108","head":{"label":"losandes:module-exports","ref":"module-exports","sha":"7b4a639844917be71385c50087b3bcc91b78d108","user":{"login":"losandes","id":933621,"avatar_url":"https://avatars.githubusercontent.com/u/933621?v=3","gravatar_id":"","url":"https://api.github.com/users/losandes","html_url":"https://github.com/losandes","followers_url":"https://api.github.com/users/losandes/followers","following_url":"https://api.github.com/users/losandes/following{/other_user}","gists_url":"https://api.github.com/users/losandes/gists{/gist_id}","starred_url":"https://api.github.com/users/losandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losandes/subscriptions","organizations_url":"https://api.github.com/users/losandes/orgs","repos_url":"https://api.github.com/users/losandes/repos","events_url":"https://api.github.com/users/losandes/events{/privacy}","received_events_url":"https://api.github.com/users/losandes/received_events","type":"User","site_admin":false},"repo":{"id":16583211,"name":"hilaryjs","full_name":"losandes/hilaryjs","owner":{"login":"losandes","id":933621,"avatar_url":"https://avatars.githubusercontent.com/u/933621?v=3","gravatar_id":"","url":"https://api.github.com/users/losandes","html_url":"https://github.com/losandes","followers_url":"https://api.github.com/users/losandes/followers","following_url":"https://api.github.com/users/losandes/following{/other_user}","gists_url":"https://api.github.com/users/losandes/gists{/gist_id}","starred_url":"https://api.github.com/users/losandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losandes/subscriptions","organizations_url":"https://api.github.com/users/losandes/orgs","repos_url":"https://api.github.com/users/losandes/repos","events_url":"https://api.github.com/users/losandes/events{/privacy}","received_events_url":"https://api.github.com/users/losandes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/losandes/hilaryjs","description":"a simple Dependency Injection (DI) library that provides Inversion of Control (IoC) capabilities in Node.js and the browser","fork":false,"url":"https://api.github.com/repos/losandes/hilaryjs","forks_url":"https://api.github.com/repos/losandes/hilaryjs/forks","keys_url":"https://api.github.com/repos/losandes/hilaryjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/losandes/hilaryjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/losandes/hilaryjs/teams","hooks_url":"https://api.github.com/repos/losandes/hilaryjs/hooks","issue_events_url":"https://api.github.com/repos/losandes/hilaryjs/issues/events{/number}","events_url":"https://api.github.com/repos/losandes/hilaryjs/events","assignees_url":"https://api.github.com/repos/losandes/hilaryjs/assignees{/user}","branches_url":"https://api.github.com/repos/losandes/hilaryjs/branches{/branch}","tags_url":"https://api.github.com/repos/losandes/hilaryjs/tags","blobs_url":"https://api.github.com/repos/losandes/hilaryjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/losandes/hilaryjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/losandes/hilaryjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/losandes/hilaryjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/losandes/hilaryjs/statuses/{sha}","languages_url":"https://api.github.com/repos/losandes/hilaryjs/languages","stargazers_url":"https://api.github.com/repos/losandes/hilaryjs/stargazers","contributors_url":"https://api.github.com/repos/losandes/hilaryjs/contributors","subscribers_url":"https://api.github.com/repos/losandes/hilaryjs/subscribers","subscription_url":"https://api.github.com/repos/losandes/hilaryjs/subscription","commits_url":"https://api.github.com/repos/losandes/hilaryjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/losandes/hilaryjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/losandes/hilaryjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/losandes/hilaryjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/losandes/hilaryjs/contents/{+path}","compare_url":"https://api.github.com/repos/losandes/hilaryjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/losandes/hilaryjs/merges","archive_url":"https://api.github.com/repos/losandes/hilaryjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/losandes/hilaryjs/downloads","issues_url":"https://api.github.com/repos/losandes/hilaryjs/issues{/number}","pulls_url":"https://api.github.com/repos/losandes/hilaryjs/pulls{/number}","milestones_url":"https://api.github.com/repos/losandes/hilaryjs/milestones{/number}","notifications_url":"https://api.github.com/repos/losandes/hilaryjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/losandes/hilaryjs/labels{/name}","releases_url":"https://api.github.com/repos/losandes/hilaryjs/releases{/id}","deployments_url":"https://api.github.com/repos/losandes/hilaryjs/deployments","created_at":"2014-02-06T15:21:26Z","updated_at":"2016-04-06T18:20:45Z","pushed_at":"2016-12-04T04:53:19Z","git_url":"git://github.com/losandes/hilaryjs.git","ssh_url":"git@github.com:losandes/hilaryjs.git","clone_url":"https://github.com/losandes/hilaryjs.git","svn_url":"https://github.com/losandes/hilaryjs","homepage":"","size":1127,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":6,"default_branch":"master"}},"base":{"label":"losandes:master","ref":"master","sha":"470b471e4a352e92ef34961b065e81e0905ae6bb","user":{"login":"losandes","id":933621,"avatar_url":"https://avatars.githubusercontent.com/u/933621?v=3","gravatar_id":"","url":"https://api.github.com/users/losandes","html_url":"https://github.com/losandes","followers_url":"https://api.github.com/users/losandes/followers","following_url":"https://api.github.com/users/losandes/following{/other_user}","gists_url":"https://api.github.com/users/losandes/gists{/gist_id}","starred_url":"https://api.github.com/users/losandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losandes/subscriptions","organizations_url":"https://api.github.com/users/losandes/orgs","repos_url":"https://api.github.com/users/losandes/repos","events_url":"https://api.github.com/users/losandes/events{/privacy}","received_events_url":"https://api.github.com/users/losandes/received_events","type":"User","site_admin":false},"repo":{"id":16583211,"name":"hilaryjs","full_name":"losandes/hilaryjs","owner":{"login":"losandes","id":933621,"avatar_url":"https://avatars.githubusercontent.com/u/933621?v=3","gravatar_id":"","url":"https://api.github.com/users/losandes","html_url":"https://github.com/losandes","followers_url":"https://api.github.com/users/losandes/followers","following_url":"https://api.github.com/users/losandes/following{/other_user}","gists_url":"https://api.github.com/users/losandes/gists{/gist_id}","starred_url":"https://api.github.com/users/losandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/losandes/subscriptions","organizations_url":"https://api.github.com/users/losandes/orgs","repos_url":"https://api.github.com/users/losandes/repos","events_url":"https://api.github.com/users/losandes/events{/privacy}","received_events_url":"https://api.github.com/users/losandes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/losandes/hilaryjs","description":"a simple Dependency Injection (DI) library that provides Inversion of Control (IoC) capabilities in Node.js and the browser","fork":false,"url":"https://api.github.com/repos/losandes/hilaryjs","forks_url":"https://api.github.com/repos/losandes/hilaryjs/forks","keys_url":"https://api.github.com/repos/losandes/hilaryjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/losandes/hilaryjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/losandes/hilaryjs/teams","hooks_url":"https://api.github.com/repos/losandes/hilaryjs/hooks","issue_events_url":"https://api.github.com/repos/losandes/hilaryjs/issues/events{/number}","events_url":"https://api.github.com/repos/losandes/hilaryjs/events","assignees_url":"https://api.github.com/repos/losandes/hilaryjs/assignees{/user}","branches_url":"https://api.github.com/repos/losandes/hilaryjs/branches{/branch}","tags_url":"https://api.github.com/repos/losandes/hilaryjs/tags","blobs_url":"https://api.github.com/repos/losandes/hilaryjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/losandes/hilaryjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/losandes/hilaryjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/losandes/hilaryjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/losandes/hilaryjs/statuses/{sha}","languages_url":"https://api.github.com/repos/losandes/hilaryjs/languages","stargazers_url":"https://api.github.com/repos/losandes/hilaryjs/stargazers","contributors_url":"https://api.github.com/repos/losandes/hilaryjs/contributors","subscribers_url":"https://api.github.com/repos/losandes/hilaryjs/subscribers","subscription_url":"https://api.github.com/repos/losandes/hilaryjs/subscription","commits_url":"https://api.github.com/repos/losandes/hilaryjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/losandes/hilaryjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/losandes/hilaryjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/losandes/hilaryjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/losandes/hilaryjs/contents/{+path}","compare_url":"https://api.github.com/repos/losandes/hilaryjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/losandes/hilaryjs/merges","archive_url":"https://api.github.com/repos/losandes/hilaryjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/losandes/hilaryjs/downloads","issues_url":"https://api.github.com/repos/losandes/hilaryjs/issues{/number}","pulls_url":"https://api.github.com/repos/losandes/hilaryjs/pulls{/number}","milestones_url":"https://api.github.com/repos/losandes/hilaryjs/milestones{/number}","notifications_url":"https://api.github.com/repos/losandes/hilaryjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/losandes/hilaryjs/labels{/name}","releases_url":"https://api.github.com/repos/losandes/hilaryjs/releases{/id}","deployments_url":"https://api.github.com/repos/losandes/hilaryjs/deployments","created_at":"2014-02-06T15:21:26Z","updated_at":"2016-04-06T18:20:45Z","pushed_at":"2016-12-04T04:53:19Z","git_url":"git://github.com/losandes/hilaryjs.git","ssh_url":"git@github.com:losandes/hilaryjs.git","clone_url":"https://github.com/losandes/hilaryjs.git","svn_url":"https://github.com/losandes/hilaryjs","homepage":"","size":1127,"stargazers_count":6,"watchers_count":6,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/losandes/hilaryjs/pulls/28"},"html":{"href":"https://github.com/losandes/hilaryjs/pull/28"},"issue":{"href":"https://api.github.com/repos/losandes/hilaryjs/issues/28"},"comments":{"href":"https://api.github.com/repos/losandes/hilaryjs/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/losandes/hilaryjs/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/losandes/hilaryjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/losandes/hilaryjs/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/losandes/hilaryjs/statuses/7b4a639844917be71385c50087b3bcc91b78d108"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":224,"deletions":50,"changed_files":25}}
{"actor":{"display_login":"losandes"}}