This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
Custom commands
New commands can be added to the REPL through an initialization file. Go to the about:config URL, find extensions.mozlab.mozrepl.initUrl, and set this value to a local URL (chrome:// or file://). The URL contents will be loaded in the REPL. Example:
First, set extensions.mozlab.mozrepl.initUrl to file://localhost/tmp/custom.js, then Create a /tmp/custom.js file with the following content:
var startedAt = new Date();
function report() {
this.print('I was started at ' + startedAt);
}
Every time you start a REPL, you’ll be able to read a repl.startedAt property and invoke a repl.report() method.






