Commit b06c23ee authored by Romain Casati's avatar Romain Casati
Browse files

Default implementation for banner().

parent 4ec25867
...@@ -86,11 +86,11 @@ ...@@ -86,11 +86,11 @@
}; };
more (source) { throw new NotImplementedError("more"); }; more (source) { throw new NotImplementedError("more"); };
banner () { throw new NotImplementedError("banner"); };
complete (code) { return []; }; complete (code) { return []; };
banner () { return `Welcome to the ${this.language()} REPL!`; };
/** /**
* Initialize the kernel. * Initialize the kernel.
*/ */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment