{"action":"created","issue":{"url":"https://api.github.com/repos/andyjansson/postcss-functions/issues/2","labels_url":"https://api.github.com/repos/andyjansson/postcss-functions/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/andyjansson/postcss-functions/issues/2/comments","events_url":"https://api.github.com/repos/andyjansson/postcss-functions/issues/2/events","html_url":"https://github.com/andyjansson/postcss-functions/issues/2","id":110526991,"number":2,"title":"Add example that uses arguments/parameters","user":{"login":"MadLittleMods","id":558581,"avatar_url":"https://avatars.githubusercontent.com/u/558581?v=3","gravatar_id":"","url":"https://api.github.com/users/MadLittleMods","html_url":"https://github.com/MadLittleMods","followers_url":"https://api.github.com/users/MadLittleMods/followers","following_url":"https://api.github.com/users/MadLittleMods/following{/other_user}","gists_url":"https://api.github.com/users/MadLittleMods/gists{/gist_id}","starred_url":"https://api.github.com/users/MadLittleMods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadLittleMods/subscriptions","organizations_url":"https://api.github.com/users/MadLittleMods/orgs","repos_url":"https://api.github.com/users/MadLittleMods/repos","events_url":"https://api.github.com/users/MadLittleMods/events{/privacy}","received_events_url":"https://api.github.com/users/MadLittleMods/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-10-08T19:41:29Z","updated_at":"2015-11-06T13:15:31Z","closed_at":null,"body":"Add example that uses arguments/parameters to readme.\r\n\r\n```js\r\nfunctions({\r\n\tfunctions: {\r\n\t\t'string-repeat': function(str, numTimesRepeat) {\r\n\t\t\treturn str.repeat(parseInt(numTimesRepeat, 10));\r\n\t\t}\r\n\t}\r\n})\r\n```"},"comment":{"url":"https://api.github.com/repos/andyjansson/postcss-functions/issues/comments/154406377","html_url":"https://github.com/andyjansson/postcss-functions/issues/2#issuecomment-154406377","issue_url":"https://api.github.com/repos/andyjansson/postcss-functions/issues/2","id":154406377,"user":{"login":"MadLittleMods","id":558581,"avatar_url":"https://avatars.githubusercontent.com/u/558581?v=3","gravatar_id":"","url":"https://api.github.com/users/MadLittleMods","html_url":"https://github.com/MadLittleMods","followers_url":"https://api.github.com/users/MadLittleMods/followers","following_url":"https://api.github.com/users/MadLittleMods/following{/other_user}","gists_url":"https://api.github.com/users/MadLittleMods/gists{/gist_id}","starred_url":"https://api.github.com/users/MadLittleMods/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MadLittleMods/subscriptions","organizations_url":"https://api.github.com/users/MadLittleMods/orgs","repos_url":"https://api.github.com/users/MadLittleMods/repos","events_url":"https://api.github.com/users/MadLittleMods/events{/privacy}","received_events_url":"https://api.github.com/users/MadLittleMods/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T13:15:31Z","updated_at":"2015-11-06T13:15:31Z","body":"@andyjansson It is fine, was just wondering if the suggestion to users to use `postcss-color-function` might be better but I understand the syntax is not as nice."}}