{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/1","id":90507706,"html_url":"https://github.com/FilipeCavalcante/sharepointrestapi/pull/1","diff_url":"https://github.com/FilipeCavalcante/sharepointrestapi/pull/1.diff","patch_url":"https://github.com/FilipeCavalcante/sharepointrestapi/pull/1.patch","issue_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues/1","number":1,"state":"closed","locked":false,"title":"Fix main.ts to export SPRestRepository without any specific module system","user":{"login":"miguelcjalmeida","id":2680026,"avatar_url":"https://avatars.githubusercontent.com/u/2680026?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcjalmeida","html_url":"https://github.com/miguelcjalmeida","followers_url":"https://api.github.com/users/miguelcjalmeida/followers","following_url":"https://api.github.com/users/miguelcjalmeida/following{/other_user}","gists_url":"https://api.github.com/users/miguelcjalmeida/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcjalmeida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcjalmeida/subscriptions","organizations_url":"https://api.github.com/users/miguelcjalmeida/orgs","repos_url":"https://api.github.com/users/miguelcjalmeida/repos","events_url":"https://api.github.com/users/miguelcjalmeida/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcjalmeida/received_events","type":"User","site_admin":false},"body":"I have changed your typescript module to \"none\" in **tsconfig**. If you are using imports and exports feature then you don't need to compile for CommonJS module anymore.\r\n\r\nIn your **main.ts** I have also exported your SPRestRepository. So in your **sample1.html** you can have access to the repository by calling: **SPRest.SPRestRepository**. \r\n\r\nAlso I have changed your typescript's target version to \"es2015\" because this is the lastest available version of javascript and it have more built-in classes that you might use in your typescript. For example you could use the class called \"Promise\". \r\n\r\nAlso I have add a **samples/index.html** with a list of samples (currently you have just one) and I changed your task 'gulp serve' to start a server over your **/samples** folder instead of **./** (root) folder.\r\n\r\nPlease remember to **npm install** again because I have add a new dependency called babel-preset-es2015. This is required so Babel can transpile your javascript from **es2015** to **es5**, which is the currently javascript version supported by browsers.\r\n\r\nI hope you like it. \r\nSee you :) ","created_at":"2016-10-23T07:30:42Z","updated_at":"2016-10-23T13:40:19Z","closed_at":"2016-10-23T13:40:19Z","merged_at":"2016-10-23T13:40:19Z","merge_commit_sha":"6162f6b77032d7f1b4fbbf8d54fb04d47b31b9bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/1/commits","review_comments_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/1/comments","review_comment_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues/1/comments","statuses_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/statuses/d0930eb4a844af138cac514b0ef815f7795b848f","head":{"label":"miguelcjalmeida:master","ref":"master","sha":"d0930eb4a844af138cac514b0ef815f7795b848f","user":{"login":"miguelcjalmeida","id":2680026,"avatar_url":"https://avatars.githubusercontent.com/u/2680026?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcjalmeida","html_url":"https://github.com/miguelcjalmeida","followers_url":"https://api.github.com/users/miguelcjalmeida/followers","following_url":"https://api.github.com/users/miguelcjalmeida/following{/other_user}","gists_url":"https://api.github.com/users/miguelcjalmeida/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcjalmeida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcjalmeida/subscriptions","organizations_url":"https://api.github.com/users/miguelcjalmeida/orgs","repos_url":"https://api.github.com/users/miguelcjalmeida/repos","events_url":"https://api.github.com/users/miguelcjalmeida/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcjalmeida/received_events","type":"User","site_admin":false},"repo":{"id":71678345,"name":"sharepointrestapi","full_name":"miguelcjalmeida/sharepointrestapi","owner":{"login":"miguelcjalmeida","id":2680026,"avatar_url":"https://avatars.githubusercontent.com/u/2680026?v=3","gravatar_id":"","url":"https://api.github.com/users/miguelcjalmeida","html_url":"https://github.com/miguelcjalmeida","followers_url":"https://api.github.com/users/miguelcjalmeida/followers","following_url":"https://api.github.com/users/miguelcjalmeida/following{/other_user}","gists_url":"https://api.github.com/users/miguelcjalmeida/gists{/gist_id}","starred_url":"https://api.github.com/users/miguelcjalmeida/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miguelcjalmeida/subscriptions","organizations_url":"https://api.github.com/users/miguelcjalmeida/orgs","repos_url":"https://api.github.com/users/miguelcjalmeida/repos","events_url":"https://api.github.com/users/miguelcjalmeida/events{/privacy}","received_events_url":"https://api.github.com/users/miguelcjalmeida/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/miguelcjalmeida/sharepointrestapi","description":"A custom and simpliest rest service for SharePoint OnPremise or Online","fork":true,"url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi","forks_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/forks","keys_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/teams","hooks_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/hooks","issue_events_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/issues/events{/number}","events_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/events","assignees_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/assignees{/user}","branches_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/branches{/branch}","tags_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/tags","blobs_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/statuses/{sha}","languages_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/languages","stargazers_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/stargazers","contributors_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/contributors","subscribers_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/subscribers","subscription_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/subscription","commits_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/contents/{+path}","compare_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/merges","archive_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/downloads","issues_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/issues{/number}","pulls_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/pulls{/number}","milestones_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/milestones{/number}","notifications_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/labels{/name}","releases_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/releases{/id}","deployments_url":"https://api.github.com/repos/miguelcjalmeida/sharepointrestapi/deployments","created_at":"2016-10-23T02:56:29Z","updated_at":"2016-10-23T02:56:30Z","pushed_at":"2016-10-23T07:15:56Z","git_url":"git://github.com/miguelcjalmeida/sharepointrestapi.git","ssh_url":"git@github.com:miguelcjalmeida/sharepointrestapi.git","clone_url":"https://github.com/miguelcjalmeida/sharepointrestapi.git","svn_url":"https://github.com/miguelcjalmeida/sharepointrestapi","homepage":null,"size":14,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","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":"FilipeCavalcante:master","ref":"master","sha":"2dbc4c2f349ee2760798cd3295427306d880b5f7","user":{"login":"FilipeCavalcante","id":5931900,"avatar_url":"https://avatars.githubusercontent.com/u/5931900?v=3","gravatar_id":"","url":"https://api.github.com/users/FilipeCavalcante","html_url":"https://github.com/FilipeCavalcante","followers_url":"https://api.github.com/users/FilipeCavalcante/followers","following_url":"https://api.github.com/users/FilipeCavalcante/following{/other_user}","gists_url":"https://api.github.com/users/FilipeCavalcante/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipeCavalcante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipeCavalcante/subscriptions","organizations_url":"https://api.github.com/users/FilipeCavalcante/orgs","repos_url":"https://api.github.com/users/FilipeCavalcante/repos","events_url":"https://api.github.com/users/FilipeCavalcante/events{/privacy}","received_events_url":"https://api.github.com/users/FilipeCavalcante/received_events","type":"User","site_admin":false},"repo":{"id":71668386,"name":"sharepointrestapi","full_name":"FilipeCavalcante/sharepointrestapi","owner":{"login":"FilipeCavalcante","id":5931900,"avatar_url":"https://avatars.githubusercontent.com/u/5931900?v=3","gravatar_id":"","url":"https://api.github.com/users/FilipeCavalcante","html_url":"https://github.com/FilipeCavalcante","followers_url":"https://api.github.com/users/FilipeCavalcante/followers","following_url":"https://api.github.com/users/FilipeCavalcante/following{/other_user}","gists_url":"https://api.github.com/users/FilipeCavalcante/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipeCavalcante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipeCavalcante/subscriptions","organizations_url":"https://api.github.com/users/FilipeCavalcante/orgs","repos_url":"https://api.github.com/users/FilipeCavalcante/repos","events_url":"https://api.github.com/users/FilipeCavalcante/events{/privacy}","received_events_url":"https://api.github.com/users/FilipeCavalcante/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/FilipeCavalcante/sharepointrestapi","description":"A custom and simpliest rest service for SharePoint OnPremise or Online","fork":false,"url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi","forks_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/forks","keys_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/teams","hooks_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/hooks","issue_events_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues/events{/number}","events_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/events","assignees_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/assignees{/user}","branches_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/branches{/branch}","tags_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/tags","blobs_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/git/refs{/sha}","trees_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/statuses/{sha}","languages_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/languages","stargazers_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/stargazers","contributors_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/contributors","subscribers_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/subscribers","subscription_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/subscription","commits_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/commits{/sha}","git_commits_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/git/commits{/sha}","comments_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/comments{/number}","issue_comment_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues/comments{/number}","contents_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/contents/{+path}","compare_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/merges","archive_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/downloads","issues_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues{/number}","pulls_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls{/number}","milestones_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/milestones{/number}","notifications_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/labels{/name}","releases_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/releases{/id}","deployments_url":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/deployments","created_at":"2016-10-22T22:09:04Z","updated_at":"2016-10-22T22:36:39Z","pushed_at":"2016-10-23T13:40:19Z","git_url":"git://github.com/FilipeCavalcante/sharepointrestapi.git","ssh_url":"git@github.com:FilipeCavalcante/sharepointrestapi.git","clone_url":"https://github.com/FilipeCavalcante/sharepointrestapi.git","svn_url":"https://github.com/FilipeCavalcante/sharepointrestapi","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/1"},"html":{"href":"https://github.com/FilipeCavalcante/sharepointrestapi/pull/1"},"issue":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues/1"},"comments":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/FilipeCavalcante/sharepointrestapi/statuses/d0930eb4a844af138cac514b0ef815f7795b848f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"FilipeCavalcante","id":5931900,"avatar_url":"https://avatars.githubusercontent.com/u/5931900?v=3","gravatar_id":"","url":"https://api.github.com/users/FilipeCavalcante","html_url":"https://github.com/FilipeCavalcante","followers_url":"https://api.github.com/users/FilipeCavalcante/followers","following_url":"https://api.github.com/users/FilipeCavalcante/following{/other_user}","gists_url":"https://api.github.com/users/FilipeCavalcante/gists{/gist_id}","starred_url":"https://api.github.com/users/FilipeCavalcante/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FilipeCavalcante/subscriptions","organizations_url":"https://api.github.com/users/FilipeCavalcante/orgs","repos_url":"https://api.github.com/users/FilipeCavalcante/repos","events_url":"https://api.github.com/users/FilipeCavalcante/events{/privacy}","received_events_url":"https://api.github.com/users/FilipeCavalcante/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":3,"additions":46,"deletions":16,"changed_files":11}}
{"actor":{"display_login":"FilipeCavalcante"}}