Skip to content

Commit

Permalink
0.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Mar 31, 2020
1 parent 1e53118 commit b7521eb
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 21 deletions.
4 changes: 2 additions & 2 deletions deep_clone/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@

- [Usage](#usage)
- [API Reference](#api-reference)
- [deepClone<T>(target[, options])](#deepclonelttgttarget-options)
- [deepClone<T>(target[, options])](#deepclonettarget-options)
- [deepCloneSync(target[, options])](#deepclonesynctarget-options)
- [License](#license)

## Usage

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

(async () => {
const simpleObject = {
Expand Down
2 changes: 1 addition & 1 deletion delay_until/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

```ts
/** Import from GH via `denopkg` */
import { delayUntil } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.1/delay_until/mod.ts";
import { delayUntil } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.9.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.8.1/jsmodern/extend.ts";
import { sum } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.8.1/jsmodern/array.ts";
import { extend } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.9.0/jsmodern/extend.ts";
import { sum } from "https://cdn.jsdelivr.net/gh/motss/deno_mod@v0.9.0/jsmodern/array.ts";

extend({ array: [sum] });

Expand Down
16 changes: 8 additions & 8 deletions lit_ntml/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,20 +12,20 @@
## Table of contents <!-- omit in toc -->

- [Usage](#Usage)
- [html()](#html)
- [htmlFragment()](#htmlFragment)
- [API Reference](#API-Reference)
- [Usage](#usage)
- [html()](#html)
- [htmlFragment()](#htmlfragment)
- [API Reference](#api-reference)
- [html()](#html-1)
- [htmlFragment()](#htmlFragment-1)
- [License](#License)
- [htmlFragment()](#htmlfragment-1)
- [License](#license)

## Usage

#### html()

```ts
import { html } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.1/lit_ntml/mod.ts";
import { html } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.9.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://cdn.jsdelivr.net/motss/deno_mod@v0.8.1/lit_ntml/mod.ts";
import { htmlFragment as html } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.9.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
10 changes: 5 additions & 5 deletions normalize_diacritics/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@
## Table of contents <!-- omit in toc -->

- [Usage](#Usage)
- [API Reference](#API-Reference)
- [Usage](#usage)
- [API Reference](#api-reference)
- [normalize([input])](#normalizeinput)
- [normalizeSync([input])](#normalizeSyncinput)
- [License](#License)
- [normalizeSync([input])](#normalizesyncinput)
- [License](#license)

## Usage

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

(async () => {
const str = "söme stüff with áccènts";
Expand Down
6 changes: 3 additions & 3 deletions polling_observer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@

- [Usage](#usage)
- [API Reference](#api-reference)
- [OnfinishFulfilled&lt;T&gt;](#onfinishfulfilledlttgt)
- [OnfinishFulfilled&lt;T&gt;](#onfinishfulfilledt)
- [OnfinishRejected](#onfinishrejected)
- [PollingMeasure](#pollingmeasure)
- [Methods](#methods)
- [PollingMeasure.toJSON()](#pollingmeasuretojson)
- [PollingObserver&lt;T&gt;](#pollingobserverlttgt)
- [PollingObserver&lt;T&gt;](#pollingobservert)
- [Methods](#methods-1)
- [PollingObserver.observe(callback[, options])](#pollingobserverobservecallback-options)
- [PollingObserver.disconnect()](#pollingobserverdisconnect)
Expand All @@ -38,7 +38,7 @@ interface DataType {
items: Record<string, any>[];
}

import { PollingObserver } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.8.1/polling_observer/mod.ts";
import { PollingObserver } from "https://cdn.jsdelivr.net/motss/deno_mod@v0.9.0/polling_observer/mod.ts";

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

0 comments on commit b7521eb

Please sign in to comment.