{"action":"created","comment":{"url":"https://api.github.com/repos/hammerjs/hammer.js/pulls/comments/71266029","id":71266029,"diff_hunk":"@@ -0,0 +1,110 @@\n+var babel = require('rollup-plugin-babel');\n+\n+module.exports = function(grunt) {\n+  grunt.initConfig({\n+    pkg: grunt.file.readJSON('package.json'),\n+    usebanner: {\n+      taskName: {\n+        options: {\n+          position: 'top',\n+          banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - <%= grunt.template.today(\"yyyy-mm-dd\") %>\\n * <%= pkg.homepage %>\\n *\\n * Copyright (c) <%= grunt.template.today(\"yyyy\") %> <%= pkg.author.name %>;\\n * Licensed under the <%= pkg.license %> license */',\n+          linebreak: true\n+        },\n+        files: {\n+          src: ['./hammer.js', './hammer.min.js']\n+        }\n+      }\n+    },\n+    rollup: {\n+      options: {\n+        format: 'es6',\n+        plugins: [\n+          babel({\n+            exclude: 'node_modules/**'\n+          })\n+        ],\n+        intro: \" (function(window, document, exportName, undefined) { \\n'use strict';\",\n+        outro: \"})(window, document, 'Hammer');\"\n+      },\n+      files: {\n+        dest: 'hammer.js',\n+        src: 'src/main.js'\n+      }\n+    },\n+    uglify: {\n+      min: {\n+        options: {\n+          report: 'gzip',\n+          sourceMap: 'hammer.min.map'\n+        },\n+        files: {\n+          'hammer.min.js': ['hammer.js']\n+        }\n+      }\n+    },\n+    'string-replace': {\n+      version: {\n+        files: {\n+          'hammer.js': 'hammer.js'\n+        },\n+        options: {\n+          replacements: [\n+            {\n+              pattern: '{{PKG_VERSION}}',\n+              replacement: '<%= pkg.version %>'\n+            }\n+          ]\n+        }\n+      }\n+    },\n+    jshint: {\n+      options: {\n+        jshintrc: true\n+      },\n+      build: {\n+        src: ['hammer.js']","path":"Gruntfile.js","position":65,"original_position":65,"commit_id":"8acbfd48ded9541e5ab67a5e15a329df430b6d7e","original_commit_id":"8acbfd48ded9541e5ab67a5e15a329df430b6d7e","user":{"login":"arschmitz","id":462993,"avatar_url":"https://avatars.githubusercontent.com/u/462993?v=3","gravatar_id":"","url":"https://api.github.com/users/arschmitz","html_url":"https://github.com/arschmitz","followers_url":"https://api.github.com/users/arschmitz/followers","following_url":"https://api.github.com/users/arschmitz/following{/other_user}","gists_url":"https://api.github.com/users/arschmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/arschmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arschmitz/subscriptions","organizations_url":"https://api.github.com/users/arschmitz/orgs","repos_url":"https://api.github.com/users/arschmitz/repos","events_url":"https://api.github.com/users/arschmitz/events{/privacy}","received_events_url":"https://api.github.com/users/arschmitz/received_events","type":"User","site_admin":false},"body":"this should run against the source and test files as well","created_at":"2016-07-19T02:55:50Z","updated_at":"2016-07-19T02:55:50Z","html_url":"https://github.com/hammerjs/hammer.js/pull/1000#discussion_r71266029","pull_request_url":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000","_links":{"self":{"href":"https://api.github.com/repos/hammerjs/hammer.js/pulls/comments/71266029"},"html":{"href":"https://github.com/hammerjs/hammer.js/pull/1000#discussion_r71266029"},"pull_request":{"href":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000"}}},"pull_request":{"url":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000","id":77610677,"html_url":"https://github.com/hammerjs/hammer.js/pull/1000","diff_url":"https://github.com/hammerjs/hammer.js/pull/1000.diff","patch_url":"https://github.com/hammerjs/hammer.js/pull/1000.patch","issue_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/1000","number":1000,"state":"open","locked":false,"title":"Feat/es2015","user":{"login":"arschmitz","id":462993,"avatar_url":"https://avatars.githubusercontent.com/u/462993?v=3","gravatar_id":"","url":"https://api.github.com/users/arschmitz","html_url":"https://github.com/arschmitz","followers_url":"https://api.github.com/users/arschmitz/followers","following_url":"https://api.github.com/users/arschmitz/following{/other_user}","gists_url":"https://api.github.com/users/arschmitz/gists{/gist_id}","starred_url":"https://api.github.com/users/arschmitz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arschmitz/subscriptions","organizations_url":"https://api.github.com/users/arschmitz/orgs","repos_url":"https://api.github.com/users/arschmitz/repos","events_url":"https://api.github.com/users/arschmitz/events{/privacy}","received_events_url":"https://api.github.com/users/arschmitz/received_events","type":"User","site_admin":false},"body":"Creating PR for commenting","created_at":"2016-07-15T12:51:57Z","updated_at":"2016-07-19T02:55:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be3d684337f548f55284aec9a534c76b36fad4e1","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000/commits","review_comments_url":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000/comments","review_comment_url":"https://api.github.com/repos/hammerjs/hammer.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/1000/comments","statuses_url":"https://api.github.com/repos/hammerjs/hammer.js/statuses/8acbfd48ded9541e5ab67a5e15a329df430b6d7e","head":{"label":"hammerjs:feat/es2015","ref":"feat/es2015","sha":"8acbfd48ded9541e5ab67a5e15a329df430b6d7e","user":{"login":"hammerjs","id":7997161,"avatar_url":"https://avatars.githubusercontent.com/u/7997161?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerjs","html_url":"https://github.com/hammerjs","followers_url":"https://api.github.com/users/hammerjs/followers","following_url":"https://api.github.com/users/hammerjs/following{/other_user}","gists_url":"https://api.github.com/users/hammerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerjs/subscriptions","organizations_url":"https://api.github.com/users/hammerjs/orgs","repos_url":"https://api.github.com/users/hammerjs/repos","events_url":"https://api.github.com/users/hammerjs/events{/privacy}","received_events_url":"https://api.github.com/users/hammerjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3602123,"name":"hammer.js","full_name":"hammerjs/hammer.js","owner":{"login":"hammerjs","id":7997161,"avatar_url":"https://avatars.githubusercontent.com/u/7997161?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerjs","html_url":"https://github.com/hammerjs","followers_url":"https://api.github.com/users/hammerjs/followers","following_url":"https://api.github.com/users/hammerjs/following{/other_user}","gists_url":"https://api.github.com/users/hammerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerjs/subscriptions","organizations_url":"https://api.github.com/users/hammerjs/orgs","repos_url":"https://api.github.com/users/hammerjs/repos","events_url":"https://api.github.com/users/hammerjs/events{/privacy}","received_events_url":"https://api.github.com/users/hammerjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerjs/hammer.js","description":"A javascript library for multi-touch gestures :// You can touch this","fork":false,"url":"https://api.github.com/repos/hammerjs/hammer.js","forks_url":"https://api.github.com/repos/hammerjs/hammer.js/forks","keys_url":"https://api.github.com/repos/hammerjs/hammer.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerjs/hammer.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerjs/hammer.js/teams","hooks_url":"https://api.github.com/repos/hammerjs/hammer.js/hooks","issue_events_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/events{/number}","events_url":"https://api.github.com/repos/hammerjs/hammer.js/events","assignees_url":"https://api.github.com/repos/hammerjs/hammer.js/assignees{/user}","branches_url":"https://api.github.com/repos/hammerjs/hammer.js/branches{/branch}","tags_url":"https://api.github.com/repos/hammerjs/hammer.js/tags","blobs_url":"https://api.github.com/repos/hammerjs/hammer.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerjs/hammer.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerjs/hammer.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerjs/hammer.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerjs/hammer.js/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerjs/hammer.js/languages","stargazers_url":"https://api.github.com/repos/hammerjs/hammer.js/stargazers","contributors_url":"https://api.github.com/repos/hammerjs/hammer.js/contributors","subscribers_url":"https://api.github.com/repos/hammerjs/hammer.js/subscribers","subscription_url":"https://api.github.com/repos/hammerjs/hammer.js/subscription","commits_url":"https://api.github.com/repos/hammerjs/hammer.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerjs/hammer.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerjs/hammer.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerjs/hammer.js/contents/{+path}","compare_url":"https://api.github.com/repos/hammerjs/hammer.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerjs/hammer.js/merges","archive_url":"https://api.github.com/repos/hammerjs/hammer.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerjs/hammer.js/downloads","issues_url":"https://api.github.com/repos/hammerjs/hammer.js/issues{/number}","pulls_url":"https://api.github.com/repos/hammerjs/hammer.js/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerjs/hammer.js/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerjs/hammer.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerjs/hammer.js/labels{/name}","releases_url":"https://api.github.com/repos/hammerjs/hammer.js/releases{/id}","deployments_url":"https://api.github.com/repos/hammerjs/hammer.js/deployments","created_at":"2012-03-02T12:58:28Z","updated_at":"2016-07-19T00:28:41Z","pushed_at":"2016-07-18T17:23:43Z","git_url":"git://github.com/hammerjs/hammer.js.git","ssh_url":"git@github.com:hammerjs/hammer.js.git","clone_url":"https://github.com/hammerjs/hammer.js.git","svn_url":"https://github.com/hammerjs/hammer.js","homepage":"http://hammerjs.github.io","size":15842,"stargazers_count":14191,"watchers_count":14191,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2103,"mirror_url":null,"open_issues_count":102,"forks":2103,"open_issues":102,"watchers":14191,"default_branch":"master"}},"base":{"label":"hammerjs:master","ref":"master","sha":"8e69a361b3914c3c21c2c565f9d546a234607912","user":{"login":"hammerjs","id":7997161,"avatar_url":"https://avatars.githubusercontent.com/u/7997161?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerjs","html_url":"https://github.com/hammerjs","followers_url":"https://api.github.com/users/hammerjs/followers","following_url":"https://api.github.com/users/hammerjs/following{/other_user}","gists_url":"https://api.github.com/users/hammerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerjs/subscriptions","organizations_url":"https://api.github.com/users/hammerjs/orgs","repos_url":"https://api.github.com/users/hammerjs/repos","events_url":"https://api.github.com/users/hammerjs/events{/privacy}","received_events_url":"https://api.github.com/users/hammerjs/received_events","type":"Organization","site_admin":false},"repo":{"id":3602123,"name":"hammer.js","full_name":"hammerjs/hammer.js","owner":{"login":"hammerjs","id":7997161,"avatar_url":"https://avatars.githubusercontent.com/u/7997161?v=3","gravatar_id":"","url":"https://api.github.com/users/hammerjs","html_url":"https://github.com/hammerjs","followers_url":"https://api.github.com/users/hammerjs/followers","following_url":"https://api.github.com/users/hammerjs/following{/other_user}","gists_url":"https://api.github.com/users/hammerjs/gists{/gist_id}","starred_url":"https://api.github.com/users/hammerjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hammerjs/subscriptions","organizations_url":"https://api.github.com/users/hammerjs/orgs","repos_url":"https://api.github.com/users/hammerjs/repos","events_url":"https://api.github.com/users/hammerjs/events{/privacy}","received_events_url":"https://api.github.com/users/hammerjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hammerjs/hammer.js","description":"A javascript library for multi-touch gestures :// You can touch this","fork":false,"url":"https://api.github.com/repos/hammerjs/hammer.js","forks_url":"https://api.github.com/repos/hammerjs/hammer.js/forks","keys_url":"https://api.github.com/repos/hammerjs/hammer.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hammerjs/hammer.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hammerjs/hammer.js/teams","hooks_url":"https://api.github.com/repos/hammerjs/hammer.js/hooks","issue_events_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/events{/number}","events_url":"https://api.github.com/repos/hammerjs/hammer.js/events","assignees_url":"https://api.github.com/repos/hammerjs/hammer.js/assignees{/user}","branches_url":"https://api.github.com/repos/hammerjs/hammer.js/branches{/branch}","tags_url":"https://api.github.com/repos/hammerjs/hammer.js/tags","blobs_url":"https://api.github.com/repos/hammerjs/hammer.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hammerjs/hammer.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hammerjs/hammer.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/hammerjs/hammer.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hammerjs/hammer.js/statuses/{sha}","languages_url":"https://api.github.com/repos/hammerjs/hammer.js/languages","stargazers_url":"https://api.github.com/repos/hammerjs/hammer.js/stargazers","contributors_url":"https://api.github.com/repos/hammerjs/hammer.js/contributors","subscribers_url":"https://api.github.com/repos/hammerjs/hammer.js/subscribers","subscription_url":"https://api.github.com/repos/hammerjs/hammer.js/subscription","commits_url":"https://api.github.com/repos/hammerjs/hammer.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/hammerjs/hammer.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/hammerjs/hammer.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/hammerjs/hammer.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/hammerjs/hammer.js/contents/{+path}","compare_url":"https://api.github.com/repos/hammerjs/hammer.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hammerjs/hammer.js/merges","archive_url":"https://api.github.com/repos/hammerjs/hammer.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hammerjs/hammer.js/downloads","issues_url":"https://api.github.com/repos/hammerjs/hammer.js/issues{/number}","pulls_url":"https://api.github.com/repos/hammerjs/hammer.js/pulls{/number}","milestones_url":"https://api.github.com/repos/hammerjs/hammer.js/milestones{/number}","notifications_url":"https://api.github.com/repos/hammerjs/hammer.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hammerjs/hammer.js/labels{/name}","releases_url":"https://api.github.com/repos/hammerjs/hammer.js/releases{/id}","deployments_url":"https://api.github.com/repos/hammerjs/hammer.js/deployments","created_at":"2012-03-02T12:58:28Z","updated_at":"2016-07-19T00:28:41Z","pushed_at":"2016-07-18T17:23:43Z","git_url":"git://github.com/hammerjs/hammer.js.git","ssh_url":"git@github.com:hammerjs/hammer.js.git","clone_url":"https://github.com/hammerjs/hammer.js.git","svn_url":"https://github.com/hammerjs/hammer.js","homepage":"http://hammerjs.github.io","size":15842,"stargazers_count":14191,"watchers_count":14191,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2103,"mirror_url":null,"open_issues_count":102,"forks":2103,"open_issues":102,"watchers":14191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000"},"html":{"href":"https://github.com/hammerjs/hammer.js/pull/1000"},"issue":{"href":"https://api.github.com/repos/hammerjs/hammer.js/issues/1000"},"comments":{"href":"https://api.github.com/repos/hammerjs/hammer.js/issues/1000/comments"},"review_comments":{"href":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000/comments"},"review_comment":{"href":"https://api.github.com/repos/hammerjs/hammer.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hammerjs/hammer.js/pulls/1000/commits"},"statuses":{"href":"https://api.github.com/repos/hammerjs/hammer.js/statuses/8acbfd48ded9541e5ab67a5e15a329df430b6d7e"}}}}
{"actor":{"display_login":"arschmitz"}}