Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
falsandtru committed Sep 7, 2023
1 parent 2757dd5 commit d733fda
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ Most SPA frameworks and pjax libraries lack many essential functions to keep the

|Feature|defunkt|Turbolinks|falsandtru|Barba|
|:------|:-----:|:--------:|:--------:|:---:|
|**Concurrent sequence integration**| | || |
|Shadow DOM support| | || |
|**SPA mode (Use JSON instead of HTML)**| | || |
|*Multiple area update*| ||| |
|Fallback area matching| | || |
|Shadow DOM support| | || |
|Content type verification| ||| |
|*HEAD contents markless auto sync*| | || |
|*CSS markless auto sync*| | || |
Expand All @@ -37,6 +37,7 @@ Most SPA frameworks and pjax libraries lack many essential functions to keep the
|**Subresource integrity verification**| | |✓<sup>\*1</sup>| |
|**Rewrite request and response (XHR)**| | || |
|Rewrite source document| ||| |
|Concurrent sequence integration| | || |
|ETag support| | || |
|Cache|||||
|URL scope| | |||
Expand Down
4 changes: 3 additions & 1 deletion gh-pages/docs/apis/util/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ class: style-api style-api-detail

## FakeXMLHttpRequest

Make a fake XHR object that doesn't send a request.
### .create(url: string, response: Document | PromiseLike\<Document>): FakeXMLHttpRequest

Create a fake XHR object that doesn't send a request.

```ts
import Pjax, { FakeXMLHttpRequest } from 'pjax-api';
Expand Down
2 changes: 1 addition & 1 deletion gh-pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class: style-top
- Scroll position restoration
- Unexpected scroll prevention
- Scroll behaviors around hash links
- Concurrent sequence integration
- [**SPA mode (Use JSON instead of HTML)**]({{ site.basepath }}docs/apis/util/)
- [More](https://github.com/falsandtru/pjax-api#features)
</div>

Expand Down

0 comments on commit d733fda

Please sign in to comment.