2018-06-11 21:54:55 -04:00
|
|
|
/// <reference path="deno.d.ts" />
|
2018-06-11 23:16:41 -04:00
|
|
|
//import { main as pb } from "./msg.pb"
|
2018-06-11 21:54:55 -04:00
|
|
|
import * as ts from "typescript";
|
|
|
|
|
2018-06-09 18:32:04 -04:00
|
|
|
const globalEval = eval;
|
|
|
|
const window = globalEval("this");
|
2018-06-11 16:29:34 -04:00
|
|
|
window["denoMain"] = () => {
|
2018-06-11 21:54:55 -04:00
|
|
|
//const msg = pb.Msg.fromObject({});
|
|
|
|
//denoPrint(`msg.command: ${msg.command}`);
|
|
|
|
denoPrint(`ts.version: ${ts.version}`);
|
2018-06-11 16:41:43 -04:00
|
|
|
denoPrint("Hello world from foo");
|
2018-06-09 18:32:04 -04:00
|
|
|
return "foo";
|
2018-06-11 15:32:06 -04:00
|
|
|
};
|