diff options
Diffstat (limited to 'js')
-rw-r--r-- | js/console.ts | 2 | ||||
-rw-r--r-- | js/console_test.ts | 1 | ||||
-rw-r--r-- | js/copy_file_test.ts | 1 | ||||
-rw-r--r-- | js/deno.ts | 1 | ||||
-rw-r--r-- | js/dir_test.ts | 1 | ||||
-rw-r--r-- | js/errors.ts | 1 | ||||
-rw-r--r-- | js/files.ts | 1 | ||||
-rw-r--r-- | js/files_test.ts | 1 | ||||
-rw-r--r-- | js/flatbuffers.ts | 1 | ||||
-rw-r--r-- | js/global_eval.ts | 2 | ||||
-rw-r--r-- | js/globals.ts | 1 | ||||
-rw-r--r-- | js/libdeno.ts | 1 | ||||
-rw-r--r-- | js/mock_builtin.js | 1 | ||||
-rw-r--r-- | js/net.ts | 1 | ||||
-rw-r--r-- | js/net_test.ts | 1 | ||||
-rw-r--r-- | js/platform.ts | 2 | ||||
-rw-r--r-- | js/plugins.d.ts | 2 | ||||
-rw-r--r-- | js/promise_util.ts | 1 | ||||
-rw-r--r-- | js/trace_test.ts | 1 | ||||
-rw-r--r-- | js/unit_tests.ts | 1 |
20 files changed, 17 insertions, 7 deletions
diff --git a/js/console.ts b/js/console.ts index d43605152..6e0b2e7a6 100644 --- a/js/console.ts +++ b/js/console.ts @@ -1,3 +1,5 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. + // tslint:disable-next-line:no-any type ConsoleContext = Set<any>; type ConsoleOptions = Partial<{ diff --git a/js/console_test.ts b/js/console_test.ts index 045d79e47..3a50b08d4 100644 --- a/js/console_test.ts +++ b/js/console_test.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import { test, assert, assertEqual } from "./test_util.ts"; import { stringifyArgs } from "./console.ts"; diff --git a/js/copy_file_test.ts b/js/copy_file_test.ts index 05f0a6f71..807fbb9d0 100644 --- a/js/copy_file_test.ts +++ b/js/copy_file_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. import { testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/deno.ts b/js/deno.ts index 565d4a7e6..7409a67f2 100644 --- a/js/deno.ts +++ b/js/deno.ts @@ -1,4 +1,5 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. + // Public deno module. /// <amd-module name="deno"/> export { env, exit } from "./os"; diff --git a/js/dir_test.ts b/js/dir_test.ts index ff55a0e69..ca9548827 100644 --- a/js/dir_test.ts +++ b/js/dir_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. import { test, testPerm, assert, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/errors.ts b/js/errors.ts index 2614c90c5..e4494520d 100644 --- a/js/errors.ts +++ b/js/errors.ts @@ -1,3 +1,4 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. import { Base, ErrorKind } from "gen/msg_generated"; export { ErrorKind } from "gen/msg_generated"; diff --git a/js/files.ts b/js/files.ts index 33918302c..23fa8cc2d 100644 --- a/js/files.ts +++ b/js/files.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import { Reader, Writer, Closer, ReadResult } from "./io"; import * as dispatch from "./dispatch"; import * as msg from "gen/msg_generated"; diff --git a/js/files_test.ts b/js/files_test.ts index 835e06c84..9759e0b26 100644 --- a/js/files_test.ts +++ b/js/files_test.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import * as deno from "deno"; import { test, assert, assertEqual } from "./test_util.ts"; diff --git a/js/flatbuffers.ts b/js/flatbuffers.ts index 1ceb87951..bfb71f9d1 100644 --- a/js/flatbuffers.ts +++ b/js/flatbuffers.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import { flatbuffers } from "flatbuffers"; import * as util from "./util"; diff --git a/js/global_eval.ts b/js/global_eval.ts index 719b6791d..b7c928190 100644 --- a/js/global_eval.ts +++ b/js/global_eval.ts @@ -1,3 +1,5 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. + /** If you use the eval function indirectly, by invoking it via a reference * other than eval, as of ECMAScript 5 it works in the global scope rather than * the local scope. This means, for instance, that function declarations create diff --git a/js/globals.ts b/js/globals.ts index 11a172633..a67524f96 100644 --- a/js/globals.ts +++ b/js/globals.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import * as blob from "./blob"; import * as console from "./console"; import * as fetch_ from "./fetch"; diff --git a/js/libdeno.ts b/js/libdeno.ts index 842b0c8ad..623bfeea2 100644 --- a/js/libdeno.ts +++ b/js/libdeno.ts @@ -1,3 +1,4 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. import { RawSourceMap } from "./types"; import { globalEval } from "./global_eval"; diff --git a/js/mock_builtin.js b/js/mock_builtin.js index f237ddf58..3171ec18d 100644 --- a/js/mock_builtin.js +++ b/js/mock_builtin.js @@ -1 +1,2 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. export default undefined; @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import { ReadResult, Reader, Writer, Closer } from "./io"; import * as msg from "gen/msg_generated"; import { assert, notImplemented } from "./util"; diff --git a/js/net_test.ts b/js/net_test.ts index 6a1bdcd48..999cea9b6 100644 --- a/js/net_test.ts +++ b/js/net_test.ts @@ -1,5 +1,4 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. - import * as deno from "deno"; import { testPerm, assert, assertEqual } from "./test_util.ts"; import { deferred } from "./util.ts"; diff --git a/js/platform.ts b/js/platform.ts index 5d1b77695..a27241e08 100644 --- a/js/platform.ts +++ b/js/platform.ts @@ -1,3 +1,5 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. + // Do not add unsupported platforms. export interface Platform { /** The operating system CPU architecture. */ diff --git a/js/plugins.d.ts b/js/plugins.d.ts index d1dae3885..e421bb5de 100644 --- a/js/plugins.d.ts +++ b/js/plugins.d.ts @@ -1,3 +1,5 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. + // This allows TypeScript to resolve any modules that end with `!string` // as there is a rollup plugin that will take any mids ending with `!string` // and return them as a string to rollup for inlining diff --git a/js/promise_util.ts b/js/promise_util.ts index a550bc388..1b9c2ab24 100644 --- a/js/promise_util.ts +++ b/js/promise_util.ts @@ -1,3 +1,4 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. import { PromiseRejectEvent } from "./libdeno"; /* tslint:disable-next-line:no-any */ diff --git a/js/trace_test.ts b/js/trace_test.ts index f0c0afc13..bbfc9f23c 100644 --- a/js/trace_test.ts +++ b/js/trace_test.ts @@ -1,3 +1,4 @@ +// Copyright 2018 the Deno authors. All rights reserved. MIT license. import { testPerm, assertEqual } from "./test_util.ts"; import * as deno from "deno"; diff --git a/js/unit_tests.ts b/js/unit_tests.ts index 9af603dfc..2f1a41f62 100644 --- a/js/unit_tests.ts +++ b/js/unit_tests.ts @@ -1,4 +1,5 @@ // Copyright 2018 the Deno authors. All rights reserved. MIT license. + // This test is executed as part of tools/test.py // But it can also be run manually: ./out/debug/deno js/unit_tests.ts import "./compiler_test.ts"; |