{"action":"created","comment":{"url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/comments/70222623","id":70222623,"diff_hunk":"@@ -4,6 +4,78 @@\n Object.defineProperty(exports, \"__esModule\", {\n   value: true\n });\n+\n+var _util = require('./util');\n+\n+var _util2 = _interopRequireDefault(_util);\n+\n+function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n+\n+/**\n+ * Cursor module for controlling hover states in the canvas, will inject\n+ * custom css rules into the DOM and return methods for changing the\n+ * cursor.\n+ *\n+ * @return {Object} Object literal with methods for setting and getting\n+ *                  the cursor, accepted cursor types 'pointers' and\n+ *                  'default'\n+ */\n+\n+exports.default = function () {\n+  // inject css rules into the dom\n+  (function (head) {\n+    // set css rules\n+    var css = '\\n      canvas#canvas {\\n        cursor: default !important;\\n      }\\n      canvas#canvas.has-pointer {\\n        cursor: pointer !important;\\n      }\\n    ';\n+    var style = document.createElement('style');\n+\n+    // insert css rules to stylesheet\n+    style.type = 'text/css';\n+    if (style.styleSheet) {\n+      style.styleSheet.cssText = css;\n+    } else {\n+      style.appendChild(document.createTextNode(css));\n+    }\n+\n+    // inject to head\n+    head.appendChild(style);\n+  })(document.head || document.getElementsByTagName('head')[0]);\n+\n+  var cursor = void 0;\n+  return {\n+\n+    /**\n+     * set cursor state for canvas\n+     *\n+     * @param  {String} state [the cursor state, accepts either 'pointer' or 'default']\n+     * @return {Void} Void","path":"dist/pmAnimatedBanners.js","position":47,"original_position":47,"commit_id":"bf162f32d6ad350e3c8f6f22cfbdc9ac13656a44","original_commit_id":"bf162f32d6ad350e3c8f6f22cfbdc9ac13656a44","user":{"login":"BernardoSilva","id":1537510,"avatar_url":"https://avatars.githubusercontent.com/u/1537510?v=3","gravatar_id":"","url":"https://api.github.com/users/BernardoSilva","html_url":"https://github.com/BernardoSilva","followers_url":"https://api.github.com/users/BernardoSilva/followers","following_url":"https://api.github.com/users/BernardoSilva/following{/other_user}","gists_url":"https://api.github.com/users/BernardoSilva/gists{/gist_id}","starred_url":"https://api.github.com/users/BernardoSilva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BernardoSilva/subscriptions","organizations_url":"https://api.github.com/users/BernardoSilva/orgs","repos_url":"https://api.github.com/users/BernardoSilva/repos","events_url":"https://api.github.com/users/BernardoSilva/events{/privacy}","received_events_url":"https://api.github.com/users/BernardoSilva/received_events","type":"User","site_admin":false},"body":"if it does not return anything I think it should not have a @return right?","created_at":"2016-07-11T08:58:46Z","updated_at":"2016-07-11T08:58:46Z","html_url":"https://github.com/partnermarketing/pm-animated-banners/pull/8#discussion_r70222623","pull_request_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/comments/70222623"},"html":{"href":"https://github.com/partnermarketing/pm-animated-banners/pull/8#discussion_r70222623"},"pull_request":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8","id":76914803,"html_url":"https://github.com/partnermarketing/pm-animated-banners/pull/8","diff_url":"https://github.com/partnermarketing/pm-animated-banners/pull/8.diff","patch_url":"https://github.com/partnermarketing/pm-animated-banners/pull/8.patch","issue_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/8","number":8,"state":"open","locked":false,"title":"Cursor hover","user":{"login":"simonstaton","id":9451412,"avatar_url":"https://avatars.githubusercontent.com/u/9451412?v=3","gravatar_id":"","url":"https://api.github.com/users/simonstaton","html_url":"https://github.com/simonstaton","followers_url":"https://api.github.com/users/simonstaton/followers","following_url":"https://api.github.com/users/simonstaton/following{/other_user}","gists_url":"https://api.github.com/users/simonstaton/gists{/gist_id}","starred_url":"https://api.github.com/users/simonstaton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonstaton/subscriptions","organizations_url":"https://api.github.com/users/simonstaton/orgs","repos_url":"https://api.github.com/users/simonstaton/repos","events_url":"https://api.github.com/users/simonstaton/events{/privacy}","received_events_url":"https://api.github.com/users/simonstaton/received_events","type":"User","site_admin":false},"body":"Related to https://github.com/partnermarketing/pm-animated-banners/issues/5","created_at":"2016-07-11T08:17:17Z","updated_at":"2016-07-11T08:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"86b5b34b81cbb7a5edbc56bfe055a4570a88fb4c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8/commits","review_comments_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8/comments","review_comment_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/comments{/number}","comments_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/8/comments","statuses_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/statuses/bf162f32d6ad350e3c8f6f22cfbdc9ac13656a44","head":{"label":"partnermarketing:cursor-hover","ref":"cursor-hover","sha":"bf162f32d6ad350e3c8f6f22cfbdc9ac13656a44","user":{"login":"partnermarketing","id":3856506,"avatar_url":"https://avatars.githubusercontent.com/u/3856506?v=3","gravatar_id":"","url":"https://api.github.com/users/partnermarketing","html_url":"https://github.com/partnermarketing","followers_url":"https://api.github.com/users/partnermarketing/followers","following_url":"https://api.github.com/users/partnermarketing/following{/other_user}","gists_url":"https://api.github.com/users/partnermarketing/gists{/gist_id}","starred_url":"https://api.github.com/users/partnermarketing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/partnermarketing/subscriptions","organizations_url":"https://api.github.com/users/partnermarketing/orgs","repos_url":"https://api.github.com/users/partnermarketing/repos","events_url":"https://api.github.com/users/partnermarketing/events{/privacy}","received_events_url":"https://api.github.com/users/partnermarketing/received_events","type":"Organization","site_admin":false},"repo":{"id":62731727,"name":"pm-animated-banners","full_name":"partnermarketing/pm-animated-banners","owner":{"login":"partnermarketing","id":3856506,"avatar_url":"https://avatars.githubusercontent.com/u/3856506?v=3","gravatar_id":"","url":"https://api.github.com/users/partnermarketing","html_url":"https://github.com/partnermarketing","followers_url":"https://api.github.com/users/partnermarketing/followers","following_url":"https://api.github.com/users/partnermarketing/following{/other_user}","gists_url":"https://api.github.com/users/partnermarketing/gists{/gist_id}","starred_url":"https://api.github.com/users/partnermarketing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/partnermarketing/subscriptions","organizations_url":"https://api.github.com/users/partnermarketing/orgs","repos_url":"https://api.github.com/users/partnermarketing/repos","events_url":"https://api.github.com/users/partnermarketing/events{/privacy}","received_events_url":"https://api.github.com/users/partnermarketing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/partnermarketing/pm-animated-banners","description":"Library to help designers build animated banners to partnermarketing.com Campaign Builder","fork":false,"url":"https://api.github.com/repos/partnermarketing/pm-animated-banners","forks_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/forks","keys_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/keys{/key_id}","collaborators_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/teams","hooks_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/hooks","issue_events_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/events{/number}","events_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/events","assignees_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/assignees{/user}","branches_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/branches{/branch}","tags_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/tags","blobs_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/refs{/sha}","trees_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/trees{/sha}","statuses_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/statuses/{sha}","languages_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/languages","stargazers_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/stargazers","contributors_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/contributors","subscribers_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/subscribers","subscription_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/subscription","commits_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/commits{/sha}","git_commits_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/commits{/sha}","comments_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/comments{/number}","issue_comment_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/comments{/number}","contents_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/contents/{+path}","compare_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/compare/{base}...{head}","merges_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/merges","archive_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/downloads","issues_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues{/number}","pulls_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls{/number}","milestones_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/milestones{/number}","notifications_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/labels{/name}","releases_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/releases{/id}","deployments_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/deployments","created_at":"2016-07-06T15:23:43Z","updated_at":"2016-07-06T15:56:31Z","pushed_at":"2016-07-11T08:47:50Z","git_url":"git://github.com/partnermarketing/pm-animated-banners.git","ssh_url":"git@github.com:partnermarketing/pm-animated-banners.git","clone_url":"https://github.com/partnermarketing/pm-animated-banners.git","svn_url":"https://github.com/partnermarketing/pm-animated-banners","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"base":{"label":"partnermarketing:master","ref":"master","sha":"7c7347d717cae8061132fd620fd866e0bc130dda","user":{"login":"partnermarketing","id":3856506,"avatar_url":"https://avatars.githubusercontent.com/u/3856506?v=3","gravatar_id":"","url":"https://api.github.com/users/partnermarketing","html_url":"https://github.com/partnermarketing","followers_url":"https://api.github.com/users/partnermarketing/followers","following_url":"https://api.github.com/users/partnermarketing/following{/other_user}","gists_url":"https://api.github.com/users/partnermarketing/gists{/gist_id}","starred_url":"https://api.github.com/users/partnermarketing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/partnermarketing/subscriptions","organizations_url":"https://api.github.com/users/partnermarketing/orgs","repos_url":"https://api.github.com/users/partnermarketing/repos","events_url":"https://api.github.com/users/partnermarketing/events{/privacy}","received_events_url":"https://api.github.com/users/partnermarketing/received_events","type":"Organization","site_admin":false},"repo":{"id":62731727,"name":"pm-animated-banners","full_name":"partnermarketing/pm-animated-banners","owner":{"login":"partnermarketing","id":3856506,"avatar_url":"https://avatars.githubusercontent.com/u/3856506?v=3","gravatar_id":"","url":"https://api.github.com/users/partnermarketing","html_url":"https://github.com/partnermarketing","followers_url":"https://api.github.com/users/partnermarketing/followers","following_url":"https://api.github.com/users/partnermarketing/following{/other_user}","gists_url":"https://api.github.com/users/partnermarketing/gists{/gist_id}","starred_url":"https://api.github.com/users/partnermarketing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/partnermarketing/subscriptions","organizations_url":"https://api.github.com/users/partnermarketing/orgs","repos_url":"https://api.github.com/users/partnermarketing/repos","events_url":"https://api.github.com/users/partnermarketing/events{/privacy}","received_events_url":"https://api.github.com/users/partnermarketing/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/partnermarketing/pm-animated-banners","description":"Library to help designers build animated banners to partnermarketing.com Campaign Builder","fork":false,"url":"https://api.github.com/repos/partnermarketing/pm-animated-banners","forks_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/forks","keys_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/keys{/key_id}","collaborators_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/teams","hooks_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/hooks","issue_events_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/events{/number}","events_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/events","assignees_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/assignees{/user}","branches_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/branches{/branch}","tags_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/tags","blobs_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/refs{/sha}","trees_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/trees{/sha}","statuses_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/statuses/{sha}","languages_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/languages","stargazers_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/stargazers","contributors_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/contributors","subscribers_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/subscribers","subscription_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/subscription","commits_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/commits{/sha}","git_commits_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/git/commits{/sha}","comments_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/comments{/number}","issue_comment_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/comments{/number}","contents_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/contents/{+path}","compare_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/compare/{base}...{head}","merges_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/merges","archive_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/downloads","issues_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues{/number}","pulls_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls{/number}","milestones_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/milestones{/number}","notifications_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/labels{/name}","releases_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/releases{/id}","deployments_url":"https://api.github.com/repos/partnermarketing/pm-animated-banners/deployments","created_at":"2016-07-06T15:23:43Z","updated_at":"2016-07-06T15:56:31Z","pushed_at":"2016-07-11T08:47:50Z","git_url":"git://github.com/partnermarketing/pm-animated-banners.git","ssh_url":"git@github.com:partnermarketing/pm-animated-banners.git","clone_url":"https://github.com/partnermarketing/pm-animated-banners.git","svn_url":"https://github.com/partnermarketing/pm-animated-banners","homepage":null,"size":72,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8"},"html":{"href":"https://github.com/partnermarketing/pm-animated-banners/pull/8"},"issue":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/8"},"comments":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/partnermarketing/pm-animated-banners/statuses/bf162f32d6ad350e3c8f6f22cfbdc9ac13656a44"}}}}
{"actor":{"display_login":"BernardoSilva"}}