Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
Also, update doc to use jsdelivr instead of denopkg.
  • Loading branch information
motss committed Nov 1, 2019
1 parent 1175863 commit 9469c2b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion deep_clone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

```ts
/** Import from GH via `denopkg` */
import { deepClone } from "https://denopkg.com/motss/deno_mod@v0.7.1/deep_clone/mod.ts";
import { deepClone } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.0/deep_clone/mod.ts";

(async () => {
const simpleObject = {
Expand Down
10 changes: 5 additions & 5 deletions delay_until/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
## Table of contents <!-- omit in toc -->

- [Usage](#Usage)
- [API Reference](#API-Reference)
- [delayUntil([delay])](#delayUntildelay)
- [License](#License)
- [Usage](#usage)
- [API Reference](#api-reference)
- [delayUntil([delay])](#delayuntildelay)
- [License](#license)

## Usage

```ts
/** Import from GH via `denopkg` */
import { delayUntil } from "https://denopkg.com/motss/deno_mod@v0.7.1/delay_until/mod.ts";
import { delayUntil } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.0/delay_until/mod.ts";

(async () => {
await delayUntil(3e3);
Expand Down
4 changes: 2 additions & 2 deletions jsmodern/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@

```ts
// It is recommended to only import those extensions you need instead of everything.
import { extend } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.7.1/jsmodern/extend.ts";
import { sum } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.7.1/jsmodern/array.ts";
import { extend } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.8.0/jsmodern/extend.ts";
import { sum } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.8.0/jsmodern/array.ts";

extend({ array: [sum] });

Expand Down
4 changes: 2 additions & 2 deletions lit_ntml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#### html()

```ts
import { html } from "https://denopkg.com/motss/deno_mod@v0.7.1/lit_ntml/mod.ts";
import { html } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.0/lit_ntml/mod.ts";

const peopleList = ["Cash Black", "Vict Fisherman"];
const syncTask = () => `<h1>Hello, World!</h1>`;
Expand All @@ -40,7 +40,7 @@ await html`${syncTask}${asyncLiteral}${asyncListTask}`; /** <!DOCTYPE html><html
#### htmlFragment()

```ts
import { htmlFragment as html } from "https://denopkg.com/motss/deno_mod@v0.7.1/lit_ntml/mod.ts";
import { htmlFragment as html } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.0/lit_ntml/mod.ts";

const syncTask = () => `<h1>Hello, World!</h1>`;
const externalStyleLiteral = `<style>body { margin: 0; padding: 0; box-sizing: border-box; }</style>`;
Expand Down
2 changes: 1 addition & 1 deletion normalize_diacritics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

```ts
/** Import from GH via `denopkg` */
import { normalize } from "https://denopkg.com/motss/deno_mod@v0.7.1/normalize_diacritics/mod.ts";
import { normalize } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.0/normalize_diacritics/mod.ts";

(async () => {
const str = "söme stüff with áccènts";
Expand Down
2 changes: 1 addition & 1 deletion polling_observer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface DataType {
items: Record<string, any>[];
}

import { PollingObserver } from "https://denopkg.com/motss/deno_mod@v0.7.1/polling_observer/mod.ts";
import { PollingObserver } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.0/polling_observer/mod.ts";

const obs = new PollingObserver((data /** list, observer */) => {
const { status, items } = data || {};
Expand Down

0 comments on commit 9469c2b

Please sign in to comment.