{"action":"created","comment":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/comments/30042222","id":30042222,"diff_hunk":"@@ -0,0 +1,69 @@\n+var AutoPrefix = require('./auto-prefix');\n+\n+var createdAnimations = {};\n+\n+function createSheet(){\n+\n+\tvar styleElement = document.createElement(\"style\");\n+\tdocument.head.appendChild(styleElement);\n+\tvar sheet = styleElement.sheet;\n+\n+\treturn sheet;\n+}\n+\n+function addRule(sheet, selector){\n+\tvar size = (sheet.cssRules || sheet.rules).length;\n+\tif(\"insertRule\" in sheet) {\n+\t\tsheet.insertRule(selector + \" { }\", size);\n+\t}\n+\telse if(\"appendRule\" in sheet){\n+\t\tsheet.appendRule(selector + \" { }\");\n+\t}\n+\telse if(\"addRule\" in sheet) {\n+\t\tsheet.addRule(selector, \" {} \", size);\n+\t}\n+}\n+ \n+function setStyles(rule, obj){\n+\tfor(var prop in obj){\n+\t\trule.style[prop] = obj[prop];\n+\t}\n+}\n+\n+module.exports = {\n+\n+\t create: function (name, frames){\n+\n+\t \tif(name in createdAnimations){\n+\t \t\treturn name;\n+\t \t}\n+\t \t\n+\t \tcreatedAnimations[name] = true;\n+\n+\t\tvar sheet = createSheet();\n+\t\t \n+\t\tvar keyframeTags = [ \"@keyframes \", \"@-webkit-keyframes \"];","path":"src/styles/animations.js","position":45,"original_position":45,"commit_id":"dce0e2922f08d2be09ad170acee44940a7e09550","original_commit_id":"dce0e2922f08d2be09ad170acee44940a7e09550","user":{"login":"castrolol","id":2396226,"avatar_url":"https://avatars.githubusercontent.com/u/2396226?v=3","gravatar_id":"","url":"https://api.github.com/users/castrolol","html_url":"https://github.com/castrolol","followers_url":"https://api.github.com/users/castrolol/followers","following_url":"https://api.github.com/users/castrolol/following{/other_user}","gists_url":"https://api.github.com/users/castrolol/gists{/gist_id}","starred_url":"https://api.github.com/users/castrolol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castrolol/subscriptions","organizations_url":"https://api.github.com/users/castrolol/orgs","repos_url":"https://api.github.com/users/castrolol/repos","events_url":"https://api.github.com/users/castrolol/events{/privacy}","received_events_url":"https://api.github.com/users/castrolol/received_events","type":"User","site_admin":false},"body":"I tried using the auto-prefixer but part of creating the rules believe he will not put the prefix in keyframes, any ideas?","created_at":"2015-05-11T14:22:30Z","updated_at":"2015-05-11T14:22:30Z","html_url":"https://github.com/callemall/material-ui/pull/632#discussion_r30042222","pull_request_url":"https://api.github.com/repos/callemall/material-ui/pulls/632","_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments/30042222"},"html":{"href":"https://github.com/callemall/material-ui/pull/632#discussion_r30042222"},"pull_request":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/632"}}},"pull_request":{"url":"https://api.github.com/repos/callemall/material-ui/pulls/632","id":35103003,"html_url":"https://github.com/callemall/material-ui/pull/632","diff_url":"https://github.com/callemall/material-ui/pull/632.diff","patch_url":"https://github.com/callemall/material-ui/pull/632.patch","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/632","number":632,"state":"open","locked":false,"title":"Add Progress Indicators","user":{"login":"castrolol","id":2396226,"avatar_url":"https://avatars.githubusercontent.com/u/2396226?v=3","gravatar_id":"","url":"https://api.github.com/users/castrolol","html_url":"https://github.com/castrolol","followers_url":"https://api.github.com/users/castrolol/followers","following_url":"https://api.github.com/users/castrolol/following{/other_user}","gists_url":"https://api.github.com/users/castrolol/gists{/gist_id}","starred_url":"https://api.github.com/users/castrolol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castrolol/subscriptions","organizations_url":"https://api.github.com/users/castrolol/orgs","repos_url":"https://api.github.com/users/castrolol/repos","events_url":"https://api.github.com/users/castrolol/events{/privacy}","received_events_url":"https://api.github.com/users/castrolol/received_events","type":"User","site_admin":false},"body":"Added Progress Indicators:\r\n  * Linear Progress\r\n  * Circular Progress\r\n\r\nAll with determinate and indeterminate mode.\r\n\r\nIssue #592 ","created_at":"2015-05-11T07:21:55Z","updated_at":"2015-05-11T14:22:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f6cefee6f6d2b31d3fee25b1010220be72e7b28","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/callemall/material-ui/pulls/632/commits","review_comments_url":"https://api.github.com/repos/callemall/material-ui/pulls/632/comments","review_comment_url":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/632/comments","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/dce0e2922f08d2be09ad170acee44940a7e09550","head":{"label":"castrolol:master","ref":"master","sha":"dce0e2922f08d2be09ad170acee44940a7e09550","user":{"login":"castrolol","id":2396226,"avatar_url":"https://avatars.githubusercontent.com/u/2396226?v=3","gravatar_id":"","url":"https://api.github.com/users/castrolol","html_url":"https://github.com/castrolol","followers_url":"https://api.github.com/users/castrolol/followers","following_url":"https://api.github.com/users/castrolol/following{/other_user}","gists_url":"https://api.github.com/users/castrolol/gists{/gist_id}","starred_url":"https://api.github.com/users/castrolol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castrolol/subscriptions","organizations_url":"https://api.github.com/users/castrolol/orgs","repos_url":"https://api.github.com/users/castrolol/repos","events_url":"https://api.github.com/users/castrolol/events{/privacy}","received_events_url":"https://api.github.com/users/castrolol/received_events","type":"User","site_admin":false},"repo":{"id":35384105,"name":"material-ui","full_name":"castrolol/material-ui","owner":{"login":"castrolol","id":2396226,"avatar_url":"https://avatars.githubusercontent.com/u/2396226?v=3","gravatar_id":"","url":"https://api.github.com/users/castrolol","html_url":"https://github.com/castrolol","followers_url":"https://api.github.com/users/castrolol/followers","following_url":"https://api.github.com/users/castrolol/following{/other_user}","gists_url":"https://api.github.com/users/castrolol/gists{/gist_id}","starred_url":"https://api.github.com/users/castrolol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/castrolol/subscriptions","organizations_url":"https://api.github.com/users/castrolol/orgs","repos_url":"https://api.github.com/users/castrolol/repos","events_url":"https://api.github.com/users/castrolol/events{/privacy}","received_events_url":"https://api.github.com/users/castrolol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/castrolol/material-ui","description":"A CSS Framework and a Set of React Components that Implement Google's Material Design.","fork":true,"url":"https://api.github.com/repos/castrolol/material-ui","forks_url":"https://api.github.com/repos/castrolol/material-ui/forks","keys_url":"https://api.github.com/repos/castrolol/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/castrolol/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/castrolol/material-ui/teams","hooks_url":"https://api.github.com/repos/castrolol/material-ui/hooks","issue_events_url":"https://api.github.com/repos/castrolol/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/castrolol/material-ui/events","assignees_url":"https://api.github.com/repos/castrolol/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/castrolol/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/castrolol/material-ui/tags","blobs_url":"https://api.github.com/repos/castrolol/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/castrolol/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/castrolol/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/castrolol/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/castrolol/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/castrolol/material-ui/languages","stargazers_url":"https://api.github.com/repos/castrolol/material-ui/stargazers","contributors_url":"https://api.github.com/repos/castrolol/material-ui/contributors","subscribers_url":"https://api.github.com/repos/castrolol/material-ui/subscribers","subscription_url":"https://api.github.com/repos/castrolol/material-ui/subscription","commits_url":"https://api.github.com/repos/castrolol/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/castrolol/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/castrolol/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/castrolol/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/castrolol/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/castrolol/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/castrolol/material-ui/merges","archive_url":"https://api.github.com/repos/castrolol/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/castrolol/material-ui/downloads","issues_url":"https://api.github.com/repos/castrolol/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/castrolol/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/castrolol/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/castrolol/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/castrolol/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/castrolol/material-ui/releases{/id}","created_at":"2015-05-10T19:08:02Z","updated_at":"2015-05-10T19:08:03Z","pushed_at":"2015-05-11T07:18:07Z","git_url":"git://github.com/castrolol/material-ui.git","ssh_url":"git@github.com:castrolol/material-ui.git","clone_url":"https://github.com/castrolol/material-ui.git","svn_url":"https://github.com/castrolol/material-ui","homepage":"http://material-ui.com","size":26451,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"callemall:master","ref":"master","sha":"7a829478cc6e91cbdf9ad38660f5427440d97463","user":{"login":"callemall","id":1262264,"avatar_url":"https://avatars.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"repo":{"id":23083156,"name":"material-ui","full_name":"callemall/material-ui","owner":{"login":"callemall","id":1262264,"avatar_url":"https://avatars.githubusercontent.com/u/1262264?v=3","gravatar_id":"","url":"https://api.github.com/users/callemall","html_url":"https://github.com/callemall","followers_url":"https://api.github.com/users/callemall/followers","following_url":"https://api.github.com/users/callemall/following{/other_user}","gists_url":"https://api.github.com/users/callemall/gists{/gist_id}","starred_url":"https://api.github.com/users/callemall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callemall/subscriptions","organizations_url":"https://api.github.com/users/callemall/orgs","repos_url":"https://api.github.com/users/callemall/repos","events_url":"https://api.github.com/users/callemall/events{/privacy}","received_events_url":"https://api.github.com/users/callemall/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/callemall/material-ui","description":"A CSS Framework and a Set of React Components that Implement Google's Material Design.","fork":false,"url":"https://api.github.com/repos/callemall/material-ui","forks_url":"https://api.github.com/repos/callemall/material-ui/forks","keys_url":"https://api.github.com/repos/callemall/material-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/callemall/material-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/callemall/material-ui/teams","hooks_url":"https://api.github.com/repos/callemall/material-ui/hooks","issue_events_url":"https://api.github.com/repos/callemall/material-ui/issues/events{/number}","events_url":"https://api.github.com/repos/callemall/material-ui/events","assignees_url":"https://api.github.com/repos/callemall/material-ui/assignees{/user}","branches_url":"https://api.github.com/repos/callemall/material-ui/branches{/branch}","tags_url":"https://api.github.com/repos/callemall/material-ui/tags","blobs_url":"https://api.github.com/repos/callemall/material-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/callemall/material-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/callemall/material-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/callemall/material-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/callemall/material-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/callemall/material-ui/languages","stargazers_url":"https://api.github.com/repos/callemall/material-ui/stargazers","contributors_url":"https://api.github.com/repos/callemall/material-ui/contributors","subscribers_url":"https://api.github.com/repos/callemall/material-ui/subscribers","subscription_url":"https://api.github.com/repos/callemall/material-ui/subscription","commits_url":"https://api.github.com/repos/callemall/material-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/callemall/material-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/callemall/material-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/callemall/material-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/callemall/material-ui/contents/{+path}","compare_url":"https://api.github.com/repos/callemall/material-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/callemall/material-ui/merges","archive_url":"https://api.github.com/repos/callemall/material-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/callemall/material-ui/downloads","issues_url":"https://api.github.com/repos/callemall/material-ui/issues{/number}","pulls_url":"https://api.github.com/repos/callemall/material-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/callemall/material-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/callemall/material-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/callemall/material-ui/labels{/name}","releases_url":"https://api.github.com/repos/callemall/material-ui/releases{/id}","created_at":"2014-08-18T19:11:54Z","updated_at":"2015-05-11T11:43:12Z","pushed_at":"2015-05-11T12:54:13Z","git_url":"git://github.com/callemall/material-ui.git","ssh_url":"git@github.com:callemall/material-ui.git","clone_url":"https://github.com/callemall/material-ui.git","svn_url":"https://github.com/callemall/material-ui","homepage":"http://material-ui.com","size":26451,"stargazers_count":7783,"watchers_count":7783,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":917,"mirror_url":null,"open_issues_count":148,"forks":917,"open_issues":148,"watchers":7783,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/632"},"html":{"href":"https://github.com/callemall/material-ui/pull/632"},"issue":{"href":"https://api.github.com/repos/callemall/material-ui/issues/632"},"comments":{"href":"https://api.github.com/repos/callemall/material-ui/issues/632/comments"},"review_comments":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/632/comments"},"review_comment":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/callemall/material-ui/pulls/632/commits"},"statuses":{"href":"https://api.github.com/repos/callemall/material-ui/statuses/dce0e2922f08d2be09ad170acee44940a7e09550"}}}}