-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: Add examples of complete application integrating this library
- Loading branch information
Showing
29 changed files
with
11,645 additions
and
0 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,6 +1,7 @@ | ||
.DS_Store | ||
coverage | ||
dist | ||
examples/**/out | ||
node_modules | ||
src/lookup/data*.js | ||
src/index-*.d.ts | ||
|
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
.gitignore | ||
.npmignore | ||
.vscode | ||
examples | ||
perf | ||
rollup.config.js | ||
test | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Time Zone Support Usage Examples | ||
|
||
Buildable JavaScript projects demonstrating how to integrate `timezone-support`. [Rollup.js] builds the project output. | ||
|
||
## [Separate from a Browser Apoplication] | ||
|
||
Demonstrates how to load timezone-support as a separate script in the browser, with either complete or limited time zone data. | ||
|
||
## [Bundled to a Browser Apoplication] | ||
|
||
Demonstrates how to compile timezone-support to your application script bundle and load in the browser, with either complete or limited time zone data. | ||
|
||
## [Used in a Node.js Apoplication] | ||
|
||
Demonstrates how to use timezone-support in a [Node.js] application, with either complete or limited time zone data. | ||
|
||
[Node.js]: https://nodejs.org/ | ||
[Rollup.js]: https://rollupjs.org/ | ||
[Separate from a Browser Apoplication]: ./browser-separate/#readme | ||
[Bundled to a Browser Apoplication]: ./browser-bundled/#readme | ||
[Used in a Node.js Apoplication]: ./nodejs/#readme |
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,10 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@babel/preset-env", | ||
{ | ||
"loose": true | ||
} | ||
] | ||
] | ||
} |
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,9 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
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,7 @@ | ||
# Time Zone Support Bundled to a Browser Apoplication | ||
|
||
Buildable JavaScript projects demonstrating how to integrate `timezone-support`. [Rollup.js] builds the project output. | ||
|
||
Demonstrates how to compile timezone-support to your application script bundle and load in the browser, with either complete or limited time zone data. | ||
|
||
[Rollup.js]: https://rollupjs.org/ |
Oops, something went wrong.