Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

本文の標準アンカーリンクを非同期遷移の対象にする #1

Open
ykob opened this issue Feb 12, 2018 · 1 comment
Open
Assignees

Comments

@ykob
Copy link
Owner

ykob commented Feb 12, 2018

現在は.js-pjax-linkのクラス名を付与したもののみ非同期遷移の対象になるが、
クラスのつけ忘れが発生したり、CMS導入時の本文のリンクが対象から除外されてしまう問題がある。

対象のアンカーリンクのhrefの値がhttpプロトコルを含まないもの、
含んでいたとしてもサイトのドメインと同一のものを非同期遷移の対象とする。

@ykob ykob self-assigned this Feb 12, 2018
@ykob
Copy link
Owner Author

ykob commented Mar 10, 2018

以下のコミットで対応。
8e25d29

href値がドメインを含む場合に、それがページのドメインと同一かどうかの判定は未対応。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant