{"action":"created","issue":{"url":"https://api.github.com/repos/regularjs/regular/issues/100","repository_url":"https://api.github.com/repos/regularjs/regular","labels_url":"https://api.github.com/repos/regularjs/regular/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/regularjs/regular/issues/100/comments","events_url":"https://api.github.com/repos/regularjs/regular/issues/100/events","html_url":"https://github.com/regularjs/regular/issues/100","id":164222310,"number":100,"title":"指令参数","user":{"login":"leeluolee","id":731333,"avatar_url":"https://avatars.githubusercontent.com/u/731333?v=3","gravatar_id":"","url":"https://api.github.com/users/leeluolee","html_url":"https://github.com/leeluolee","followers_url":"https://api.github.com/users/leeluolee/followers","following_url":"https://api.github.com/users/leeluolee/following{/other_user}","gists_url":"https://api.github.com/users/leeluolee/gists{/gist_id}","starred_url":"https://api.github.com/users/leeluolee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeluolee/subscriptions","organizations_url":"https://api.github.com/users/leeluolee/orgs","repos_url":"https://api.github.com/users/leeluolee/repos","events_url":"https://api.github.com/users/leeluolee/events{/privacy}","received_events_url":"https://api.github.com/users/leeluolee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/regularjs/regular/milestones/6","html_url":"https://github.com/regularjs/regular/milestones/v0.5.0","labels_url":"https://api.github.com/repos/regularjs/regular/milestones/6/labels","id":1790014,"number":6,"title":"v0.5.0","description":"","creator":{"login":"leeluolee","id":731333,"avatar_url":"https://avatars.githubusercontent.com/u/731333?v=3","gravatar_id":"","url":"https://api.github.com/users/leeluolee","html_url":"https://github.com/leeluolee","followers_url":"https://api.github.com/users/leeluolee/followers","following_url":"https://api.github.com/users/leeluolee/following{/other_user}","gists_url":"https://api.github.com/users/leeluolee/gists{/gist_id}","starred_url":"https://api.github.com/users/leeluolee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeluolee/subscriptions","organizations_url":"https://api.github.com/users/leeluolee/orgs","repos_url":"https://api.github.com/users/leeluolee/repos","events_url":"https://api.github.com/users/leeluolee/events{/privacy}","received_events_url":"https://api.github.com/users/leeluolee/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":9,"state":"closed","created_at":"2016-05-26T13:35:53Z","updated_at":"2016-08-26T00:38:22Z","due_on":null,"closed_at":"2016-08-26T00:38:22Z"},"comments":2,"created_at":"2016-07-07T03:32:12Z","updated_at":"2016-09-23T08:49:33Z","closed_at":"2016-08-25T09:47:17Z","body":"提供指令参数功能，以`r-model`为例，比如我们要支持debounce 、delay配置\r\n\r\n对于以下模板\r\n```\r\n<input r-model={formData.username} delay debounce=100 />\r\n```\r\n```js\r\nRegular.directive(\"r-model\", {\r\n  params: ['delay', 'debounce'],\r\n  link: function( elem, value, attrs, extra ){\r\n     var params = extra.params; \r\n     console.log(params.delay) 输出delay\r\n     console.log(params.deounce) 输出 100\r\n  }\r\n})\r\n```\r\n**进入指令参数列表的 属性不再会默认输出在节点上。**"},"comment":{"url":"https://api.github.com/repos/regularjs/regular/issues/comments/249137566","html_url":"https://github.com/regularjs/regular/issues/100#issuecomment-249137566","issue_url":"https://api.github.com/repos/regularjs/regular/issues/100","id":249137566,"user":{"login":"henryzp","id":3849702,"avatar_url":"https://avatars.githubusercontent.com/u/3849702?v=3","gravatar_id":"","url":"https://api.github.com/users/henryzp","html_url":"https://github.com/henryzp","followers_url":"https://api.github.com/users/henryzp/followers","following_url":"https://api.github.com/users/henryzp/following{/other_user}","gists_url":"https://api.github.com/users/henryzp/gists{/gist_id}","starred_url":"https://api.github.com/users/henryzp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henryzp/subscriptions","organizations_url":"https://api.github.com/users/henryzp/orgs","repos_url":"https://api.github.com/users/henryzp/repos","events_url":"https://api.github.com/users/henryzp/events{/privacy}","received_events_url":"https://api.github.com/users/henryzp/received_events","type":"User","site_admin":false},"created_at":"2016-09-23T08:49:33Z","updated_at":"2016-09-23T08:49:33Z","body":"经测试，上面的params改成param就好了。。\r\n\r\n这。。。波神更新一下吧"}}
{"actor":{"display_login":"henryzp"}}