diff options
| author | Andy Hayden <andyhayden1@gmail.com> | 2019-01-12 13:50:04 -0800 |
|---|---|---|
| committer | Ryan Dahl <ry@tinyclouds.org> | 2019-01-12 16:50:04 -0500 |
| commit | f626b04ebe320a96a220af29595c6ca84cf9a10a (patch) | |
| tree | ea059a796fed0650060398a8d347ae001d6f621c /examples | |
| parent | 7d6a0f64f20004f89f5e2cbfcf7941f0a8dafd21 (diff) | |
Reorgnanize repos, examples and tests (denoland/deno_std#105)
Original: https://github.com/denoland/deno_std/commit/c5e6e015b5be19027f60c19ca86283d12f9258f3
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/gist.ts | 2 | ||||
| -rw-r--r-- | examples/ws.ts | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/gist.ts b/examples/gist.ts index 7b3d59f87..1baff874a 100755 --- a/examples/gist.ts +++ b/examples/gist.ts @@ -1,7 +1,7 @@ #!/usr/bin/env deno --allow-net --allow-env import { args, env, exit, readFile } from "deno"; -import { parse } from "https://deno.land/x/flags/index.ts"; +import { parse } from "https://deno.land/x/flags/mod.ts"; function pathBase(p: string): string { const parts = p.split("/"); diff --git a/examples/ws.ts b/examples/ws.ts index f8e711c49..bc2a7bd0b 100644 --- a/examples/ws.ts +++ b/examples/ws.ts @@ -1,10 +1,10 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { serve } from "https://deno.land/x/net/http.ts"; +import { serve } from "https://deno.land/x/http/mod.ts"; import { acceptWebSocket, isWebSocketCloseEvent, isWebSocketPingEvent -} from "https://deno.land/x/net/ws.ts"; +} from "https://deno.land/x/ws/mod.ts"; async function main() { console.log("websocket server is running on 0.0.0.0:8080"); |
