{"action":"created","comment":{"url":"https://api.github.com/repos/chikeichan/Trio/pulls/comments/46617691","id":46617691,"diff_hunk":"@@ -0,0 +1,29 @@\n+describe('The Module Class', function() {\n+\tit('should load one script', function(done) {\n+\t\tTrio.Module.import([\n+\t\t\t'./base/spec/module/assets/test.js'\n+\t\t]).and.then(function(test) {\n+\t\t\texpect(test).toBe('test');\n+\t\t\tdone();\n+\t\t});\n+\t});\n+\n+\tit('should load multiple scripts', function(done) {\n+\t\tTrio.Module.import([\n+\t\t\t'./base/spec/module/assets/foo.js',\n+\t\t\t'./base/spec/module/assets/bar.js'\n+\t\t]).and.then(function(foo, bar) {\n+\t\t\texpect(foo + bar).toBe('foobar');\n+\t\t\tdone();\n+\t\t});\n+\t});","path":"spec/module/module.spec.js","position":19,"original_position":19,"commit_id":"8932be0a1aaff3bc8cb17304e6cf2a5d89bad39e","original_commit_id":"8932be0a1aaff3bc8cb17304e6cf2a5d89bad39e","user":{"login":"chikeichan","id":8507735,"avatar_url":"https://avatars.githubusercontent.com/u/8507735?v=3","gravatar_id":"","url":"https://api.github.com/users/chikeichan","html_url":"https://github.com/chikeichan","followers_url":"https://api.github.com/users/chikeichan/followers","following_url":"https://api.github.com/users/chikeichan/following{/other_user}","gists_url":"https://api.github.com/users/chikeichan/gists{/gist_id}","starred_url":"https://api.github.com/users/chikeichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikeichan/subscriptions","organizations_url":"https://api.github.com/users/chikeichan/orgs","repos_url":"https://api.github.com/users/chikeichan/repos","events_url":"https://api.github.com/users/chikeichan/events{/privacy}","received_events_url":"https://api.github.com/users/chikeichan/received_events","type":"User","site_admin":false},"body":"foo has dependency on f and oo\r\nbar has dependency on b and ar\r\n\r\nThis test that Trio.Module will load these files synchronously in the right order","created_at":"2015-12-03T21:49:32Z","updated_at":"2015-12-03T21:49:32Z","html_url":"https://github.com/chikeichan/Trio/pull/109#discussion_r46617691","pull_request_url":"https://api.github.com/repos/chikeichan/Trio/pulls/109","_links":{"self":{"href":"https://api.github.com/repos/chikeichan/Trio/pulls/comments/46617691"},"html":{"href":"https://github.com/chikeichan/Trio/pull/109#discussion_r46617691"},"pull_request":{"href":"https://api.github.com/repos/chikeichan/Trio/pulls/109"}}},"pull_request":{"url":"https://api.github.com/repos/chikeichan/Trio/pulls/109","id":52597341,"html_url":"https://github.com/chikeichan/Trio/pull/109","diff_url":"https://github.com/chikeichan/Trio/pull/109.diff","patch_url":"https://github.com/chikeichan/Trio/pull/109.patch","issue_url":"https://api.github.com/repos/chikeichan/Trio/issues/109","number":109,"state":"open","locked":false,"title":"104 - Load modules using Array instead of Object keys","user":{"login":"chikeichan","id":8507735,"avatar_url":"https://avatars.githubusercontent.com/u/8507735?v=3","gravatar_id":"","url":"https://api.github.com/users/chikeichan","html_url":"https://github.com/chikeichan","followers_url":"https://api.github.com/users/chikeichan/followers","following_url":"https://api.github.com/users/chikeichan/following{/other_user}","gists_url":"https://api.github.com/users/chikeichan/gists{/gist_id}","starred_url":"https://api.github.com/users/chikeichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikeichan/subscriptions","organizations_url":"https://api.github.com/users/chikeichan/orgs","repos_url":"https://api.github.com/users/chikeichan/repos","events_url":"https://api.github.com/users/chikeichan/events{/privacy}","received_events_url":"https://api.github.com/users/chikeichan/received_events","type":"User","site_admin":false},"body":"This resolves #104 ","created_at":"2015-12-03T21:46:38Z","updated_at":"2015-12-03T21:49:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"08f8557e58749ee2b0cfb1d1fa910fe73a0283f7","assignee":{"login":"sdtsui","id":8230144,"avatar_url":"https://avatars.githubusercontent.com/u/8230144?v=3","gravatar_id":"","url":"https://api.github.com/users/sdtsui","html_url":"https://github.com/sdtsui","followers_url":"https://api.github.com/users/sdtsui/followers","following_url":"https://api.github.com/users/sdtsui/following{/other_user}","gists_url":"https://api.github.com/users/sdtsui/gists{/gist_id}","starred_url":"https://api.github.com/users/sdtsui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdtsui/subscriptions","organizations_url":"https://api.github.com/users/sdtsui/orgs","repos_url":"https://api.github.com/users/sdtsui/repos","events_url":"https://api.github.com/users/sdtsui/events{/privacy}","received_events_url":"https://api.github.com/users/sdtsui/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/chikeichan/Trio/pulls/109/commits","review_comments_url":"https://api.github.com/repos/chikeichan/Trio/pulls/109/comments","review_comment_url":"https://api.github.com/repos/chikeichan/Trio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chikeichan/Trio/issues/109/comments","statuses_url":"https://api.github.com/repos/chikeichan/Trio/statuses/8932be0a1aaff3bc8cb17304e6cf2a5d89bad39e","head":{"label":"chikeichan:trio#104","ref":"trio#104","sha":"8932be0a1aaff3bc8cb17304e6cf2a5d89bad39e","user":{"login":"chikeichan","id":8507735,"avatar_url":"https://avatars.githubusercontent.com/u/8507735?v=3","gravatar_id":"","url":"https://api.github.com/users/chikeichan","html_url":"https://github.com/chikeichan","followers_url":"https://api.github.com/users/chikeichan/followers","following_url":"https://api.github.com/users/chikeichan/following{/other_user}","gists_url":"https://api.github.com/users/chikeichan/gists{/gist_id}","starred_url":"https://api.github.com/users/chikeichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikeichan/subscriptions","organizations_url":"https://api.github.com/users/chikeichan/orgs","repos_url":"https://api.github.com/users/chikeichan/repos","events_url":"https://api.github.com/users/chikeichan/events{/privacy}","received_events_url":"https://api.github.com/users/chikeichan/received_events","type":"User","site_admin":false},"repo":{"id":39370355,"name":"Trio","full_name":"chikeichan/Trio","owner":{"login":"chikeichan","id":8507735,"avatar_url":"https://avatars.githubusercontent.com/u/8507735?v=3","gravatar_id":"","url":"https://api.github.com/users/chikeichan","html_url":"https://github.com/chikeichan","followers_url":"https://api.github.com/users/chikeichan/followers","following_url":"https://api.github.com/users/chikeichan/following{/other_user}","gists_url":"https://api.github.com/users/chikeichan/gists{/gist_id}","starred_url":"https://api.github.com/users/chikeichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikeichan/subscriptions","organizations_url":"https://api.github.com/users/chikeichan/orgs","repos_url":"https://api.github.com/users/chikeichan/repos","events_url":"https://api.github.com/users/chikeichan/events{/privacy}","received_events_url":"https://api.github.com/users/chikeichan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chikeichan/Trio","description":"MVC Framework","fork":false,"url":"https://api.github.com/repos/chikeichan/Trio","forks_url":"https://api.github.com/repos/chikeichan/Trio/forks","keys_url":"https://api.github.com/repos/chikeichan/Trio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chikeichan/Trio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chikeichan/Trio/teams","hooks_url":"https://api.github.com/repos/chikeichan/Trio/hooks","issue_events_url":"https://api.github.com/repos/chikeichan/Trio/issues/events{/number}","events_url":"https://api.github.com/repos/chikeichan/Trio/events","assignees_url":"https://api.github.com/repos/chikeichan/Trio/assignees{/user}","branches_url":"https://api.github.com/repos/chikeichan/Trio/branches{/branch}","tags_url":"https://api.github.com/repos/chikeichan/Trio/tags","blobs_url":"https://api.github.com/repos/chikeichan/Trio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chikeichan/Trio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chikeichan/Trio/git/refs{/sha}","trees_url":"https://api.github.com/repos/chikeichan/Trio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chikeichan/Trio/statuses/{sha}","languages_url":"https://api.github.com/repos/chikeichan/Trio/languages","stargazers_url":"https://api.github.com/repos/chikeichan/Trio/stargazers","contributors_url":"https://api.github.com/repos/chikeichan/Trio/contributors","subscribers_url":"https://api.github.com/repos/chikeichan/Trio/subscribers","subscription_url":"https://api.github.com/repos/chikeichan/Trio/subscription","commits_url":"https://api.github.com/repos/chikeichan/Trio/commits{/sha}","git_commits_url":"https://api.github.com/repos/chikeichan/Trio/git/commits{/sha}","comments_url":"https://api.github.com/repos/chikeichan/Trio/comments{/number}","issue_comment_url":"https://api.github.com/repos/chikeichan/Trio/issues/comments{/number}","contents_url":"https://api.github.com/repos/chikeichan/Trio/contents/{+path}","compare_url":"https://api.github.com/repos/chikeichan/Trio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chikeichan/Trio/merges","archive_url":"https://api.github.com/repos/chikeichan/Trio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chikeichan/Trio/downloads","issues_url":"https://api.github.com/repos/chikeichan/Trio/issues{/number}","pulls_url":"https://api.github.com/repos/chikeichan/Trio/pulls{/number}","milestones_url":"https://api.github.com/repos/chikeichan/Trio/milestones{/number}","notifications_url":"https://api.github.com/repos/chikeichan/Trio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chikeichan/Trio/labels{/name}","releases_url":"https://api.github.com/repos/chikeichan/Trio/releases{/id}","created_at":"2015-07-20T07:49:39Z","updated_at":"2015-11-27T00:19:36Z","pushed_at":"2015-12-03T21:46:38Z","git_url":"git://github.com/chikeichan/Trio.git","ssh_url":"git@github.com:chikeichan/Trio.git","clone_url":"https://github.com/chikeichan/Trio.git","svn_url":"https://github.com/chikeichan/Trio","homepage":"","size":684,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":1,"default_branch":"dev"}},"base":{"label":"chikeichan:dev","ref":"dev","sha":"f6a955c415026d36d12eec5f0584b0e67a4f0138","user":{"login":"chikeichan","id":8507735,"avatar_url":"https://avatars.githubusercontent.com/u/8507735?v=3","gravatar_id":"","url":"https://api.github.com/users/chikeichan","html_url":"https://github.com/chikeichan","followers_url":"https://api.github.com/users/chikeichan/followers","following_url":"https://api.github.com/users/chikeichan/following{/other_user}","gists_url":"https://api.github.com/users/chikeichan/gists{/gist_id}","starred_url":"https://api.github.com/users/chikeichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikeichan/subscriptions","organizations_url":"https://api.github.com/users/chikeichan/orgs","repos_url":"https://api.github.com/users/chikeichan/repos","events_url":"https://api.github.com/users/chikeichan/events{/privacy}","received_events_url":"https://api.github.com/users/chikeichan/received_events","type":"User","site_admin":false},"repo":{"id":39370355,"name":"Trio","full_name":"chikeichan/Trio","owner":{"login":"chikeichan","id":8507735,"avatar_url":"https://avatars.githubusercontent.com/u/8507735?v=3","gravatar_id":"","url":"https://api.github.com/users/chikeichan","html_url":"https://github.com/chikeichan","followers_url":"https://api.github.com/users/chikeichan/followers","following_url":"https://api.github.com/users/chikeichan/following{/other_user}","gists_url":"https://api.github.com/users/chikeichan/gists{/gist_id}","starred_url":"https://api.github.com/users/chikeichan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chikeichan/subscriptions","organizations_url":"https://api.github.com/users/chikeichan/orgs","repos_url":"https://api.github.com/users/chikeichan/repos","events_url":"https://api.github.com/users/chikeichan/events{/privacy}","received_events_url":"https://api.github.com/users/chikeichan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chikeichan/Trio","description":"MVC Framework","fork":false,"url":"https://api.github.com/repos/chikeichan/Trio","forks_url":"https://api.github.com/repos/chikeichan/Trio/forks","keys_url":"https://api.github.com/repos/chikeichan/Trio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chikeichan/Trio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chikeichan/Trio/teams","hooks_url":"https://api.github.com/repos/chikeichan/Trio/hooks","issue_events_url":"https://api.github.com/repos/chikeichan/Trio/issues/events{/number}","events_url":"https://api.github.com/repos/chikeichan/Trio/events","assignees_url":"https://api.github.com/repos/chikeichan/Trio/assignees{/user}","branches_url":"https://api.github.com/repos/chikeichan/Trio/branches{/branch}","tags_url":"https://api.github.com/repos/chikeichan/Trio/tags","blobs_url":"https://api.github.com/repos/chikeichan/Trio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chikeichan/Trio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chikeichan/Trio/git/refs{/sha}","trees_url":"https://api.github.com/repos/chikeichan/Trio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chikeichan/Trio/statuses/{sha}","languages_url":"https://api.github.com/repos/chikeichan/Trio/languages","stargazers_url":"https://api.github.com/repos/chikeichan/Trio/stargazers","contributors_url":"https://api.github.com/repos/chikeichan/Trio/contributors","subscribers_url":"https://api.github.com/repos/chikeichan/Trio/subscribers","subscription_url":"https://api.github.com/repos/chikeichan/Trio/subscription","commits_url":"https://api.github.com/repos/chikeichan/Trio/commits{/sha}","git_commits_url":"https://api.github.com/repos/chikeichan/Trio/git/commits{/sha}","comments_url":"https://api.github.com/repos/chikeichan/Trio/comments{/number}","issue_comment_url":"https://api.github.com/repos/chikeichan/Trio/issues/comments{/number}","contents_url":"https://api.github.com/repos/chikeichan/Trio/contents/{+path}","compare_url":"https://api.github.com/repos/chikeichan/Trio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chikeichan/Trio/merges","archive_url":"https://api.github.com/repos/chikeichan/Trio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chikeichan/Trio/downloads","issues_url":"https://api.github.com/repos/chikeichan/Trio/issues{/number}","pulls_url":"https://api.github.com/repos/chikeichan/Trio/pulls{/number}","milestones_url":"https://api.github.com/repos/chikeichan/Trio/milestones{/number}","notifications_url":"https://api.github.com/repos/chikeichan/Trio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chikeichan/Trio/labels{/name}","releases_url":"https://api.github.com/repos/chikeichan/Trio/releases{/id}","created_at":"2015-07-20T07:49:39Z","updated_at":"2015-11-27T00:19:36Z","pushed_at":"2015-12-03T21:46:38Z","git_url":"git://github.com/chikeichan/Trio.git","ssh_url":"git@github.com:chikeichan/Trio.git","clone_url":"https://github.com/chikeichan/Trio.git","svn_url":"https://github.com/chikeichan/Trio","homepage":"","size":684,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":29,"forks":1,"open_issues":29,"watchers":1,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/chikeichan/Trio/pulls/109"},"html":{"href":"https://github.com/chikeichan/Trio/pull/109"},"issue":{"href":"https://api.github.com/repos/chikeichan/Trio/issues/109"},"comments":{"href":"https://api.github.com/repos/chikeichan/Trio/issues/109/comments"},"review_comments":{"href":"https://api.github.com/repos/chikeichan/Trio/pulls/109/comments"},"review_comment":{"href":"https://api.github.com/repos/chikeichan/Trio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chikeichan/Trio/pulls/109/commits"},"statuses":{"href":"https://api.github.com/repos/chikeichan/Trio/statuses/8932be0a1aaff3bc8cb17304e6cf2a5d89bad39e"}}}}