From 9778eceaf5922b1e051859a68b2e02a2f1b1ee8b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 6 Jul 2018 11:27:36 -0400 Subject: Use C++ to do flatbuffer parsing. - Port protobuf messages to flatbuffers. - Demo linking to rust from C++ executable. - Start using the prototype TS libraries. --- js/console.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'js/console.ts') diff --git a/js/console.ts b/js/console.ts index af92c8871..1ec727f14 100644 --- a/js/console.ts +++ b/js/console.ts @@ -1,5 +1,3 @@ -const print = V8Worker2.print; - // tslint:disable-next-line:no-any type ConsoleContext = Set; @@ -102,7 +100,7 @@ function stringifyArgs(args: any[]): string { export class Console { // tslint:disable-next-line:no-any log(...args: any[]): void { - print(stringifyArgs(args)); + deno.print(stringifyArgs(args)); } debug = this.log; @@ -110,7 +108,7 @@ export class Console { // tslint:disable-next-line:no-any warn(...args: any[]): void { - print(`ERROR: ${stringifyArgs(args)}`); + deno.print(`ERROR: ${stringifyArgs(args)}`); } error = this.warn; -- cgit v1.2.3