{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments/32862642","id":32862642,"diff_hunk":"@@ -0,0 +1,16 @@\n+'use strict';\n+\n+var path = require('path');\n+\n+module.exports = function(grunt) {\n+\n+\tgrunt.registerMultiTask('updatelibrary', 'Update Polyfill imported from external libraries', function() {\n+\t\tthis.files.forEach(function (file) {\n+\t\t\tgrunt.log.writeln('Running ' + file.src + ': ');\n+\t\t\trequire(path.resolve(file.src.toString()))(grunt);","path":"tasks/updatelibrary.js","position":10,"original_position":10,"commit_id":"4324139dc1c0714f3a6f0b45e68b4c29463f9c2f","original_commit_id":"4324139dc1c0714f3a6f0b45e68b4c29463f9c2f","user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"body":"dummy task to talk and execute any `update.task.js` files expanded by grunt.","created_at":"2015-06-19T19:46:16Z","updated_at":"2015-06-19T19:46:16Z","html_url":"https://github.com/Financial-Times/polyfill-service/pull/410#discussion_r32862642","pull_request_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments/32862642"},"html":{"href":"https://github.com/Financial-Times/polyfill-service/pull/410#discussion_r32862642"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410","id":37832060,"html_url":"https://github.com/Financial-Times/polyfill-service/pull/410","diff_url":"https://github.com/Financial-Times/polyfill-service/pull/410.diff","patch_url":"https://github.com/Financial-Times/polyfill-service/pull/410.patch","issue_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/410","number":410,"state":"open","locked":false,"title":"[WIP] adds grunt task to general intl polyfill structure","user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"body":"related to #377 and #108.\r\n\r\n```bash\r\n$ grunt intl\r\nRunning \"clean:intl\" (clean) task\r\n>> 2 paths cleaned.\r\n\r\nRunning \"importintl\" task\r\nImporting Intl polyfill from /Users/caridy/repo/polyfill-service/node_modules/intl/dist/Intl.js\r\nImporting Intl.~locale.* polyfill from /Users/caridy/repo/polyfill-service/node_modules/intl/locale-data/jsonp\r\n717 imported locales\r\nIntl polyfill imported successfully\r\n```\r\n\r\nTODO: \r\n\r\n* [x] grunt task to copy files from intl npm pkg.\r\n* [ ] commit all polyfills (I haven't done this to keep the DIFF manageable)\r\n* [ ] update docs.","created_at":"2015-06-16T19:30:14Z","updated_at":"2015-06-19T19:46:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b7f1ec243218120286b3d581b807f5b2afe1a991","assignee":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/410/comments","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/4324139dc1c0714f3a6f0b45e68b4c29463f9c2f","head":{"label":"caridy:subfolder-structure","ref":"subfolder-structure","sha":"4324139dc1c0714f3a6f0b45e68b4c29463f9c2f","user":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"repo":{"id":37478636,"name":"polyfill-service","full_name":"caridy/polyfill-service","owner":{"login":"caridy","id":38969,"avatar_url":"https://avatars.githubusercontent.com/u/38969?v=3","gravatar_id":"","url":"https://api.github.com/users/caridy","html_url":"https://github.com/caridy","followers_url":"https://api.github.com/users/caridy/followers","following_url":"https://api.github.com/users/caridy/following{/other_user}","gists_url":"https://api.github.com/users/caridy/gists{/gist_id}","starred_url":"https://api.github.com/users/caridy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/caridy/subscriptions","organizations_url":"https://api.github.com/users/caridy/orgs","repos_url":"https://api.github.com/users/caridy/repos","events_url":"https://api.github.com/users/caridy/events{/privacy}","received_events_url":"https://api.github.com/users/caridy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/caridy/polyfill-service","description":"Automatic polyfill service","fork":true,"url":"https://api.github.com/repos/caridy/polyfill-service","forks_url":"https://api.github.com/repos/caridy/polyfill-service/forks","keys_url":"https://api.github.com/repos/caridy/polyfill-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/caridy/polyfill-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/caridy/polyfill-service/teams","hooks_url":"https://api.github.com/repos/caridy/polyfill-service/hooks","issue_events_url":"https://api.github.com/repos/caridy/polyfill-service/issues/events{/number}","events_url":"https://api.github.com/repos/caridy/polyfill-service/events","assignees_url":"https://api.github.com/repos/caridy/polyfill-service/assignees{/user}","branches_url":"https://api.github.com/repos/caridy/polyfill-service/branches{/branch}","tags_url":"https://api.github.com/repos/caridy/polyfill-service/tags","blobs_url":"https://api.github.com/repos/caridy/polyfill-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/caridy/polyfill-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/caridy/polyfill-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/caridy/polyfill-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/caridy/polyfill-service/statuses/{sha}","languages_url":"https://api.github.com/repos/caridy/polyfill-service/languages","stargazers_url":"https://api.github.com/repos/caridy/polyfill-service/stargazers","contributors_url":"https://api.github.com/repos/caridy/polyfill-service/contributors","subscribers_url":"https://api.github.com/repos/caridy/polyfill-service/subscribers","subscription_url":"https://api.github.com/repos/caridy/polyfill-service/subscription","commits_url":"https://api.github.com/repos/caridy/polyfill-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/caridy/polyfill-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/caridy/polyfill-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/caridy/polyfill-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/caridy/polyfill-service/contents/{+path}","compare_url":"https://api.github.com/repos/caridy/polyfill-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/caridy/polyfill-service/merges","archive_url":"https://api.github.com/repos/caridy/polyfill-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/caridy/polyfill-service/downloads","issues_url":"https://api.github.com/repos/caridy/polyfill-service/issues{/number}","pulls_url":"https://api.github.com/repos/caridy/polyfill-service/pulls{/number}","milestones_url":"https://api.github.com/repos/caridy/polyfill-service/milestones{/number}","notifications_url":"https://api.github.com/repos/caridy/polyfill-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/caridy/polyfill-service/labels{/name}","releases_url":"https://api.github.com/repos/caridy/polyfill-service/releases{/id}","created_at":"2015-06-15T16:59:14Z","updated_at":"2015-06-15T16:59:14Z","pushed_at":"2015-06-19T19:34:51Z","git_url":"git://github.com/caridy/polyfill-service.git","ssh_url":"git@github.com:caridy/polyfill-service.git","clone_url":"https://github.com/caridy/polyfill-service.git","svn_url":"https://github.com/caridy/polyfill-service","homepage":"https://cdn.polyfill.io/","size":1554,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"Financial-Times:subfolder-structure","ref":"subfolder-structure","sha":"8d0755854d5492ba083c2216918537f2b30d4d26","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":21244924,"name":"polyfill-service","full_name":"Financial-Times/polyfill-service","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/polyfill-service","description":"Automatic polyfill service","fork":false,"url":"https://api.github.com/repos/Financial-Times/polyfill-service","forks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/polyfill-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/polyfill-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/polyfill-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/polyfill-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/polyfill-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/polyfill-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/polyfill-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/polyfill-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/polyfill-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/polyfill-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/polyfill-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/polyfill-service/releases{/id}","created_at":"2014-06-26T15:09:49Z","updated_at":"2015-06-19T15:57:57Z","pushed_at":"2015-06-19T19:34:51Z","git_url":"git://github.com/Financial-Times/polyfill-service.git","ssh_url":"git@github.com:Financial-Times/polyfill-service.git","clone_url":"https://github.com/Financial-Times/polyfill-service.git","svn_url":"https://github.com/Financial-Times/polyfill-service","homepage":"https://cdn.polyfill.io/","size":4055,"stargazers_count":616,"watchers_count":616,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":102,"mirror_url":null,"open_issues_count":48,"forks":102,"open_issues":48,"watchers":616,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410"},"html":{"href":"https://github.com/Financial-Times/polyfill-service/pull/410"},"issue":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/410"},"comments":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/410/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/410/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/4324139dc1c0714f3a6f0b45e68b4c29463f9c2f"}}}}