From 7784cc2c1537a23b8b8ffa634b1a9b1ddf88886a Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 12 Jun 2018 06:36:01 +0200 Subject: Fix protobufjs snapshotting. --- deno2/js/main.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'deno2/js/main.ts') diff --git a/deno2/js/main.ts b/deno2/js/main.ts index f9d69f22f..301482ea6 100644 --- a/deno2/js/main.ts +++ b/deno2/js/main.ts @@ -1,12 +1,13 @@ /// -//import { main as pb } from "./msg.pb" +import { main as pb } from "./msg.pb"; import * as ts from "typescript"; const globalEval = eval; const window = globalEval("this"); window["denoMain"] = () => { - //const msg = pb.Msg.fromObject({}); - //denoPrint(`msg.command: ${msg.command}`); + denoPrint("Hello world"); + const msg = pb.Msg.fromObject({}); + denoPrint(`msg.command: ${msg.command}`); denoPrint(`ts.version: ${ts.version}`); denoPrint("Hello world from foo"); return "foo"; -- cgit v1.2.3