summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/import_export.md5
-rw-r--r--docs/examples/manage_dependencies.md5
-rw-r--r--docs/testing.md2
-rw-r--r--docs/tools/bundler.md2
4 files changed, 4 insertions, 10 deletions
diff --git a/docs/examples/import_export.md b/docs/examples/import_export.md
index f2cd78222..e036f874d 100644
--- a/docs/examples/import_export.md
+++ b/docs/examples/import_export.md
@@ -20,10 +20,7 @@ specified in full. You may not omit the file extension and there is no special
handling of `index.js`.
```js
-import {
- add,
- multiply,
-} from "./arithmetic.ts";
+import { add, multiply } from "./arithmetic.ts";
```
Dependencies are also imported directly, there is no package management
diff --git a/docs/examples/manage_dependencies.md b/docs/examples/manage_dependencies.md
index 44b3082f8..357eccb4b 100644
--- a/docs/examples/manage_dependencies.md
+++ b/docs/examples/manage_dependencies.md
@@ -55,10 +55,7 @@ local `deps.ts` module.
* example.ts
*/
-import {
- add,
- multiply,
-} from "./deps.ts";
+import { add, multiply } from "./deps.ts";
function totalCost(outbound: number, inbound: number, tax: number): number {
return multiply(add(outbound, inbound), tax);
diff --git a/docs/testing.md b/docs/testing.md
index f92f5fadd..fcf6a3c1d 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -32,8 +32,8 @@ https://deno.land/std@$STD_VERSION/testing#usage to make testing easier:
```ts
import {
- assertEquals,
assertArrayContains,
+ assertEquals,
} from "https://deno.land/std@$STD_VERSION/testing/asserts.ts";
Deno.test("hello world", () => {
diff --git a/docs/tools/bundler.md b/docs/tools/bundler.md
index 292adb5f4..e8044facf 100644
--- a/docs/tools/bundler.md
+++ b/docs/tools/bundler.md
@@ -31,7 +31,7 @@ export const bar = "bar";
It could be imported like this:
```ts
-import { foo, bar } from "./lib.bundle.js";
+import { bar, foo } from "./lib.bundle.js";
```
Bundles can also be loaded in the web browser. The bundle is a self-contained ES