-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1 parent
a0e1c0a
commit 7b71f96
Showing
16 changed files
with
999 additions
and
1,014 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
root = true | ||
|
||
[*.js] | ||
[*] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
end_of_line = lf | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = true | ||
end_of_line = crlf | ||
[*.html] | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
## Documentation in Other Languages | ||
|
||
> [NEED HELP] Let's collaborate to make the documentation and examples even better! | ||
### 日本語 (Japanese) | ||
|
||
For our Japanese readers, please refer to these helpful articles: | ||
|
||
- [Defer.js Documentation (Japanese Translation) by Ataruchi](https://blog.gadgets-geek.net/2023/02/deferjs-doc-japanese.html) | ||
<!-- | ||
20240318: I am temporarily hiding the following URLs because | ||
their websites have advertisements that could potentially deceive users. | ||
- [Article by HeavyPeat](https://www.heavy-peat.com/2022/02/defer.html) | ||
- [Article by Limosuki](https://www.limosuki.com/2022/06/twitter-lazyload-deferjs.html) | ||
--> | ||
|
||
> I would like to express warm gratitude to [@Ataruchi](https://twitter.com/Ataruchi), [@HeavyPeat](https://twitter.com/HeavyPeat), and [Limosuki](https://www.limosuki.com/) for their helpful articles in Japanese. | ||
## Browser Support | ||
|
||
Defer.js is compatible with all modern browsers, including: | ||
- 🖥 IE9+ / Edge <sup>(*)</sup> | ||
- 🖥 Firefox 4+ | ||
- 🖥 Safari 3+ | ||
- 🖥 Chrome | ||
- 🖥 Opera | ||
- 📱 Android 4+ | ||
- 📱 iOS 3.2+ | ||
|
||
<sup>(*) Legacy browsers like Internet Explorer 9 require the `IntersectionObserver` polyfill.</sup> | ||
|
||
## Known Issues | ||
|
||
- [Discussion #122](https://code.shin.company/defer.js/discussions/122): | ||
In iOS Safari, the first `click` event may not work as expected when using `Defer.all()` with the `waitForUserAction` argument set to `true` and one of the deferred scripts makes a DOM change. | ||
|
||
--- | ||
|
||
From Vietnam 🇻🇳 with love. |
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters