0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-11 14:47:26 -04:00
deno/cli/js
Bartek Iwańczuk 8e9ab9e33e
refactor: decouple Console implementation from stdout (#4899)
When creating a console instance, one must pass "printFunc" arg
which is used internally by Console to output messages.

Due to numerous refactors there was a single method ("console.clear()")
that used "Deno.stdout" instead of "printFunc".

This commit unifies how "Console" outpus message, by using 
"printFunc" in all methods; consequently "Deno.stdout" is no longer
imported in "cli/js/console.ts" making it a standalone module that doesn't
depend on any CLI-specific APIs.
2020-04-27 15:40:47 +02:00
..
compiler
ops
tests
web
buffer.ts
build.ts
colors.ts
compiler.ts
core.ts
deno.ts
diagnostics.ts
diagnostics_util.ts
error_stack.ts
errors.ts
files.ts
globals.ts
internals.ts
io.ts
lib.deno.ns.d.ts
lib.deno.shared_globals.d.ts
lib.deno.window.d.ts
lib.deno.worker.d.ts
main.ts
net.ts
permissions.ts
process.ts
rbtree.ts
read_file.ts
repl.ts
runtime.ts Simplify timer with macrotask callback (#4385) 2020-03-19 10:45:28 -04:00
runtime_main.ts
runtime_worker.ts
signals.ts
symbols.ts
testing.ts
tls.ts
util.ts
version.ts
write_file.ts