{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/1","id":86468020,"html_url":"https://github.com/Coffcer/vue-lazy-component/pull/1","diff_url":"https://github.com/Coffcer/vue-lazy-component/pull/1.diff","patch_url":"https://github.com/Coffcer/vue-lazy-component/pull/1.patch","issue_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues/1","number":1,"state":"open","locked":false,"title":"Add modifiers \"no-animation\"","user":{"login":"danielhe","id":444990,"avatar_url":"https://avatars.githubusercontent.com/u/444990?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhe","html_url":"https://github.com/danielhe","followers_url":"https://api.github.com/users/danielhe/followers","following_url":"https://api.github.com/users/danielhe/following{/other_user}","gists_url":"https://api.github.com/users/danielhe/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhe/subscriptions","organizations_url":"https://api.github.com/users/danielhe/orgs","repos_url":"https://api.github.com/users/danielhe/repos","events_url":"https://api.github.com/users/danielhe/events{/privacy}","received_events_url":"https://api.github.com/users/danielhe/received_events","type":"User","site_admin":false},"body":"我在项目中用了这个directive, 发现一个问题，就是directive作用的组件如果设置transition的话，会触发上面的钩子“如afterEnter”，这在一些情况下并不是我们想要的，看了vue源码后发现实际调用是这个：function multiBefore(target, withTransition)， 他带一个withTransition，所以新增一个no-animation的modifiers以供设置","created_at":"2016-09-23T07:51:46Z","updated_at":"2016-09-23T07:51:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/1/commits","review_comments_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/1/comments","review_comment_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues/1/comments","statuses_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/statuses/07b42ea57b89467853539df8a51bd253b79e3db4","head":{"label":"danielhe:master","ref":"master","sha":"07b42ea57b89467853539df8a51bd253b79e3db4","user":{"login":"danielhe","id":444990,"avatar_url":"https://avatars.githubusercontent.com/u/444990?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhe","html_url":"https://github.com/danielhe","followers_url":"https://api.github.com/users/danielhe/followers","following_url":"https://api.github.com/users/danielhe/following{/other_user}","gists_url":"https://api.github.com/users/danielhe/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhe/subscriptions","organizations_url":"https://api.github.com/users/danielhe/orgs","repos_url":"https://api.github.com/users/danielhe/repos","events_url":"https://api.github.com/users/danielhe/events{/privacy}","received_events_url":"https://api.github.com/users/danielhe/received_events","type":"User","site_admin":false},"repo":{"id":68998587,"name":"vue-lazy-component","full_name":"danielhe/vue-lazy-component","owner":{"login":"danielhe","id":444990,"avatar_url":"https://avatars.githubusercontent.com/u/444990?v=3","gravatar_id":"","url":"https://api.github.com/users/danielhe","html_url":"https://github.com/danielhe","followers_url":"https://api.github.com/users/danielhe/followers","following_url":"https://api.github.com/users/danielhe/following{/other_user}","gists_url":"https://api.github.com/users/danielhe/gists{/gist_id}","starred_url":"https://api.github.com/users/danielhe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielhe/subscriptions","organizations_url":"https://api.github.com/users/danielhe/orgs","repos_url":"https://api.github.com/users/danielhe/repos","events_url":"https://api.github.com/users/danielhe/events{/privacy}","received_events_url":"https://api.github.com/users/danielhe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/danielhe/vue-lazy-component","description":"Vue directive for lazy load components or elements","fork":true,"url":"https://api.github.com/repos/danielhe/vue-lazy-component","forks_url":"https://api.github.com/repos/danielhe/vue-lazy-component/forks","keys_url":"https://api.github.com/repos/danielhe/vue-lazy-component/keys{/key_id}","collaborators_url":"https://api.github.com/repos/danielhe/vue-lazy-component/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/danielhe/vue-lazy-component/teams","hooks_url":"https://api.github.com/repos/danielhe/vue-lazy-component/hooks","issue_events_url":"https://api.github.com/repos/danielhe/vue-lazy-component/issues/events{/number}","events_url":"https://api.github.com/repos/danielhe/vue-lazy-component/events","assignees_url":"https://api.github.com/repos/danielhe/vue-lazy-component/assignees{/user}","branches_url":"https://api.github.com/repos/danielhe/vue-lazy-component/branches{/branch}","tags_url":"https://api.github.com/repos/danielhe/vue-lazy-component/tags","blobs_url":"https://api.github.com/repos/danielhe/vue-lazy-component/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/danielhe/vue-lazy-component/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/danielhe/vue-lazy-component/git/refs{/sha}","trees_url":"https://api.github.com/repos/danielhe/vue-lazy-component/git/trees{/sha}","statuses_url":"https://api.github.com/repos/danielhe/vue-lazy-component/statuses/{sha}","languages_url":"https://api.github.com/repos/danielhe/vue-lazy-component/languages","stargazers_url":"https://api.github.com/repos/danielhe/vue-lazy-component/stargazers","contributors_url":"https://api.github.com/repos/danielhe/vue-lazy-component/contributors","subscribers_url":"https://api.github.com/repos/danielhe/vue-lazy-component/subscribers","subscription_url":"https://api.github.com/repos/danielhe/vue-lazy-component/subscription","commits_url":"https://api.github.com/repos/danielhe/vue-lazy-component/commits{/sha}","git_commits_url":"https://api.github.com/repos/danielhe/vue-lazy-component/git/commits{/sha}","comments_url":"https://api.github.com/repos/danielhe/vue-lazy-component/comments{/number}","issue_comment_url":"https://api.github.com/repos/danielhe/vue-lazy-component/issues/comments{/number}","contents_url":"https://api.github.com/repos/danielhe/vue-lazy-component/contents/{+path}","compare_url":"https://api.github.com/repos/danielhe/vue-lazy-component/compare/{base}...{head}","merges_url":"https://api.github.com/repos/danielhe/vue-lazy-component/merges","archive_url":"https://api.github.com/repos/danielhe/vue-lazy-component/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/danielhe/vue-lazy-component/downloads","issues_url":"https://api.github.com/repos/danielhe/vue-lazy-component/issues{/number}","pulls_url":"https://api.github.com/repos/danielhe/vue-lazy-component/pulls{/number}","milestones_url":"https://api.github.com/repos/danielhe/vue-lazy-component/milestones{/number}","notifications_url":"https://api.github.com/repos/danielhe/vue-lazy-component/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/danielhe/vue-lazy-component/labels{/name}","releases_url":"https://api.github.com/repos/danielhe/vue-lazy-component/releases{/id}","deployments_url":"https://api.github.com/repos/danielhe/vue-lazy-component/deployments","created_at":"2016-09-23T07:04:09Z","updated_at":"2016-09-23T07:04:10Z","pushed_at":"2016-09-23T07:46:15Z","git_url":"git://github.com/danielhe/vue-lazy-component.git","ssh_url":"git@github.com:danielhe/vue-lazy-component.git","clone_url":"https://github.com/danielhe/vue-lazy-component.git","svn_url":"https://github.com/danielhe/vue-lazy-component","homepage":"https://coffcer.github.io/vue-lazy-component/","size":308,"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":"Coffcer:master","ref":"master","sha":"8d861442a95eb7f5d0bd9cf2c4ac85d367136e3d","user":{"login":"Coffcer","id":12846955,"avatar_url":"https://avatars.githubusercontent.com/u/12846955?v=3","gravatar_id":"","url":"https://api.github.com/users/Coffcer","html_url":"https://github.com/Coffcer","followers_url":"https://api.github.com/users/Coffcer/followers","following_url":"https://api.github.com/users/Coffcer/following{/other_user}","gists_url":"https://api.github.com/users/Coffcer/gists{/gist_id}","starred_url":"https://api.github.com/users/Coffcer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coffcer/subscriptions","organizations_url":"https://api.github.com/users/Coffcer/orgs","repos_url":"https://api.github.com/users/Coffcer/repos","events_url":"https://api.github.com/users/Coffcer/events{/privacy}","received_events_url":"https://api.github.com/users/Coffcer/received_events","type":"User","site_admin":false},"repo":{"id":67865483,"name":"vue-lazy-component","full_name":"Coffcer/vue-lazy-component","owner":{"login":"Coffcer","id":12846955,"avatar_url":"https://avatars.githubusercontent.com/u/12846955?v=3","gravatar_id":"","url":"https://api.github.com/users/Coffcer","html_url":"https://github.com/Coffcer","followers_url":"https://api.github.com/users/Coffcer/followers","following_url":"https://api.github.com/users/Coffcer/following{/other_user}","gists_url":"https://api.github.com/users/Coffcer/gists{/gist_id}","starred_url":"https://api.github.com/users/Coffcer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coffcer/subscriptions","organizations_url":"https://api.github.com/users/Coffcer/orgs","repos_url":"https://api.github.com/users/Coffcer/repos","events_url":"https://api.github.com/users/Coffcer/events{/privacy}","received_events_url":"https://api.github.com/users/Coffcer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Coffcer/vue-lazy-component","description":"Vue directive for lazy load components or elements","fork":false,"url":"https://api.github.com/repos/Coffcer/vue-lazy-component","forks_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/forks","keys_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/teams","hooks_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/hooks","issue_events_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues/events{/number}","events_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/events","assignees_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/assignees{/user}","branches_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/branches{/branch}","tags_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/tags","blobs_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/git/refs{/sha}","trees_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/statuses/{sha}","languages_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/languages","stargazers_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/stargazers","contributors_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/contributors","subscribers_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/subscribers","subscription_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/subscription","commits_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/commits{/sha}","git_commits_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/git/commits{/sha}","comments_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/comments{/number}","issue_comment_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues/comments{/number}","contents_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/contents/{+path}","compare_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/merges","archive_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/downloads","issues_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues{/number}","pulls_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls{/number}","milestones_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/milestones{/number}","notifications_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/labels{/name}","releases_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/releases{/id}","deployments_url":"https://api.github.com/repos/Coffcer/vue-lazy-component/deployments","created_at":"2016-09-10T10:41:21Z","updated_at":"2016-09-19T13:45:36Z","pushed_at":"2016-09-23T07:51:46Z","git_url":"git://github.com/Coffcer/vue-lazy-component.git","ssh_url":"git@github.com:Coffcer/vue-lazy-component.git","clone_url":"https://github.com/Coffcer/vue-lazy-component.git","svn_url":"https://github.com/Coffcer/vue-lazy-component","homepage":"https://coffcer.github.io/vue-lazy-component/","size":308,"stargazers_count":13,"watchers_count":13,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":13,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/1"},"html":{"href":"https://github.com/Coffcer/vue-lazy-component/pull/1"},"issue":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues/1"},"comments":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/Coffcer/vue-lazy-component/statuses/07b42ea57b89467853539df8a51bd253b79e3db4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":5,"changed_files":5}}
{"actor":{"display_login":"danielhe"}}