Skip to content

Commit

Permalink
Fix problems with using unpkg.com. (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshetline authored Sep 12, 2023
1 parent 336e5f6 commit 8341db4
Show file tree
Hide file tree
Showing 7 changed files with 156 additions and 110 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ For the old-fashioned UMD approach (which can save you from about 560K of extra
<script src="https://unpkg.com/@tubular/time/dist/umd/index.js"></script>
```

_(Or ...`/data/timezone-large.js"`)_

The script element just above the `index.js` URL is an example of _optionally_ loading extended timezone definitions. Such a script element, if used, should precede the `index.js` script.

The **@tubular/time** package will be available via the global variable `tbTime`. `tbTime.ttime` is the default function, and other functions, classes, and constants will also be available on this variable, such as `tbTime.DateTime`, `tbTime.julianDay`, `tbTime.TIME_MS`, etc.
Expand Down
Loading

0 comments on commit 8341db4

Please sign in to comment.