Skip to content

Commit

Permalink
Add LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed May 29, 2018
1 parent 833137b commit 7762b55
Show file tree
Hide file tree
Showing 28 changed files with 76 additions and 0 deletions.
20 changes: 20 additions & 0 deletions LICENSE.txt
@@ -0,0 +1,20 @@
Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
All rights reserved. MIT License.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
of the Software, and to permit persons to whom the Software is furnished to do
so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 2 additions & 0 deletions deno.d.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
declare module "deno" {
type MessageCallback = (msg: Uint8Array) => void;
function sub(channel: string, cb: MessageCallback): void;
Expand Down
2 changes: 2 additions & 0 deletions deno_dir.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions deno_dir_test.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions dispatch.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions dispatch.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { typedArrayToArrayBuffer } from "./util";
import { _global } from "./globals";
import { main as pb } from "./msg.pb";
Expand Down
2 changes: 2 additions & 0 deletions echo.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

// For testing
Expand Down
2 changes: 2 additions & 0 deletions fetch.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions fetch.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { assert, log, createResolvable, Resolvable } from "./util";
import * as util from "./util";
import * as dispatch from "./dispatch";
Expand Down
2 changes: 2 additions & 0 deletions globals.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import * as timer from "./timers";

// If you use the eval function indirectly, by invoking it via a reference
Expand Down
2 changes: 2 additions & 0 deletions integration_test.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions main.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions main.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// This allows us to have async/await in our code. It must be loaded first.
import "babel-polyfill";

Expand Down
2 changes: 2 additions & 0 deletions msg.proto
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
syntax = "proto3";
package main;

Expand Down
2 changes: 2 additions & 0 deletions os.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions os.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { ModuleInfo } from "./types";
import { sendMsg } from "./dispatch";
import { main as pb } from "./msg.pb";
Expand Down
2 changes: 2 additions & 0 deletions os_test.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions runtime.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// Glossary
// outputCode = generated javascript code
// sourceCode = typescript code (or input javascript code)
Expand Down
2 changes: 2 additions & 0 deletions tests.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// This test is executed as part of integration_test.go
// But it can also be run manually:
// ./deno tests.ts
Expand Down
2 changes: 2 additions & 0 deletions text-encoding.d.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// Type definitions for text-encoding
// Project: https://github.com/inexorabletash/text-encoding
// Definitions by: MIZUNE Pine <https://github.com/pine613>
Expand Down
2 changes: 2 additions & 0 deletions timers.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions timers.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { main as pb } from "./msg.pb";
import * as dispatch from "./dispatch";
import { assert } from "./util";
Expand Down
2 changes: 2 additions & 0 deletions types.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
export type TypedArray = Uint8Array | Float32Array | Int32Array;

export interface ModuleInfo {
Expand Down
2 changes: 2 additions & 0 deletions url.js
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/
* Forked from https://github.com/github/url-polyfill
Expand Down
2 changes: 2 additions & 0 deletions util.go
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
package main

import (
Expand Down
2 changes: 2 additions & 0 deletions util.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
import { debug } from "./main";
import { TypedArray } from "./types";

Expand Down
4 changes: 4 additions & 0 deletions v8_source_maps.ts
@@ -1,3 +1,7 @@
// Copyright 2014 Evan Wallace
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
// Originated from source-map-support but has been heavily modified for deno.
import { SourceMapConsumer, MappedPosition } from "source-map";
import * as base64 from "base64-js";

Expand Down
2 changes: 2 additions & 0 deletions v8worker2.d.ts
@@ -1,3 +1,5 @@
// Copyright 2018 Ryan Dahl <ry@tinyclouds.org>
// All rights reserved. MIT License.
declare namespace V8Worker2 {
function print(...args: any[]): void;
type RecvCallback = (ab: ArrayBuffer) => void;
Expand Down

0 comments on commit 7762b55

Please sign in to comment.