{"action":"created","comment":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments/70184828","id":70184828,"diff_hunk":"@@ -1,250 +1,268 @@\n var utils = require('../../utils'),\n-canUseNewCanvasBlendModes = require('../../renderers/canvas/utils/canUseNewCanvasBlendModes');\n-/**\n- * Utility methods for Sprite/Texture tinting.\n- * @namespace PIXI.CanvasTinter\n- */\n-var CanvasTinter = {};\n-module.exports = CanvasTinter;\n+    canUseNewCanvasBlendModes = require('../../renderers/canvas/utils/canUseNewCanvasBlendModes');\n \n /**\n- * Basically this method just needs a sprite and a color and tints the sprite with the given color.\n+ * Utility methods for Sprite/Texture tinting.\n  *\n- * @memberof! PIXI.CanvasTinter#\n- * @param sprite {PIXI.Sprite} the sprite to tint\n- * @param color {number} the color to use to tint the sprite with\n- * @return {HTMLCanvasElement} The tinted canvas\n+ * @namespace PIXI.CanvasTinter\n  */\n-CanvasTinter.getTintedTexture = function (sprite, color)\n-{\n-    var texture = sprite.texture;\n-\n-    color = CanvasTinter.roundColor(color);\n-\n-    var stringColor = '#' + ('00000' + ( color | 0).toString(16)).substr(-6);\n-\n-    texture.tintCache = texture.tintCache || {};\n-\n-    if (texture.tintCache[stringColor])\n+var CanvasTinter = module.exports = {","path":"src/core/sprites/canvas/CanvasTinter.js","position":32,"original_position":32,"commit_id":"825e070363c0844ed9debc36f2bb4ba9adafdb61","original_commit_id":"825e070363c0844ed9debc36f2bb4ba9adafdb61","user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"body":"The end result of the export is the same as before, but now that it is formatted in this way it is cleaner and jsdoc is parsing it correctly.","created_at":"2016-07-10T16:43:27Z","updated_at":"2016-07-10T16:43:27Z","html_url":"https://github.com/pixijs/pixi.js/pull/2710#discussion_r70184828","pull_request_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710","_links":{"self":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments/70184828"},"html":{"href":"https://github.com/pixijs/pixi.js/pull/2710#discussion_r70184828"},"pull_request":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710"}}},"pull_request":{"url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710","id":76877694,"html_url":"https://github.com/pixijs/pixi.js/pull/2710","diff_url":"https://github.com/pixijs/pixi.js/pull/2710.diff","patch_url":"https://github.com/pixijs/pixi.js/pull/2710.patch","issue_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2710","number":2710,"state":"open","locked":false,"title":"Multiple documentation fixes","user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"body":"While working on a JSDoc3 theme meant to generate typescript definition files from JSDoc annotated JavaScript source (https://github.com/englercj/tsd-jsdoc) I found a few documentation errors throughout the source.\r\n\r\nThis PR is me fixing those, as well as replacing some tabs with spaces.","created_at":"2016-07-10T16:40:51Z","updated_at":"2016-07-10T16:43:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4158921f6759353f3a0d959769e22e43cd66d20","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710/commits","review_comments_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710/comments","review_comment_url":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/issues/2710/comments","statuses_url":"https://api.github.com/repos/pixijs/pixi.js/statuses/825e070363c0844ed9debc36f2bb4ba9adafdb61","head":{"label":"englercj:doc-fixes","ref":"doc-fixes","sha":"825e070363c0844ed9debc36f2bb4ba9adafdb61","user":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"repo":{"id":63008287,"name":"pixi.js","full_name":"englercj/pixi.js","owner":{"login":"englercj","id":944497,"avatar_url":"https://avatars.githubusercontent.com/u/944497?v=3","gravatar_id":"","url":"https://api.github.com/users/englercj","html_url":"https://github.com/englercj","followers_url":"https://api.github.com/users/englercj/followers","following_url":"https://api.github.com/users/englercj/following{/other_user}","gists_url":"https://api.github.com/users/englercj/gists{/gist_id}","starred_url":"https://api.github.com/users/englercj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/englercj/subscriptions","organizations_url":"https://api.github.com/users/englercj/orgs","repos_url":"https://api.github.com/users/englercj/repos","events_url":"https://api.github.com/users/englercj/events{/privacy}","received_events_url":"https://api.github.com/users/englercj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/englercj/pixi.js","description":"Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback","fork":true,"url":"https://api.github.com/repos/englercj/pixi.js","forks_url":"https://api.github.com/repos/englercj/pixi.js/forks","keys_url":"https://api.github.com/repos/englercj/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/englercj/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/englercj/pixi.js/teams","hooks_url":"https://api.github.com/repos/englercj/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/englercj/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/englercj/pixi.js/events","assignees_url":"https://api.github.com/repos/englercj/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/englercj/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/englercj/pixi.js/tags","blobs_url":"https://api.github.com/repos/englercj/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/englercj/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/englercj/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/englercj/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/englercj/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/englercj/pixi.js/languages","stargazers_url":"https://api.github.com/repos/englercj/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/englercj/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/englercj/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/englercj/pixi.js/subscription","commits_url":"https://api.github.com/repos/englercj/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/englercj/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/englercj/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/englercj/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/englercj/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/englercj/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/englercj/pixi.js/merges","archive_url":"https://api.github.com/repos/englercj/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/englercj/pixi.js/downloads","issues_url":"https://api.github.com/repos/englercj/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/englercj/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/englercj/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/englercj/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/englercj/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/englercj/pixi.js/releases{/id}","deployments_url":"https://api.github.com/repos/englercj/pixi.js/deployments","created_at":"2016-07-10T16:38:11Z","updated_at":"2016-07-10T16:38:14Z","pushed_at":"2016-07-10T16:39:21Z","git_url":"git://github.com/englercj/pixi.js.git","ssh_url":"git@github.com:englercj/pixi.js.git","clone_url":"https://github.com/englercj/pixi.js.git","svn_url":"https://github.com/englercj/pixi.js","homepage":null,"size":80994,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"pixijs:dev","ref":"dev","sha":"b4c148d95184ec605bb56d214d0e4a57f4426170","user":{"login":"pixijs","id":5406849,"avatar_url":"https://avatars.githubusercontent.com/u/5406849?v=3","gravatar_id":"","url":"https://api.github.com/users/pixijs","html_url":"https://github.com/pixijs","followers_url":"https://api.github.com/users/pixijs/followers","following_url":"https://api.github.com/users/pixijs/following{/other_user}","gists_url":"https://api.github.com/users/pixijs/gists{/gist_id}","starred_url":"https://api.github.com/users/pixijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixijs/subscriptions","organizations_url":"https://api.github.com/users/pixijs/orgs","repos_url":"https://api.github.com/users/pixijs/repos","events_url":"https://api.github.com/users/pixijs/events{/privacy}","received_events_url":"https://api.github.com/users/pixijs/received_events","type":"Organization","site_admin":false},"repo":{"id":7741856,"name":"pixi.js","full_name":"pixijs/pixi.js","owner":{"login":"pixijs","id":5406849,"avatar_url":"https://avatars.githubusercontent.com/u/5406849?v=3","gravatar_id":"","url":"https://api.github.com/users/pixijs","html_url":"https://github.com/pixijs","followers_url":"https://api.github.com/users/pixijs/followers","following_url":"https://api.github.com/users/pixijs/following{/other_user}","gists_url":"https://api.github.com/users/pixijs/gists{/gist_id}","starred_url":"https://api.github.com/users/pixijs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixijs/subscriptions","organizations_url":"https://api.github.com/users/pixijs/orgs","repos_url":"https://api.github.com/users/pixijs/repos","events_url":"https://api.github.com/users/pixijs/events{/privacy}","received_events_url":"https://api.github.com/users/pixijs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pixijs/pixi.js","description":"Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback","fork":false,"url":"https://api.github.com/repos/pixijs/pixi.js","forks_url":"https://api.github.com/repos/pixijs/pixi.js/forks","keys_url":"https://api.github.com/repos/pixijs/pixi.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pixijs/pixi.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pixijs/pixi.js/teams","hooks_url":"https://api.github.com/repos/pixijs/pixi.js/hooks","issue_events_url":"https://api.github.com/repos/pixijs/pixi.js/issues/events{/number}","events_url":"https://api.github.com/repos/pixijs/pixi.js/events","assignees_url":"https://api.github.com/repos/pixijs/pixi.js/assignees{/user}","branches_url":"https://api.github.com/repos/pixijs/pixi.js/branches{/branch}","tags_url":"https://api.github.com/repos/pixijs/pixi.js/tags","blobs_url":"https://api.github.com/repos/pixijs/pixi.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pixijs/pixi.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pixijs/pixi.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/pixijs/pixi.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pixijs/pixi.js/statuses/{sha}","languages_url":"https://api.github.com/repos/pixijs/pixi.js/languages","stargazers_url":"https://api.github.com/repos/pixijs/pixi.js/stargazers","contributors_url":"https://api.github.com/repos/pixijs/pixi.js/contributors","subscribers_url":"https://api.github.com/repos/pixijs/pixi.js/subscribers","subscription_url":"https://api.github.com/repos/pixijs/pixi.js/subscription","commits_url":"https://api.github.com/repos/pixijs/pixi.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/pixijs/pixi.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/pixijs/pixi.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/pixijs/pixi.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/pixijs/pixi.js/contents/{+path}","compare_url":"https://api.github.com/repos/pixijs/pixi.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pixijs/pixi.js/merges","archive_url":"https://api.github.com/repos/pixijs/pixi.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pixijs/pixi.js/downloads","issues_url":"https://api.github.com/repos/pixijs/pixi.js/issues{/number}","pulls_url":"https://api.github.com/repos/pixijs/pixi.js/pulls{/number}","milestones_url":"https://api.github.com/repos/pixijs/pixi.js/milestones{/number}","notifications_url":"https://api.github.com/repos/pixijs/pixi.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pixijs/pixi.js/labels{/name}","releases_url":"https://api.github.com/repos/pixijs/pixi.js/releases{/id}","deployments_url":"https://api.github.com/repos/pixijs/pixi.js/deployments","created_at":"2013-01-21T22:40:50Z","updated_at":"2016-07-10T14:09:28Z","pushed_at":"2016-07-10T16:40:51Z","git_url":"git://github.com/pixijs/pixi.js.git","ssh_url":"git@github.com:pixijs/pixi.js.git","clone_url":"https://github.com/pixijs/pixi.js.git","svn_url":"https://github.com/pixijs/pixi.js","homepage":null,"size":80994,"stargazers_count":10872,"watchers_count":10872,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2084,"mirror_url":null,"open_issues_count":237,"forks":2084,"open_issues":237,"watchers":10872,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710"},"html":{"href":"https://github.com/pixijs/pixi.js/pull/2710"},"issue":{"href":"https://api.github.com/repos/pixijs/pixi.js/issues/2710"},"comments":{"href":"https://api.github.com/repos/pixijs/pixi.js/issues/2710/comments"},"review_comments":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710/comments"},"review_comment":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pixijs/pixi.js/pulls/2710/commits"},"statuses":{"href":"https://api.github.com/repos/pixijs/pixi.js/statuses/825e070363c0844ed9debc36f2bb4ba9adafdb61"}}}}
{"actor":{"display_login":"englercj"}}